environment variables - Java classpath, class not found -
I'm trying to be able to do homework on my computer for Java classes. I think an old JDK is installed and I have created a .bat for my environment variable set up, I can do a simple "HelloWord" example, but now when I try to create a simple example where I have a file output stream I did not get the class on my file-output stream. Is this because my classpath is not set up, or because IO package can not be found? Thank you.
Edit:
Here is my work directory structure: C: \ dmd \ jdk1.3.1 within jdk1.3.1 - & gt; I have free bin (my files) in my bin folder, I have this. BAT file: @howo set tools_home = c: \ dmd set java_home =% TOOLS_HOME% \ jdk1.3.1 SET path =% JAVA_HOME% \ bin;% path% SET CLASSPATH =.;
both - this iso package because not doing your search Could not set the classpath correctly, do you have JAVA_HOME set correctly?
Comments
Post a Comment