cancel
Showing results for 
Search instead for 
Did you mean: 

When trying to start SAP download manager issue is coming

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

mike_taylor3
Contributor
0 Kudos

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

0 Kudos

Thank you Mike, that's exactly solve the same issue that I have with my download manager which bother me for awhile

Awesome answer ! Appreciate it.

Tian

Former Member
0 Kudos

Kudos to you Mike simple yet effective solution.

Regards,

Zeus A.

omer_savran2
Explorer
0 Kudos

Thanks Mike it worked for me

former_member209699
Contributor
0 Kudos

Thanks Mike... This works for me as well.

regards:

Sandy Saini

0 Kudos

That solved my problem thank you very much

Former Member
0 Kudos

Thank you Mike, this just made it!

SudhanshuSurma
Participant
0 Kudos

Thanks much Mike, your fix works even today 😉

Former Member
0 Kudos

Hi,

Great!

thnaks

Former Member
0 Kudos

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.

Answers (10)

Answers (10)

ManishT
Explorer
0 Kudos

Thanks for solution.

anoarul_islam
Explorer
0 Kudos

it worked for me as well

thanks@Mike Taylor

Former Member
0 Kudos

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

Former Member
0 Kudos

Thanks for sharing Daniel, finally no issues installing!

Kind Regards,

Nick Lakasas

0 Kudos

thanks, it works fine

0 Kudos

had the same problem this worked great.. thanks.

Wayne
Newcomer
0 Kudos

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!

former_member266319
Discoverer
0 Kudos

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

Former Member
0 Kudos

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

c_baker
Employee
Employee
0 Kudos

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

christian_frier2
Explorer
0 Kudos

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

Former Member
0 Kudos

Hi

How to call jar file in SAP manager, kindly share the steps.

Regards

Ravi

christian_frier2
Explorer
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Dear Prashant

When i am trying to install your java file it showing me the attached error.

I am using windows 8.1 64 bit machine.

Please suggest the alternate way..

Also as you mentioned on 3rd screen download basket asks for java home page that was selected already.

Regards

Ravi Kaushik

Former Member
0 Kudos

Dear Ravi,

The JRE needs to be compatible with your system version, as It worked fine for me  [Windows 2008 Server R2] ,  possibly it isnt compatible  with your system.

This has to be as per the recommendations from the Download Manager Pre requisites .

Proceed as follows

1. Click on Get Download Manager in your SAP download Basket.

2. Then Go to 2. System Requirements  and check your system pre requisites.

Hope this helps.

Regards

Prashant

leonardoe_martinez
Participant
0 Kudos

This worked for me. Thanx