File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes setting environment variables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "setting environment variables" Watch "setting environment variables" New topic
Author

setting environment variables

Bron Czimes
Ranch Hand

Joined: May 09, 2004
Posts: 44
Hi there,

I'm having trouble setting my JAVA_HOME variable.
I've tried editing the autoexec.bat file (with set JAVA_HOME=C:\j2sdk1.4.0_02).
I've tried adding user variables and system variables under the environment variables tab in Control Panel/System/Advanced.

I'm using Netbeans 3.6 and when I try to start the Tomcat server it says that the JAVA_HOME variable isn't defined.

Is there something I'm doing wrong? Am I missing anything?

Thanks for your help.
Bron Czimes
Ranch Hand

Joined: May 09, 2004
Posts: 44
oops, i should really read other posts before i post, hey.
I found my answer, thanks for reading anyway
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
1. Java Installation
http://java.sun.com/j2se/1.4.2/install.html

2. Netbean 3.6 Installation
http://www.netbeans.info/downloads/download.php



This will help you.


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
 
GeeCON Prague 2014
 
subject: setting environment variables