• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jdk1.2.2 is not running on windows x.p

 
ritika kapoor
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sir,
i have installeed jdk1.2.2 on windows x.p and when i start compiling any programme or even entered javac it displays message that java.exe has encountered the problem . kindly tell me that which version of java is comapatible to x.p and why this problem occurs and if there is any solution to this kindly get me to my notice
 
Julian Kennedy
Ranch Hand
Posts: 823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ritika,

Welcome to JavaRanch!

Are you sure that the version you have is for Windows and not for Unix or some other operating system (e.g. you clicked the wrong link by mistake when downloading)? Don't suppose it would have even installed if that we the case though.

Is there any reason why you've chosen to use JDK 1.2.2 rather than the latest production version (1.4.2)?

I've had 1.3 and 1.4 on my XP box but never 1.2 'cos it's ancient.

If you could give a little more idea of the exact error you're getting then perhaps I could offer further help.

Jules
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On unix, there is not such a thing as 'javac.exe'. Must be another problem.
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What may be happening is that the MS JVM is being called (after all, it's in the winnt/system32 directory) while the registry settings are pointing to the 1.2.2 installation.
replace java*.* in your windows and windows/system32 with the equivalents from the 1.2.2 installation folder and try again (and set the bin bin directory under your 1.2.2 installation as part of your system path as well for good measure).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic