Skip to main content
Participant
February 14, 2007
Question

How to change JAVA HOME path?

  • February 14, 2007
  • 3 replies
  • 1270 views
I'm installed and deployed ColdFusion MX 7.0.2 on WebSphere 5.1.

Current JAVA HOME is "C:\Program Files\WebSphere\AppServer\java\jre".

I want to change "C:\j2sdk1.4.2_12".

how to?
This topic has been closed for replies.

3 replies

Inspiring
February 14, 2007
Then you need to set value for the CLASSPATH variable pointing to your WebSphere directory
February 15, 2007
This is setup in your WAS 5.1 server, since CFMX is running on top of Websphere. Open your WAS admin. Go to environment in the left navigation panel. Once the variables appear in your right pane you will see JAVA_HOME mid way down the panel. Update it there. You will probably need to restart WAS to have it take effect.
geumockAuthor
Participant
February 14, 2007
Thanks for reply..

but, JAVA_HOME of My Computer is already "C:\j2sdk1.4.2_12".

any other or hotw to websphere setting?
Inspiring
February 14, 2007
Right click on the My Computer icon on your desktop and select properties

Click the Advanced Tab

Click the Environment Variables button

Under System Variable, click New

Enter the variable name as JAVA_HOME

Enter the variable value as "C:\j2sdk1.4.2_12"

Click OK

Click Apply Changes