Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java SDK 1.4.2_07 Install On Windows98SE and PATH Variable

843804Mar 2 2005 — edited Mar 4 2005
I've recently dowloaded and installed the JAVA SKD 1.4.2_07 with NetBeans 4.0 bundle. onto my Windows98SE system. Everything installed fine, but my problem is with setting the PATH variable. I've tried several different methods for setting the Path in the autoexec.bat file. I've tried the instructions outlined in the documentation by running sysedit and then modifying the autoexec.bat file, I've tried using the DOS command to edit the file, and even used Window's -> Program Files -> Accessories -> System Tools -> Tools-> System Configuration utility. My primary problem is that whenever I reboot or run the c:\autoexec.bat, I see an error that says "Too many parameters". Furthermore when I run the 'path' statement from the DOS prompt, the added variable is not there.

My current autoexec.bat file has only one line in the path, so I even tried removing this line and putting only the path for the JDK into the autoexec.bat.. Whenever I run the Javac to compile my source code, I get a 'bad command or filename' warning. However, If I move the .java source file to the j2sdk1.4.2_07\bin directory and run Javac it will compile.

Can anyone assist me with this problem.? I've read several posts where people are having problems compiling their .Java files on a Windows platform, but can compile them on other platforms.

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 1 2005
Added on Mar 2 2005
3 comments
125 views