• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Heeellp Urgent ......please

 
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Get meta with me! What pursues us is our own obsessions! But not this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic