Everything you have there is correct, and it works on my machine (Bjarne is incorrect about the java_app_classpath statement - all my apps are set up that way and work fine). Check which java compiler you are using - by default Creo uses JRE 6, if you are using JDK 7 it will not work (unless you tell Creo to use JRE 7 through config.pro options). Also be sure if you have your CLASSPATH variable set to point to the pfc.jar file that it is the one in the Creo 2 installation, and not from a previous version.
In Reply to Brian York:
I am trying to get a simple Jlink app working for Creo parametric 2.0 and I am failing miserably.
No matter what I seem to try I still can't get the app to load in Creo 2.0. I don't know if it is my Jlink program or my machine.
Here are my files. Any help would be appreciated.