no compile with jdk1.4.0

I used to compile and run with jdk1.3 and had no problems in compiling any kind of programs, but since I updated java to jdk1.4, I can't even compile the HelloWorld program on MSDOS. It launches this: "COMMAND OR INVALID FILE NAME"..I did everything on path and setpath as I used to do it with 1.3. I saved the file like this" HelloWorld.java" and already checked the class name in the programa and is ok!!!

My path is like this: C:\jdk1.4\bin

And the classpath like this: SET CLASSPATH=C:\.; ( just like with jdk1.3 and programs compiled and ran well).

Can somebody help me,please?..

I also uninstalled and installed again jdk1.4 but it does not work neither!!!

[704 byte] By [ivonne2] at [2007-9-26 20:46:47]
# 1

I don't what's going on with version 1.4.0 but something's wrong..If you have problems with compiling programs with 1.4, forget about it and come back to install version 1.3.. I've seen in many posts that many people had the same problems like me and any of the solutions about setting path was the right one. I tried everything and the only right solution was reinstall version 1.3

ivonne2 at 2007-7-3 19:35:01 > top of Java-index,Developer Tools,Java Compiler...
# 2
Try this .....Your path should be : C:\jdk1.4.0\bin
java_NY at 2007-7-3 19:35:01 > top of Java-index,Developer Tools,Java Compiler...
# 3

>My path is like this: C:\jdk1.4\bin

Make sure your path is set to the bin directory of the java directory where you installed the J2SDK. For example, mine is c:\j2sdk1.4.0_01\bin

In previous versions, the directory was c:\jdk1.x. I have 1.4 on a Windows XP pc and I experienced no problems with the installation (around last March/April).

atmguy at 2007-7-3 19:35:01 > top of Java-index,Developer Tools,Java Compiler...
# 4
I've set my path to C:\j2sdk1.4.0_01\bin , but I can't compile a class that reference other classes that are in seperate .java files. I installed 1.4 around 9/1/2002.
timliddell at 2007-7-3 19:35:01 > top of Java-index,Developer Tools,Java Compiler...
# 5

You need to set your classpath:

The CLASSPATH is a set of pointers that is used by Java to find the files that you create and want compiled and/or run. This setting is explained here:

Setting the Classpath:

http://java.sun.com/j2se/1.4/docs/tooldocs/windows/classpath.html

[NOTE: always start your classpath with ".;" which means the current directory. See my classpath, below]

How Classes are Found:

http://java.sun.com/j2se/1.4/docs/tooldocs/findingclasses.html

--

Examples:

This is my classpath

CLASSPATH=.;C:\mjava;C:\mnrx;C:\NetRexx\lib\NetRexxC.jar;C:\j2sdk1.4.0_1\lib\tools.jar;C:\NetRexx\NrxRedBk

ChuckBing at 2007-7-3 19:35:01 > top of Java-index,Developer Tools,Java Compiler...