Windows 98 and Jdk

In this year at the faculty we study Java ....

Home I have a computer with Windows 98 and when I want to compile with Ultra pro and Jdk any kind of file.java the answer is bad comand or file name....

Someone tell me...it's because the windows 98 accept only 3 letters in extension...

I think that need to be something to do for this case....so if somebody knows what can I do...just help me...Thanks

[425 byte] By [Carbyta] at [2007-11-27 4:48:25]
# 1

> Someone tell me...it's because the windows 98 accept only 3 letters in extension.

no its not true.

Your problem can be get solved if you add your java folder path in to the PATH environment variable.

You can edit the the environment setting by clicking left mouse button on MY Comuter logo. after that click on properties--> Advace tab-->Environmnet Varibles(button) and edit the system property path.

append your <insatlled java folde>/bin path to PATH.

is it working now?

shinde_yogesha at 2007-7-12 10:01:18 > top of Java-index,Java Essentials,Training...
# 2

please set the path to fix your problem. The procedure is given below..

Microsoft Windows 98 -

To set the PATH permanently, open the AUTOEXEC.BAT file and add or change the PATH statement as follows:

Start the system editor. Choose "Start", "Run" and enter sysedit, then click OK. The system editor starts up with several windows showing. Go to the window that is displaying AUTOEXEC.BAT

Look for the PATH statement. (If you don't have one, add one.) If you're not sure where to add the path, add it to the right end of the PATH. For example, in the following PATH statement, we have added the bin directory at the right end:

PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\J2SDK1.4.2_<version>\BIN

Capitalization doesn't matter. The PATH can be a series of directories separated by semi-colons (;). Microsoft Windows searches for programs in the PATH directories in order, from left to right. You should only have one bin directory for a Java SDK in the path at a time (those following the first are ignored), so if one is already present, you can update it to j2sdk1.4.2_<version>.

To make the path take effect in the current Command Prompt window, execute the following:

C:> c:\autoexec.bat

To find out the current value of your PATH, to see if it took effect, at the command prompt, type:

C:> path

Microsoft Windows ME -

To set the PATH permanently:

From the start menu, choose programs, accessories, system tools, and system information. This brings up a window titled "Microsoft Help and Support". From here, choose the tools menu, then select the system configuration utility. Click the environment tab, select PATH and press the edit button. Now add the SDK to your path as described in step b above. After you've added the location of the SDK to your PATH, save the changes and reboot your machine when prompted.

sujikina at 2007-7-12 10:01:18 > top of Java-index,Java Essentials,Training...