File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes jdk1.2.2 is not running on windows x.p Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "jdk1.2.2 is not running on windows x.p" Watch "jdk1.2.2 is not running on windows x.p" New topic

jdk1.2.2 is not running on windows x.p

ritika kapoor

Joined: Aug 15, 2004
Posts: 1
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

Joined: Aug 02, 2004
Posts: 823
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.

Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

On unix, there is not such a thing as 'javac.exe'. Must be another problem.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
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).

I agree. Here's the link:
subject: jdk1.2.2 is not running on windows x.p
It's not a secret anymore!