All,
I have just reinstalled Java on my machine because I found I had 2 versions of Java !! Anyways, I have set up the environmental variables PATH and CLASSPATH to C:\Program Files\Java\jdk1.6.0_21\bin
. I have written a simple Java file in C:\Temp
folder
package myPackage;
public class myClass
{
public static void main(String[] args)
{
System.out.println("Test");
}
}
Should compiling this file not create a folder myPackage
within which the class file myClass
would reside?
My basic query is that my own packages are not creating the folder structure that should be created. I guess there is a problem with the Enviromental variables, but I am not sure