Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2006

Tip: Looking for answers? Try searching our database.

Strange Jar File Error message

Thread view: 
David - 13 Aug 2006 09:41 GMT
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.
Arne Vajhøj - 13 Aug 2006 15:45 GMT
> Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
> has value '1.5', but '1.3' is required.
[quoted text clipped - 6 lines]
> 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
Thomas Kellerer - 13 Aug 2006 15:54 GMT
David wrote on 13.08.2006 10:41:
> Hello there,
>
[quoted text clipped - 12 lines]
> 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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.