JLink Samples Installation Problem
JLink Samples Installation Problem
(OP)
I'm having trouble running the JLink samples.
I'm running wildfire 2.0 on windows xp pro.
I've run the following command at the c: prompt
set classpath=.;C:\Program Files\proeWildfire 2.0\text\java\pfc.jar;%classpath%
without any messages
When I try to run javac *.java from the samples folder it tells me that javac is not recognised as an internal or external command.
When I try to run C:\Program Files\Java\jdk1.5.0_03\bin\javac *.java i get the message 'c:\program' is not recognised as an internal or external command.
When I go to the jdk1.5.0_03\bin folder and run javac c:\program files\proewildfire 2.0\jlink\jlink_appls\install_test\*.java I get the message 'invalid flag: C:program '.
What is going on?
Why won't it work?
I'm running wildfire 2.0 on windows xp pro.
I've run the following command at the c: prompt
set classpath=.;C:\Program Files\proeWildfire 2.0\text\java\pfc.jar;%classpath%
without any messages
When I try to run javac *.java from the samples folder it tells me that javac is not recognised as an internal or external command.
When I try to run C:\Program Files\Java\jdk1.5.0_03\bin\javac *.java i get the message 'c:\program' is not recognised as an internal or external command.
When I go to the jdk1.5.0_03\bin folder and run javac c:\program files\proewildfire 2.0\jlink\jlink_appls\install_test\*.java I get the message 'invalid flag: C:program '.
What is going on?
Why won't it work?





RE: JLink Samples Installation Problem
From the sounds of it, J-Link thinks the location string ends with the space.
I managed to make the demos work at our old office, and all of our Pro/E Installations were in folders like the one I stated above. We never really got into our own J-Link customization due to time constraints, though.
RE: JLink Samples Installation Problem
I believe you also need to set a CLASSPATH environment variable that points it to the Java Runtime Environment as well. Unfortunately I don't have any documentation any more so I am strictly going on memory.
RE: JLink Samples Installation Problem
The java files have now compiled but I still get an 'Installation failed' message?
RE: JLink Samples Installation Problem
RE: JLink Samples Installation Problem
Does anyone know how I check to see if I have a licence to run JLink?
RE: JLink Samples Installation Problem
RE: JLink Samples Installation Problem
1. Right click on your project and click properties.
2. Click the 'Libraries' category.
3. Click the 'Add JAR/Folder'.
4. Browse to the pfc.jar (c:\ptc\pro\text\java\pfc.jar) and add it.
5. Rebuild and the pfcSession should be defined.