Java SDK 1.4.2_07 Install On Windows98SE and PATH Variable
843804Mar 2 2005 — edited Mar 4 2005I'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.