Hi, I am preparing for SCJP.I have java installed on my pc (Win NT operating system).I never bothered to chk version until I started preparing for SCJP.(I am appearing for JAVA 2). The real problem is, when i type java -version at dos promt, it gives the output "java version 1.1.6". But I can see jdk1.2.2 in window explorer plus, when i go to control panel / add-remove program...I can see Java2 SDK standard Edition v1.2.2 isn't 1.1.6 and 1.2.2 r different.I am not able to run JQPlus also.. And download from Sun is getting cancelled in between. I need Java2 ( i guess , that is jdk 1.2.2) ..how do i rectify my problem... Please guide me Thanx
the java -version gives you the version of the JVM.. i guess the u have installed all the jdk 1.2.2 package properly.. the things u have to do afterwards are.. 1. set the correct classpath pointing to the jar file in the jdk1.2.2 2. set the correct path. the problem that u are facing might be because u had version 1.1.6 installed before 1.2.2 so now the older paths ( that of 1.1.6) are retained. so your programs are still compiled using older verion... my advice would be to remove completely the directory associated with 1.1.6 ..and set new required paths.. see if it works.. kaustubh.
Kaustubh. Mumbai, India.
Get meta with me! What pursues us is our own obsessions! But not this tiny ad: