Skip to Content
avatar image
Former Member

When trying to start SAP download manager issue is coming

Dear Experts

We have installed SAP download basket on windows 7 32 bit machine, Also we have installed java latest version.

While starting the download basket we are facing the " Windows error 2 occurred while loading the java VM"

Java version installed :- jre-8u20-windows-i586

Regards

Ravi Kaushik

SAP error.png (7.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

11 Answers

  • Best Answer
    Apr 22, 2015 at 10:30 PM
    28

    You can run the Java file directly here:

    C:\Program Files (x86)\SAP Download Manager\DLManager.jar

    But if you want to fix it permanently you have to edit the file: C:\Program Files (x86)\SAP Download Manager\SAP Download Manager.lax

    Open it with a text editor and change:

    lax.nl.current.vm=C:\\ProgramData\\Oracle\\Java\\javapath\\java.exe
    

    You have to change it to something like:

    lax.nl.current.vm=C:\\Program Files (x86)\\Java\\jre1.8.0_45\\bin\\java.exe
    

    Where the exact folder depends on your version.  I happen to have this version of java.  If you remove the double backslash and paste it into a file explorer you will see if the java.exe file is actually there.  Once you find the java.exe program and path you have to add the double backslashes back for the .lax file before you save it.

    Once I saved this it worked fine using the .exe launcher.

    Mike

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Mike,  I had the issue today,  I have used the download manager in the past and it worked.  It appears that as java provides updates it affects the way the Download manager behaves.  Changed to my current version 8.0_91 and it worked.  Thanks again.

  • avatar image
    Former Member
    Dec 24, 2014 at 10:03 AM

    Hello Ravi,

    This is happenning because your SAP Download manager cannot seem to detect your JVM.

    Please try this approach

    1. Ensure you have JRE [latest if possible ]  installed on your system, This has to be as per the recommendations from the Download Manager Pre requisites listed when you click on Get Download Manager in your SAP download Basket.

    You can also  install this JRE , its the latest at this moment from Oracle [sun]

    Download Free Java Software

    2. When you are installing the Download Manager and in the 3rd or 4th screen, where it asks you to select a  Java Home which can be used by the Download Manager  , select the JRE java home which you installed in the above step, do not simply click next on this step without choosing the Java VM, if you do , it will again give you errors later.

    If your download manager is already installed, simply run the installer again, no need to uninstall and reinstall the download manager, but this time ensure you choose the Java VM home.

    Once installed, try opening the download manager, should work.

    Cheers

    Prashant

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 30, 2015 at 04:06 PM

    All,

    Try using the newest Download Manager 2.1.142 released in October.  No more exe as it just uses DLManager.jar to launch

    Cheers,

    Dan Mead


    DLManager.jar.jpeg (67.5 kB)
    2.1.142.jpeg (77.7 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • Dec 27, 2014 at 07:42 AM

    Hi,

    I have the same problem - I solved it by opening the folder where SAP download manager is installed and calling the jar-file DLManager.jar directly.

    Best regards,

    Christian

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      I right-click the icon for SAP download manager and select properties. From the propertites window I select 'open file location'. From that directory (C:\Program Files (x86)\SAP Download Manager in my case...) I just double-click the file DLManager.jar.

      You can also use the command prompt and call DLManager.jar directly from there...

      /Christian

  • avatar image
    Former Member
    Sep 14, 2015 at 12:20 PM

    since my Installation on Windows 8.1 failed - i had to copy the installed files from another PC and modify the lax file entries - so it's working on my 8.1 again!

    - thx Mike for your Input!

    - Wobi

    Add comment
    10|10000 characters needed characters exceeded

    • That's the problem - the Windows installer apparently still needs jre7 which is deprecated by Oracle.

      Time to update the Windows download manager install to use a current JVM (e.g. 8).

      Not everyone can copy from an old machine.

      Chris

  • avatar image
    Former Member
    Sep 21, 2015 at 02:07 PM

    thanks , after changing the lax.nl.current.vm   path , It is working fine

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 01, 2015 at 05:57 PM

    Worked perfectly.  I had waded through all these other suggestions about running the jar from the command prompt, etc but this was the perfect fix so I can continue using the actual installed application!

    Thanks!

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 12, 2015 at 06:16 PM

    had the same problem this worked great.. thanks.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 22, 2015 at 02:15 PM

    thanks, it works fine

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 07, 2016 at 09:38 AM

    it worked for me as well

    thanks@Mike Taylor

    Add comment
    10|10000 characters needed characters exceeded