File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Storm Applied this week in the Other Open Source APIs forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "setting environment variables" Watch "setting environment variables" New topic

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

2. Netbean 3.6 Installation

This will help you.

Java Developer, Thailand
I agree. Here's the link:
subject: setting environment variables