Hi,
Im using j2sdk1.4.2_04 in WinXP.
this is my simple class for
testing this new version since before I used j2sdk1.4.0;
Ive installed this new version after uninstalling the 1.4.0 completly and after restarting my comp as well.
this works fine whin I compile and run it in j2sdk1.4.2/bin dir
but its not working but only compiling when I put it in any other place,say just in C drive.
I went through the web for get a solution but failed.
it may be somthing wrong with my paths but still I couldnt findout.
here are my environment variables.(system variables)
==========================================================
JAVA_HOME
C:\j2sdk1.4.2
path %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;%JAVA_HOME%\bin;%CATALINA_HOME%\bin
CLASSPATH%CATALINA_HOME%\common\lib\servlet.jar;JAVA_HOME\bin
================ sample program =========================================
import java.io.*;
public class Test1
{
public static void main(
String arr[])
{
System.out.println("This is a test");
}
}
=========================================================
I couldnt find anything wrong with these things.
Pls help me on this.
thanks in advance for any comments.
best regs,
Jil.