Trying to run first java program

From: Larry Higgins (n9dx_at_comcast.net)
Date: 02/19/04


Date: Thu, 19 Feb 2004 06:00:15 GMT

After many attempts, with help from this newsgroup I got my first program to
compile. Now when I try to run it I get three error messages:

    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

My hard drive has the remnants of several aborted attempts to install
different versions of sdk, along with the 1.5 beta that finally installed
OK. I'm wondering whether I need to get rid of those remnants. If there's
a different version of javac or java that might explain why it's looking for
1.3 instead of 1.5. Or, maybe if I find java.dll and Java 2 Runtime
Environment, and add their locations to the path environment variable, that
might cure the "could not
find" errors. Suggestions?

TIA

Larry



Relevant Pages

  • Re: Java on ubuntu
    ... In the GNU_BUILD command, changing i386 to i586 too was unsuccessful. ... That hasn't changed the default java setting and I am really out of ideas now. ... the instructions in RestrictedFormats wiki page, the java bin name must be exactly as it is written in the wiki -- u look like u have the right name; did you install java-commons package also? ... environment correctly and was pleased with the results. ...
    (Ubuntu)
  • Re: SP2/Java problems
    ... I kept getting this message "the java runtime ... Runtime environment. ... Then the manual install worked. ...
    (microsoft.public.windowsupdate)
  • Re: Java on ubuntu
    ... I've found that for the Java installation to work using fakeroot from the ... exactly as it is written in the wiki -- u look like u have the right name; ... with the help of this list, I was able to set up the java environment ... linux-i586.bin to a deb package so I can install java using dpkg - ...
    (Ubuntu)
  • Re: installing Java on Irix 6.5 WITHOUT root access
    ... :I need to install an old version of Java for testing purposes on a large ... and then use some environment variables to get some other ... :software to use that version of Java. ... :Here's what I want to install (the Java execution environment for JDK 1.3): ...
    (comp.sys.sgi.misc)
  • Re: VS2005 and VS 6.0
    ... You can write a buggy program in any language. ... The delayed destructors are definitely a problem, Java has the same problem. ... design to improve performance and reliability. ... environment by stupid errors. ...
    (microsoft.public.vc.mfc)