Question

Java software is not working in ms xp OS service pack 2. What are the problem that would change my OS to allow working of java ?

Was it helpful?

Solution

From your question there is plenty of possible answers.

First: You have to download and install JDK (or at least JRE) in order to run jar files. Download and entire installation process is described here.

EDIT 1: Regarding to your questions in comments I am edited this answer.

Okay sir Bosko Mijin, thanks for your kind help.. how to check java is working?? and should i change my OS to win 7? please give suggestions.

You should to check is JDK installed on your machine. Fastest way is that you run following commands (noted below) in command promt to check version and compiler. Checking Java version: java -version Checking Java compiler: javac -version If there is installed JVM (attention: not Microsoft JVM) then you have to check environment variables and ensure that JAVA_HOME variable is set and it is in you PATH also.

You can do check this with following command: echo %JAVA_HOME%

If you have installed Microsoft JVM, I suggest to change OS (easier way, but clean) because Microsoft JVM supports Java up to v1.1 (it is very very old!). Harder way is that you get old versions of JVM and try to install them to your XP, but there is questionable are that packages 'young enough'.

FYI: Win7 have no such problems with JVM.

If you have Microsoft JVM, it would be great that you read this link. It will help you to decide what next.

Regarding to OS, I am not good person for this type questions because I like Unix/Linux systems (I am using them for long time ago) and I am afraid that my answer regarding this part will be very 'primary opinion based'.

Anyway, I wish you to solve this quickly. Best luck.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top