It is currently Wed Feb 26, 2020 6:09 pm

 Page 1 of 1 [ 1 post ] 
Author Message
 Post subject: Setting the JAVA_HOME Environment Variable in Windows
PostPosted: Fri Dec 12, 2008 12:17 am 
Support Staff

Joined: Fri Nov 01, 2002 4:06 am
Posts: 43
The ChatBlazer server and admin client requires the Java 1.5 Java Runtime Environment JRE (or Java Development Kit, JDK) to be installed in the system. You can also use Java 1.6.

The launchers that come with the server, cb8svr.exe, and the admin, cb8admin.exe are usually able to locate the system's installed JRE / JDK. However, you may need to set the JAVA_HOME environment variable in cases when you are using the startsvr.bat and stopsvr.bat files or setting up the ChatBlazer server as a Windows Service.

Stage 1. Locate the JDK Installation Directory
If you already know the installation path for the JRE / JDK, go to Stage 2 below. Otherwise, find the installation path by following these instructions:
  1. Unless you changed the installation path for the JRE / JDK during installation, it will be in a directory under C:\Program Files\Java. Using Explorer, open the directory C:\Program Files\Java.
  2. Inside that path will be one or more subdirectories such as jdk1.5.0_08. If you have just installed the Java Development Kit, it will be installed to the newest directory, which you can find by sorting by date. For example, it may be installed in C:\Program Files\Java\jdk1.5.0_08. This is the installation path.
Stage 2. Set the JAVA_HOME Variable
Once you have identified the JRE / JDK installation path:
  1. Right-click the My Computer icon on your desktop and select 'Properties'.
  2. Click the 'Advanced' tab.
  3. Click the 'Environment Variables' button.
  4. Under 'System Variables', click 'New'.
  5. Enter the variable name as JAVA_HOME.
  6. Enter the variable value as the installation path for the JRE / JDK.
  7. Click 'OK'.
  8. Click 'Apply Changes'.

The diagram below shows setting the JAVA_HOME variable to an installation path of C:\j2sdk1.4.2. (Ignore the version as need Java 1.5 and above for ChatBlazer 8.)


ChatBlazer Support
Display posts from previous:  Sort by  
 Page 1 of 1 [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: