Wednesday, August 22, 2007

Re: [completeJava] Re: How to make java Executable?

Hi Thirupathi,
 
No, I have only jdk1.5.0_07 (no other version) and even i didn't install any oracle software on my system. And the classpath is set correctly, but stil it is failing.
 
I tried out with jdk1.4.2_08, but this time on my friend's PC. It is working fine. Please help me out, what could be the problem? I tried out all the options suggested by Naveen, santosh and you. But stil it is failing. Huh!!!
 
Thnks,
Jahangir
"b.thirupathi" <thirupathi_reddy_82@yahoo.com> wrote:
hi jahangir,
>   
>   Yeah Im able to run the sent JAR file. But im confused why iam
not able to run my JAR file? . Iam using java 1.5 and when i tried
out with java 1.4 on other system, im able to run it.
>
Once you checkout path on you machine. path might be set to a lower
version of JDK
. If the classes are compiled using JDK1.5 and if you try
to run the jar file using jdk less than jdk1.5 (ex:1.4 or 1.2) then it
will not undestrand the class format.
So once you try and checkout the path on you machine and you remove
path to all other jdk and jre except jdk1.5 which you are using.
Note: Many cases path will be set to jdk1.2 or jdk1.1.X when install
oracle on your machine.
Regards,
Thirupathi B.


Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.

__._,_.___
SPONSORED LINKS
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Yahoo! Groups

Your one stop

for beauty & fashion

tips and advice.

Fitness Zone

on Yahoo! Groups

Find Groups all

about healthy living.

.

__,_._,___

No comments: