Registry key CurrentVersion incorrect and cannot find java.dll

I have been reading the posts in this forum related to similar errors but not quite sure that they address this situation. Here is what I am seeing:
I have j2sdk 1.4.2_05 on WindowsXP and the HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\CurrentVersion has the value 1.4.2_05. The j2sdk install copied the java.exe to C:\j2sdk1.4.2_05\bin, C:\j2sdk1.4.2_05\jre\bin and C:\Program Files\Java\j2re1.4.2_05\bin folders. It also copied the same file to the windows\system32 folder. So far so good.
In my windows PATH env. variable, the windows\system32 path comes first . So when on the DOS prompt, I type "java -version" or even "C:\windows\system32\java -version", I get the following error :
Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.4.2_05', but '1.4' is required.
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.
However, running
C:\j2sdk1.4.2_05\bin\java -version OR
C:\j2sdk1.4.2_05\jre\bin\java -version OR
"C:\Program Files\Java\j2re1.4.2_05\bin\java" -version
works and I get the version info for 1.4.2 j2sdk.
Now I know that prefixing j2sdk bin path to the PATH variable, so that it comes before windows\system32 will set it right. But I think I should not have to do that , if the j2sdk installation has already copied the latest java.exe to the windows\system32 folder. If it was just an issue of java.exe in windows\system32 being in sync with the JRE current version in registry, I think even just "java -version" should have worked. Since that is not working, maybe there is something beyond that. At this time, I do not know what that could be.
Any suggestions?

The java.exe file in system32 that's being executed isn't version 1.4.2_05. Either you have multiple copies of java installed, or the install got screwed up.
Check version and (maybe) just copy the correct file into system32?

Similar Messages

  • Cannot find Java.dll / java2 runtime environment?

    Dear Friends,
    I am using jdk1.3 and j2sdkee.1.2.1.
    While I could successfully compile the java program . While running it give me RunTimeError as
    Registry Key 'Sofware\Javsoft\JavaRuntimeEnviroment\CurrentVersion' has 1.1 value , but needs 1.3 is required.
    Could not find java.dll.
    Could not find Java 2 Runtime Environment.
    Can any one put some light on these matters
    Thanks and Regards
    Abhilash
    My classpath settings are as follows:
    set java_home=C:\jdk13
    set TOMCAT_HOME=C:\tomcat~1
    set classpath=%classpath%;C:\ORAWIN95\BIN;c:\jdk13\bin;c:\jdk13\lib\jndi.jar;c:\jdk13\lib\tools.jar;c:\jdk13\lib\dt.jar;c:\tomcat321\lib\servlet.jar;c:\tomcat321\lib\ant.jar;c:\tomcat321\lib\jasper.jar;c:\tomcat321\lib\parser.jar;c:\tomcat321\lib\webserver.jar;c:\tomcat321\lib\jaxp.jar;c:\j2sdkee1.2.1\bin;c:\j2sdkee1.2.1\lib\j2ee.jar;c:\j2sdkee1.2.1\lib\jndi.jar;c:\j2sdkee1.2.1\lib\jhall.jar;c:\j2sdkee1.2.1\lib\ejb10deployment.jar;
    SET Path=c:\Oracle\Ora81\bin;"C:\PROGRAM FILES\ORACLE\JRE\1.1.7\BIN";C:\ORA\ORA81\BIN;"%PATH%";

    Hi,
    You'll need the runtime environment for JDK 1.3 installed.
    Check wether the folder "C:\Program Files\JavaSoft\JRE\1.3" exists. If it doesn't exist, go to
    http://java.sun.com/j2se/1.3/jre/download-windows.html
    Do download and install the jre.
    Hope this helps,
    Kurt.

  • Error running basic Welcome App - cannot find java.dll

    When running a basic welcome app, I get this error.
    RegistryKey 'Software\Javasoft\Java Runtime Environment\CurrentVersion' has version '1.7', but'1.6' is required.
    Error: could not find java.dll
    Error: could not find java SE Runtime Environment
    I had just changed my PATH variables so the javac could be found easily (it wasn't working before). After I changed the variables, I was able to get my app compiled, but when I went to run the java command, I get the above error. I have version 1.7.0 and my PATH variable has 1.7.0
    Need more info? I wasn't able to find any more specific info on the forum, or anywhere else.

    I had already uninstalled all previous versions and did a clean reinstall of 1.7 The only version I see in my Program Files folder is version 1.7. Is there another place it might be?

  • HT1263 where can I find the System Mac 9 that would be in the (original release) factory shipped iMac's prior to 2010? I'm missing key system data and cannot update to iPhoto app past 6.0.6; any advice will be helpful, thank you.

    Where can I find the System Mac 9 that would be in the (original release) factory shipped iMac's prior to 2010? I'm missing key system data and cannot update to iPhoto app past 6.0.6; any advice will be helpful, thank you.

    Where can I find the System Mac 9 that would be in the (original release) factory shipped iMac's prior to 2010?
    What are you refering to here? Mac OS 9 came out around 2001 ( or about ).  Mac OS 9 last run  in an emulation mode in 10.4.11 -- Tiger.  Mac OS 9 ran on PPC machines that were last produced before 2004 or so.
    I think your conclusion you need Mac OS 9 is incorrect.
    I'm missing key system data and cannot update to iPhoto app past 6.0.6; any advice will be helpful, thank you.
    iPhoto '11, Mac OS X (10.6.8), need to upgrade system to 10.8
    We need to verify some information.  Are you really running 10.6.8?  What hardware?
    Here is how to find out what version of Mac OS you are running:
    Click on the blue apple in the upper left hand of the screen.
    click on this icon
    Click on the first line, "About This Mac"
    Most of these are numbers & that's what we want.
    What version & Processor do you have?

  • CDR-17066 RON cannot find java EWT graphics classes

    Hello,
    I am evaluating Oracle SCM. Everything's going great, except I am unable to use the Version History or Version Events. When I try, I get an error:
    "CDR-17066: RON cannot find java EWT graphics classes"
    The action it recommends is to check the registry or environment variable JVM_CLASSPATH_RON, and make sure it points to the ewt jar.
    I found a jar called ewt3.jar in my oracle/jlib directory. There was no environmental variable called JVM_CLASSPATH_RON, so I created one and set it to that jar. But I'm still getting the same error.
    Any help would be appreciated. Thank you.

    Hi,
    this error message is rather strange: I checked in our knwoledge base, but you seem to be the first one having this issue!
    I had a look to my registry and indeed I couldn't find the variable JVM_CLASSPATH_RON.
    I suspect that this variable was superseded by another one (JVM_CLASSPATH_DEFAULT_THIN_JDBC ?).
    I checked for all variables including ewt and found the following:
    . FORMS90_CLASSPATH (<Home>\jlib\ewt3.jar)
    . FORMS90_BUILDER_CLASSPATH (<Home>\jlib\ewt3.jar)
    . JVM_CLASSPATH_DEFAULT_THIN_JDBC (<Home>\jlib\ewt4.jar)
    FORMS90_... variables are not used by the Version History and Version Event Viewers, but JVM_CLASSPATH_DEFAULT_THIN_JDBC is.
    I removed the entry <Home>\jlib\ewt4.jar from JVM_CLASSPATH_DEFAULT_THIN_JDBC, and then I could reproduce your issue.
    So could you check the content of this variable JVM_CLASSPATH_DEFAULT_THIN_JDBC?
    It's located in HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\HOMEx\REPADM61\DEFAULT_JVM_PARAMS_THIN_JDBC
    Could you also check that file <Home>\jlib\ewt4.jar does exist on your machine?
    Regards,
    Didier.

  • I just downloaded a ringtone and cannot find it.

    I just downloaded a ringtone and cannot find it. Error code says to go to "Music Inbox to Download". So where in the heck is that?

    I just spent forever with this problem with verizon.  did you try downloading from Verizon Tones? If you did and didn't get it resolved try this...
    Go into verizon tones and press and hold the soft key (the recent apps key-used to be the menu options key on old phones) to the left of the home button.  when you press and hold it, the menu options come up instead of the recent apps.   Then press "downloads".  I found my ringtone there under "pending"

  • Cannot Install Thinkpad Configuration Utility and Cannot Find it on Downloads Site

    I uninstalled the Thinkpad Configuration Utility and when I try to reinstall the installation fails.  It no longer seems to be a download option on the Lenovo support site.  Has this utility been withdrawn and if so what replaces it?  This link
    http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-67988
    with the latest BIOS update talks about using the utility to determine which version is installed which would seem an odd thing to do if the utility is no longer supported!
    Message Edited by BMGRAHAM on 05-16-2008 12:00 AM

    Hi,
    Pls check the site
    http://java.sun.com/xml/jaxb
    The JAXB Beta Implementation is now available.
    Thanks,
    Bhakti
    I am looking for JAXB and cannot find a download link.
    The only thing at the download link is the jaxb arch
    spec, but no s/w.
    Where is this stuff? Has it been taken off?
    -Mark Sabatini

  • Cannot find java.exe when executing Sun Java Enterprise 8.1

    I downloaded and installed Sun Java Enterprise 8.1 (actually because I kept getting not enough space messages I downloaded it in 3 parts). When attempting to execute by clicking on the icon I keep getting a message saying "cannot find java.exe". I previously installed the java runtime successfully. Is anyone familiar with this and if so how do I get around it. I am running Win2k SP4 on a laptop. Thank you for any insight you can provide.

    Hi,
    I faced same problem. I had jdk 1.5.0_05 installed on C: drive directly. But When I check the log though the installation found the version it was assuming it to be at 'C:\Program Files\Java' so even after finding the installed JDK it was failing. When I copied the JDK at 'C:\Program Files\Java' and then uninstalled and reinstalled the Sun java studio 8 again, at this time it asked me about which JDK to use! Then there I could point to C:\jdk1.5.0_05. Then everything went through fine. I guess this is some problem in installation code. Try this out.

  • I have installed Adobe packages and cannot find the Acrobat extension folder please advise how can I get these applications to load onto my computer?

    I have installed Adobe Creative Cloud for teams CC Packages which says that Acrobat XI Pro is installed. Your support page says it does not install Acrobat and I have to look in the Extensions folder for an MSI file.  I have run a number of searches and  cannot find the Acrobat extension folder please advise how can I get these applications to load onto my computer?
    Also I now administer the teams and have accepted the invitation to I received to be a team member and download the apps.  The admin page shows that I have been sent an invitation but does not show my account as "ACtive" unlike my other team members.  I tried to use the link in the invite to accept it become active but the link displayed an error saying I had already accepted the invite... why is no account not active?
    Finally what other product downloads in Creative Cloud do not actually download as part of the Creative cloud Packager for downloading the apps? e.g. acrobat and what else?

    My apologies Eadeszoo I believe our support agents are unavailable on January 1.
    Are you able to copy the contents of the DVD to your computer?  Are you receiving any particular error messages when you are trying to install?  Finally which operating system are you using?

  • HT2188 i just upgraded my iphone 3gs to ios 6 not sure if it updated but now when i turn on my phone it says automatically that i need to connect it to itunes using the USB port but when i connect it it comes up as new hardware and cannot find a program/s

    i just upgraded my iphone 3gs to ios 6 not sure if it updated but now when i turn on my phone it says automatically that i need to connect it to itunes using the USB port but when i connect it it comes up as new hardware and cannot find a program/software for my device even though i have the latest itunes on my computer. i have tried reinstalling itunes but it still cannot find my phone and now i cannot use my phone as it is stuck on the sync to itunes screen

    Have you downloaded and installed the latest version of iTunes from here:
    http://www.apple.com/itunes/download/

  • I have a 160GB Hard Drive in my MBP and use VMWare Fusion and had a 60GB Virtual Machine running Windows XP. Deleted the Virtual Machine and CANNOT find the 60GB space I desperately need!  Anybody out there with a similar problem?  Help!

    I have a 160GB Hard Drive in my MBP and use VMWare Fusion and had a 60GB Virtual Machine running Windows XP. Deleted the Virtual Machine and CANNOT find the 60GB space I desperately need!  Anybody out there with a similar problem?  Help!

    Thanks - Of Course the first thing I checked and did.
    Disc Utility reads as follows:
    Capacity : 159.18 GB (159,182,127,104 Bytes)
      Format : Mac OS Extended (Journaled)  Available : 11.47 GB (11,472,896,000 Bytes)
      Owners Enabled : Yes  Used : 147.71 GB (147,709,231,104 Bytes)
      Number of Folders : 139,540  Number of Files : 511,832
    Activity Monitor(Disc Usage) shows something quite interesting.  Mac HD and Ramanan (Main User) - My hard drive is only 160GB!  Would the retired engineer gentleman please note as well.  Many thanks. Rams

  • 'Font contains bad/Widths' and 'Cannot find/create font' errors when saving pdf as Other Reduced Size PDF

    I am exporting .indd files from within Indesign as pdf files, opening in Acrobat Pro XI. I have no trouble creating the initial pdf file, however, when I go to Save Other > Reduced Size PDF I get error messages. Depending on the file, I receive either the message, "The font (Myriad Pro) contains bad/Widths" replacing the text with dots or "Cannot find or create the font (Helvetica) Some characters may not print or display properly" replacing text with dots or boxes.
    My confusion is that the file is exporting to pdf from Indesign without error, it is only when I try to Save Other> Reduce Size PDF that the error occurs.
    Also, it is only occurring on five out of 120 pages. These same fonts are on other pages and I have no trouble at all with exporting or Reduce Size PDF.
    More frustrating is that I have never had this problem occur in all my previous versions of Acrobat using the same process and typefaces.
    I am reaching deadline on this and cannot find a solution other than to reload Acrobat 9 and ditch this upgrade.
    Any help would be greatly appreciated.

    I, too have experienced this issue. Upon export from INDD CS6, I see the error message "The font 'IXWIPX+SourceHanSansSC-Bold' contains bad \Widths."
    The only items on the single-page InDesign document I'm trying to export are copies of a one-page PDF (which was extracted from a longer PDF, arranged into a cover format). I can provide all files as necessary. The longer document that the one page came from also experienced an error when I tried to print to Adobe PDF. While I still get a PDF of the cover on export, despite the "bad \widths" message, it won't print from certain machines. I get nothing (not even an empty shell file) from the attempt to print the larger document (where the cover elements came from) to PDF.
    I can deal with these issues with a few unorthodox workarounds, but wanted to offer comments or volunteer to help test fixes if possible.
    For the record, I'm really not enjoying Acrobat XI. It doesn't seem to have much by way of new features (at least not that I use), and some of those I used most in version X are gone or less functional. Common fonts like Times New Roman are often not found (even though they are definitely on my system); I have a much harder time editing text through the new interface, and I have a few other small gripes—some that I don't have time to get into, others that wouldn't really matter, except that they weren't a problem until I "upgraded." Just sayin'.
    Thanks for listening.

  • HT4623 i have an ipad2 and cannot find how to upgrade to ios 6, despite visiting apple site, itunes etc. Apple is normally intuitive but this is a real labarynth?

    i have an ipad2 and cannot find how to upgrade to ios 6, despite visiting apple site, itunes etc. Apple is normally intuitive but this is a real labarynth?

    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.1. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
     Cheers, Tom

  • Using Gmail in iPhoto and cannot find any of my groups to email.  I have at least seven or eight groups that I email, each containing over 50 addresses. Is there a way to locate my email groups using iPhoto to send out mail in Gmail? Using version 9.5.1

    Using Gmail in iPhoto and cannot find any of my groups to email.  I have at least seven or eight groups that I email, each containing over 50 addresses. Is there a way to locate my email groups using iPhoto to send out mail in Gmail? Using version 9.5.1  (902.17) OS is Mavericks 10.9.1.

    Your question and description is not very clear to me, so hopefully something here will help:
    1. Gmail is a service not an app or a place. So you need to access the service with an app - that can be iPhoto, Mail, Outlook or any other mail client, or even a Web Browser like Safari or Firefox.
    So you can't "go to GMail" as you write, but instead you go to an application set up to use the GMail service.
    2. iPhoto is not a mail client. It's a handy way to email pics to Grandma, but for what you're doing you need to use an app that supports all of the Gmail service. iPhoto doesn't. There is no way around that.
    3. How to send to groups will vary depending on what app you use to access the GMail service. All of these apps can receive photos from iPhoto, either - as in the case of Mail and Outlook, via the Share function - or, in the case of all the rest - via a Media Browser.
    For help sending to Groups using any of these other apps you need to ask omn their respective forums. But the workflow is quite simple:
    Using Mail or Outlook set in the iPhoto Prefereneces:
    1. Select the pic(s) you want to share.
    2. Choose email from the Share function
    3. Make your selections re size etc
    4. The email opens up in Mail or Outlook
    - from there you need to figure out how to use the email client.
    Using any other app:
    1. In the mail app create a new email
    2. Click on the Attach button or link
    3. Use the Media browser to select the pic(s) you want to send
    4. Attach them
    - from there you need to figure out how to use the email client.
    For help accessing your photos in iPhoto see this user tip:
    https://discussions.apple.com/docs/DOC-4491

  • HT204053 Our Apple ID is ok and functioning.  However, I just came on as the IT for the group and cannot find how to change the name.

    Our Apple ID is ok and functioning.  However, I just came on as the IT for the group and cannot find how to change the name.

    Assuming you mean the personal name associated with the account, as opposed to the login (which you can change if it's not an @icloud.com. @me.com or @mac.com address) you can change this at http://appleid.appla.com . Click on 'Manage your account' and then on 'Edit' next to 'Your name' and the name currently associated with the ID.

Maybe you are looking for

  • CUE 8.6.6 install fails on SRE-710

    Not sure why this is failing.  The FTP server shows the file is fetched, etc.  The SRE appears to be in a persistent rebooting state, so I'm guessing the SRE can't ping the FTP server. 3925#$ install url ftp://172.83.112.19/cue-vm-k9.SPA.sme.8.6.6.pk

  • Only one top level element is allowed in an XML document. Error message

    Hi all, Am receiving above message when trying to view XML data generation. Have found little to no documentation on this particular message and thus far unable to research/guess my way to resolition. Any and all help will greatly appreciated. Thanks

  • BDC for PO

    Can any one give me a piece of code which explains better about the table control handling of the line items in BDC for purchase order creation.

  • Upgrade from NAC release 4.1(3) to release 4.7(1)

    Hi All, We have two CAM and two CAS appliances. Both pair of them are working in High availability mode. We need to upgrade them from version 4.1(3) to version 4.7(1) so, as i read, we should upgrade them to 4.7(0) first before upgrading to 4.7(1). N

  • Creation of Framework Page

    hi can anyone help me with creation of framework page useful answers will be rewarded Regards JM