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?

Similar Messages

  • 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?

  • 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.

  • Weblogic 8.1 error  on deploying web app - Cannot find taglib declaration

    I am using netbeans 6.5.1. The java EE Version is configured to J2EE 1.3 and JDK version is 1.4.2 for the project.
    The application server is WebLogic 8.1.
    On deploying get the error "ServletContext(id=18276115,name=WebApplication3,context-path=/)]: Deployment descriptor "jar:file:<file path>/.wlnotdelete/extract/EdcSrv1_WebApplication3_WebApplication3/jarfiles/WEB-INF/lib/standard.jar!/META-INF/c.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19)"
    The same error is repeated for x.tld, fn.tld, fmt.tld, scriptfree.tld, sql.ltd
    Checked web.xml file and does not have any taglib tags.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
        </context-param> ....will post the entire file if required.
    do i need to manually add the taglib tags?
    Any suggestions?
    Thanks.

    I am using netbeans 6.5.1. The java EE Version is configured to J2EE 1.3 and JDK version is 1.4.2 for the project.
    The application server is WebLogic 8.1.
    On deploying get the error "ServletContext(id=18276115,name=WebApplication3,context-path=/)]: Deployment descriptor "jar:file:<file path>/.wlnotdelete/extract/EdcSrv1_WebApplication3_WebApplication3/jarfiles/WEB-INF/lib/standard.jar!/META-INF/c.tld" is malformed. Check against the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line 6, column 19)"
    The same error is repeated for x.tld, fn.tld, fmt.tld, scriptfree.tld, sql.ltd
    Checked web.xml file and does not have any taglib tags.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
        </context-param> ....will post the entire file if required.
    do i need to manually add the taglib tags?
    Any suggestions?
    Thanks.

  • "Cannot find nwlocale.dll" error when running 16-bit application

    Hi There,
    I'm encountering the error message "Cannot find nwlocale.dll" when
    activating a 16-bit application (standalone version) in a workstation
    using Windows 98 and Novell Client v4.83. This only happened in a
    particular workstation but other is working fine. Is there any
    areas/reasons/possibilities that I can have a check?
    Any information can help, please feel free to share.
    Thank you very much.
    Best Regards,
    Shannon

    On 7/21/2005 [email protected] wrote:
    > using Windows 98 and Novell Client v4.83.
    Incorrect Novell Client version for that OS.
    Edison Ortiz
    Novell Product Support Forum SysOp
    (No Email Support, Thanks !)

  • Flash CS6 AIR error: CreateWinProcess failed with error 2. The system cannot find the file specified

    I created an AIR application in Adobe Flash CS6, but when I test, debug or publish it, an error always occured.
    CreateWinProcess failed with error 2. The system cannot find the file specified.
    When I clicked OK, Flash suddenly stops responding, so I need to end the process using Task Manager.
    I created a blank FLA document and tested and published it, everything's fine there. It was exported properly. But when I do it with the AIR app, Flash can't even start exporting the SWF of the AIP app, and instead gave me the error.
    I speculate that there is something wrong with the Java command line stuff Flash is doing behind the curtain. I tried using ADL myself and get the AIR app working fine.
    I also found out that Flash has its own JRE installed, so I don't have to bother the JRE used by my computer.
    Is there any way to fix this? Thanks in advance. Have a nice day!

    I installed  the update, but I'm sorry to say that it did not solve the problem
    The error is still there as described by Master §ix and Daniel777
    CreateWinProcess failed with error 2. The system cannot find the file specified.
    It happens when trying to test, debug, or publish air applications (AIR 2.5 – AIR 3.4 , desktop, android, iOS)
    In this case, I can't use the simulator to test the applications,
    thanks

  • Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\abc.mdf". Operating system error 2: "2(The system cannot find the file specified.)".

    hi,
    am running the below command for moving sql serevr mdf and ldf files  from one  drive to another : c  drive to d drive:
    but am getting the below error
    SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\abc.mdf". Operating system error 2: "2(The system cannot find the file specified.)".
    use master
    DECLARE @DBName nvarchar(50)
    SET @DBName = 'CMP_143'
    DECLARE @RC int
    EXEC @RC = sp_detach_db @DBName
    DECLARE @NewPath nvarchar(1000)
    --SET @NewPath = 'E:\Data\Microsoft SQL Server\Data\';
    SET @NewPath = 'D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\';
    DECLARE @OldPath nvarchar(1000)
    SET @OldPath = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\';
    DECLARE @DBFileName nvarchar(100)
    SET @DBFileName = @DBName + '.mdf';
    DECLARE @LogFileName nvarchar(100)
    SET @LogFileName = @DBName + '_log.ldf';
    DECLARE @SRCData nvarchar(1000)
    SET @SRCData = @OldPath + @DBFileName;
    DECLARE @SRCLog nvarchar(1000)
    SET @SRCLog = @OldPath + @LogFileName;
    DECLARE @DESTData nvarchar(1000)
    SET @DESTData = @NewPath + @DBFileName;
    DECLARE @DESTLog nvarchar(1000)
    SET @DESTLog = @NewPath + @LogFileName;
    DECLARE @FILEPATH nvarchar(1000);
    DECLARE @LOGPATH nvarchar(1000);
    SET @FILEPATH = N'xcopy /Y "' + @SRCData + N'" "' + @NewPath + '"';
    SET @LOGPATH = N'xcopy /Y "' + @SRCLog + N'" "' + @NewPath + '"';
    exec xp_cmdshell @FILEPATH;
    exec xp_cmdshell @LOGPATH;
    EXEC @RC = sp_attach_db @DBName, @DESTData, @DESTLog
    go
    can anyone pls help how to set the db offline. currently  i  stopped the sql server services from services.msc and started the  sql server agent.
    should i stop both services for moving from one drive to another?
    note: I tried teh below solution but this didint work:
    ALTER DATABASE <DBName> SET OFFLINE WITH ROLLBACK IMMEDIATE
    Update:
    now am getting the message :
    Msg 15010, Level 16, State 1, Procedure sp_detach_db, Line 40
    The database 'CMP_143' does not exist. Supply a valid database name. To see available databases, use sys.databases.
    (3 row(s) affected)
    (3 row(s) affected)
    Msg 5120, Level 16, State 101, Line 1
    Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\CMP_143.mdf". Operating system error 2: "2(The system cannot find the file specified.)".

    First you should have checked the database mdf/ldf name and location by using the command
    Use CMP_143
    Go
    Sp_helpfile
    Looks like your database CMP_143 was successfully detached but mdf/ldf location or name was different that is why it did not get copied to target location.
    Database is already detached that’s why db offline failed
    Msg 15010, Level 16, State 1, Procedure sp_detach_db, Line 40
    The database 'CMP_143' does not exist. Supply a valid database name. To see available databases, use sys.databases.
    EXEC @RC = sp_attach_db @DBName, @DESTData, @DESTLog
    Attached step is failing as there is no mdf file
    Msg 5120, Level 16, State 101, Line 1
    Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\CMP_143.mdf". Operating system error 2: "2(The system cannot find the file specified.)"
    Solution:
    Search for the physical files(mdf/ldf) in the OS and copy to target location and the re-run sp_attach_db with right location and name of mdf/ldf.

  • Bulk Insert Task Cannot bulk load because the file could not be opened.operating system error error code 3(The system cannot find the path specified.)

    Following error i am getting after i chnaged the Path in Config File from
    \\vs01\d$\\Deployment\Files\temp.txt
    to
    C:\Deployment\Files\temp.txt
    [Bulk Insert Task] Error: An error occurred with the following error message: "Cannot bulk load because the file "C:\Deployment\Files\temp.txt" could not be opened. Operating system error code 3(The system cannot find the path specified.).". 

    I think i know whats going on. The Bulk Insert task runs by executing sql command (bulk insert) internally from the target sql server to load the file. This means that the SQL Server Agent of the target sql server should have permissions on the file you trying to load. This also means that you need to use UNC path instead to specify the file path (if the target server in on different machine)
    Also from BOL (see section Usage Considerations - last bullet point)
    http://msdn.microsoft.com/en-us/library/ms141239.aspx
    * Only members of the sysadmin fixed server role can run a package that contains a Bulk Insert task.
    Make sure you take care of this as well.
    HTH
    ~Mukti
    Mukti

  • Windows Server Essentials 2012 error code: 2147942403 The system cannot find the path specified

    Running Windows Server 2012 Essentials with an external usb 3 drive as a backup device.  Using a Vantec hx enclosure with a WD Red drive. Last night the Dashboard saw the drive with about half the 4TB available for backup. A.M., I get "error code:
    2147942403 The system cannot find the path specified".
    Going to the server desktop, I see a message indicating that the usb device malfunctioned.  unplugging it, and plugging it back in, I now have it available via the dashboard.
    This has happened a couple times with two different drives in Vantec hx enclosures.
    A couple possibilities come to mind:
    the enclosures may both be bad...
    there is some problem with the system software and external usb drive.
    Thoughts?
    Suggestions for external enclosures?
    Thanks!

    Hi,
    According to your description, my understanding is that you cannot backup the Windows Server Essentials 2012 and got "error code: 2147942403 The system cannot find the path specified". You found the usb device malfunctioned. 
    Can you backup the server when you unplugged the usb device, and plugged it back in? If you can backup the server when you replug the usb device, you need to engage the vendor to resolve the hard drive issues.
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • 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.

  • Cannot find java.lang.Object

    hi, all. i tried compiling my class using KToolbar but it cannot load some of my classes on the other package. so i tried compiling it using the command line. I am encountering a problem and the error message is that it cannot find the java.lang.Object. I already included tools. jar in my classpath but it didn't work. Do you know guys, what I am missing?
    Thanks,
    Pulat

    c:\j2mewtk\libs\midpapi.zip has to be in your classpath
    rob,

  • 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.

  • The user '*' preference item in the 'User - 6th Form Students Policy {E03166E7-A848-48B5-AA93-97B848AA9C13}' Group Policy object did not apply because it failed with error code '0x80070003 The system cannot find the path specified.' This error was suppres

    I am looking at an issue with users not getting specific group policies. 
    After searching a number of client computers I found that the following error
    The user '*' preference item in the 'User - 6th Form Students Policy {E03166E7-A848-48B5-AA93-97B848AA9C13}' Group Policy object did not apply because it failed with error code '0x80070003 The system cannot find the path specified.' This error was suppressed.
    I can find the folder in the Sysvol folder on all of the domain controllers. 
    The issue with end users seems to be that the proxy settings for internet explorer is not being applied. 
    Potential problems?
    one folder in sysvol entry is empty 
    \\<server>\SYSVOL\<domain.name>\Policies\{E03166E7-A848-48B5-AA93-97B848AA9C13}\User\microsoft\IEAK\LOCK
    or is this our issue
    The old method of configuring proxy settings  to Internet Explorer 9 has changed?
    https://support2.microsoft.com/kb/2530309?wa=wsignin1.0 
    http://thommck.wordpress.com/2013/11/08/the-new-way-to-configure-internet-explorer-proxy-settings-with-group-policy/

    Hi all 
    In administering this policy I am a little confused. 
    We have a policy that distributes proxy settings in the internet explorer maintenance settings section - however when opening this policy up in GPO editor the internet explorer maintenance section is not present.
    I plan to apply the settings via User/preferences/control panel settings/ internet settings (or registry settings from article) however I am unable to edit the settings for internet explorer maintenance and these will persist. Ideas????

  • Cannot start HP Pavilion laptop due to Winlogon.dll error cannot find SHLWAPI.dll

    Hello,
    We are getting a winlogon.dll error that it cannot find shlwapi.dll.
    First off, we do not have recover CDs, we do not want to reboot with a complete recovery as we have data we need on this computer.
    We cannot logon at all, it gives the error and then you have to say okay and it stays at a black screen. We have tried repairing from the start up menu, we have tried recovering a previous start up point, we can get to the f8 c prompt but the different commands offered from other website forum tech supports are not recognizable.
    At this point, we are dead in the water. If there were some way to start the computer, get into our pictures, files, etc. to just download and save those then fine we can do a complete new installation.
    Please help.
    Thank you,
    Kelly

    Hi Kelly,
    You need to download and install ImgBurn first.  Then download the Image ( ISO ) for Ubuntu.  When done, use ImgBurn to write the Ubuntu ISO to a blank CD and then just follow the rest of the guide.
    Try the following links for these Two downloads.
    ImgBurn.
    Ubuntu
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Installation of Firefox failing with a 7-Zip Error Box stating "The System Cannot find the File Specified"

    When I upgraded to the latest Firefox on my Windows 7 PC , I get a 7-Zip Error Box stating " The System cannot find the file specified". This happens approximately two thirds into the installation. I have tried turning the Virus checker off and re-installing, but to no avail.

    Boot the computer in Windows Safe Mode with network support (press F8 on the boot screen) as a test.
    *http://www.bleepingcomputer.com/tutorials/how-to-start-windows-in-safe-mode/
    Try this:
    *Download the full Firefox installer and save the file to the desktop<br>https://www.mozilla.org/en-US/firefox/all/
    *Start the installation with a double-click on the desktop icon
    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    *https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware

Maybe you are looking for

  • Edit a pdf with acrobat X

    I want to make changes to a PDF with Acrobat X

  • I Need Help In Deleting Table row by clicking on "Delete" button inside the

    Dear all, first i'm new to Swing i have created table with customized table model, i fill this table using 2d array, this table rows contains JButtons rendered using ButtonRenderer.java class and action listeners attached by the AbstractButtonEditor.

  • MAX 4.2.1.3001 Task Test Panel Button Missing

    I just upgraded to LabView 8.2.1, along with the drivers, NI-DAQmx, MAX, etc., and now when I use MAX to view my existing tasks, they no longer have a "Test Panels" button.  They appear to now have an integrated test graph.  That is nice, but before

  • Missing driver for Tecra A11

    Hello, I have a Toshiba laptop, model Tecra A11, part No. PTSE3U-05Q01P I have an issue with the operating system, Windows XP SP3, it doesn't recognize a device from the laptop and shows the Hardware wizard from Windows XP. The computer worked withou

  • Better Delete Logic??

    Hi All, I have requirement to write a function module to delete records from 125 Y(custom) tables This is my scenario. delete from y100 where docno eq v_docno. if sy-subrc eq 0.   delete from y101 where docno eq v_docno.   if sy-subrc eq 0.      ....