Expand my Community achievements bar.

JDK Path failure pre install ES preview

Avatar

Former Community Member
Have now downloaded and installed the JDK (jdk-1_5_0_12-windows-i586-p) on my WinXP SP2 test machine (2gbRAM - to be specific I'm using a VirtualPC running XP)



Installed the JDK and noted that, contrary to the JDK notes, did not get "Java Web Start icon on your desktop" or "Java Web Start in the Start -> Programs menu."

Still, the Java control panel is in the Windows CP.



Went to set the JAVA_HOME variable as described in the LC ES Preview notes.



Entered exactly as described - C:\Program Files\Java\jdk1.5.0_12



But when I went to a CMD window and entered: %JAVA_HOME%\bin\java -version



the result looks like some kind of syntax error:



C:\Documents and Settings\Administrator>%JAVA_HOME%\bin\java -version

'C:\Program' is not recognized as an internal or external command,

operable program or batch file.



OK SOLUTION FOUND - Entering JAVA_HOME variable as: "C:\Program Files\Java\jdk1.5.0_12" then rebooting seems to work.



NB - when adding PATH variable, the Adobe instructions vary slightly from the Sun ones (no 'bin') - so I added both !

C:\Program Files\Java\jdk1.5.0_12\bin;C:\Program Files\Java\jdk1.5.0_12\bin
4 Replies

Avatar

Level 10
So are you good to go?

I'm not sure if you're asking for help or just wanted to communicate your experience installing LC ES.



Let us know how it goes.



Jasmin

Avatar

Former Community Member
Sorry Jasmin, it started out as a request for help, but then it turned into an experience communication :o)



I have another install query, but shall post that separately

Avatar

Former Community Member
Hi Anne/Jasmin,



this is one of those things where we had it right in the documentation up until the last moment and then someone changed it...



The earlier documentation said to do the following because using " in the environment var is not correct.



It should read

"

Note: To verify your JAVA home environment, open a command prompt and run the following command:

cd %JAVA_HOME%\bin

java -version

"

this gets around the long path name/spaces issue.



Sorry, I will get a bug logged on it..



C.



_______________________________________

Chris de Groot

Senior Product Manager

Avatar

Former Community Member
Thanks for the explanation Chris, that's life.



Have already had a 'play' with the Preview - great to have it as a resource - and hope to spend time over the next few weeks discovering more.