Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Strange Jar File Error message

Reply
Thread Tools

Strange Jar File Error message

 
 
David
Guest
Posts: n/a
 
      08-13-2006
Hello there,

I Made a small Application in Netbeans recently, compiled it and went to
fun the jar file through command line and I get this message, Can anyone
help me find the issue?

Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.5', but '1.3' is required.
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.
Press any key to continue . . .

I can't see why on earth that the jar file would want the 1.3 version,
because I've never installed that version, and my computer has only just
been recently reformated, the oldest version of the JRE on my Comp is
1.5.0_05.

Any help, most appreciated

Cheers.
 
Reply With Quote
 
 
 
 
=?ISO-8859-1?Q?Arne_Vajh=F8j?=
Guest
Posts: n/a
 
      08-13-2006
David wrote:
> Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
> has value '1.5', but '1.3' is required.
> Error: could not find java.dll
> Error: could not find Java 2 Runtime Environment.
> Press any key to continue . . .
>
> I can't see why on earth that the jar file would want the 1.3 version,
> because I've never installed that version, and my computer has only just
> been recently reformated, the oldest version of the JRE on my Comp is
> 1.5.0_05.


I think that error indicates that:
- you do not have Java 1.3 registry variables
- you are executing Java 1.3 java.exe or javaw.exe

Arne
 
Reply With Quote
 
 
 
 
Thomas Kellerer
Guest
Posts: n/a
 
      08-13-2006

David wrote on 13.08.2006 10:41:
> Hello there,
>
> I Made a small Application in Netbeans recently, compiled it and went to
> fun the jar file through command line and I get this message, Can anyone
> help me find the issue?
>
> Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
> has value '1.5', but '1.3' is required.
> Error: could not find java.dll
> Error: could not find Java 2 Runtime Environment.
> Press any key to continue . . .
>
> I can't see why on earth that the jar file would want the 1.3 version,
> because I've never installed that version, and my computer has only just
> been recently reformated, the oldest version of the JRE on my Comp is
> 1.5.0_05.


This seems more like a Java installation problem, than a jar file problem.

I'm a bit surprised though, that java.exe is actually scanning the registry. I
have done lots of "installs" where I simply unziped an archive and ran java.exe
(or javaw.exe) from the commandline.

What is the exact command you were using?

Thomas
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
java -cp a.jar -jar b.jar => Works on Windows, not on Debian cyberco Java 4 02-14-2006 06:27 AM
jaas.jar, jta.jar jdbc-stdext.jar missing from jdk1.5 RPM muttley Java 0 10-20-2005 02:40 PM
Differences of xercesImpl.jar, xercesImpl-J.jar, dom3-xercesImpl.jar ? Arnold Peters Java 0 01-05-2005 10:59 PM
Differences of xercesImpl.jar, xercesImpl-J.jar, dom3-xercesImpl.jar ? Arnold Peters XML 0 01-05-2005 10:59 PM
how to disassembly a .jar file? how to see what are the classes inside the .jar file? lucy Java 6 09-07-2004 09:54 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57