pouli
asked on
1.1.8 error Strange error
Hello,
The default java version at my system is 1.4.0_01 but I have 1.1.8 version as well.
I am developing a project that needs 1.1.8 compiler.
When I compiling and running the project with the 1.4 everything are fine,
but when I am trying to compile them with 1.1.8 I take for all the classes the same error message:
Public class x.x.x.ClassName must be defined in a file called "ClassName.java"
Well, of course I have them in the right file name itherwise it wouldn't comile with the 1.4 compiler.
I am thinking that probably I have somthing wrong with the enviromental variables.
I reset the classpath and put the path equals to the jdk1.1.8\bin
Any ideas ?
The default java version at my system is 1.4.0_01 but I have 1.1.8 version as well.
I am developing a project that needs 1.1.8 compiler.
When I compiling and running the project with the 1.4 everything are fine,
but when I am trying to compile them with 1.1.8 I take for all the classes the same error message:
Public class x.x.x.ClassName must be defined in a file called "ClassName.java"
Well, of course I have them in the right file name itherwise it wouldn't comile with the 1.4 compiler.
I am thinking that probably I have somthing wrong with the enviromental variables.
I reset the classpath and put the path equals to the jdk1.1.8\bin
Any ideas ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Well that's what it's designed to do :-) The reason the other stuff *didn't* work is probably to do with paths and boring stuff like that!
ASKER
Why is that ?