-
Setting Java path in Windows2000
Hello everyone,
I had to install Java copiler JSDK 1.3.1 on my computer that has
Windows professional 2000, but I don't really know where to set the
path for it to be able to compile and run my programs.
In Windows 98,Me I used to set the path in autoexec.bat fiel, but it's not
the case here!!
I'll be more than glad to get your help.
-
Re: Setting Java path in Windows2000
"Alimar" <java.@127.0.0.1> wrote in message news:3cd02cb0$1@10.1.10.29...
>
> Hello everyone,
>
> I had to install Java copiler JSDK 1.3.1 on my computer that has
> Windows professional 2000, but I don't really know where to set the
> path for it to be able to compile and run my programs.
> In Windows 98,Me I used to set the path in autoexec.bat fiel, but it's not
> the case here!!
> I'll be more than glad to get your help.
Control Panel -> System -> Advanced -> Environment Variables
"Path" is listed under "System Variables"
--
Colin McGuigan
-
Re: Setting Java path in Windows2000
If you use the installer to install the JDK instead of just copying files,
values in the registry are used to determine which java.exe to use. Trust
me, I found out the hard way. You can play with the path all you want.
I have more than one JDK installed. I installed 1.4 and my IDE stopped working.
I looked at the path and guess what? None of my jdks or jres are in the
'PATH'. I had to reinstall 1.3.1.
The best thing to do: Fully define the path to the Javac.exe and Java.exe
(you can use parameters), set the path for anything additional and set the
classpath in a batch file or in the IDE, if you use one. Don't depend on
Windows to do anything right. The registry and environmental variables are
a big pain and cause more grief than help.
"Colin McGuigan" <cmcguigan@imany.com> wrote:
>
>"Alimar" <java.@127.0.0.1> wrote in message news:3cd02cb0$1@10.1.10.29...
>>
>> Hello everyone,
>>
>> I had to install Java copiler JSDK 1.3.1 on my computer that has
>> Windows professional 2000, but I don't really know where to set the
>> path for it to be able to compile and run my programs.
>> In Windows 98,Me I used to set the path in autoexec.bat fiel, but it's
not
>> the case here!!
>> I'll be more than glad to get your help.
>
>Control Panel -> System -> Advanced -> Environment Variables
>
>"Path" is listed under "System Variables"
>
>--
>Colin McGuigan
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks