Quantcast
Channel: VMware Communities : All Content - VMware® ThinApp®
Viewing all articles
Browse latest Browse all 1382

"Could not find the main class" Java error on Windows 7 but not on Windows XP

$
0
0

Dear all,

 

This is the first application that I am trying to package and virtualize with ThinApp.

 

It is an old business application that usually runs on Windows XP SP3 x86.

The .MSI that I generated with Thinapp works very well when installed on a Windows XP SP3 x86.

 

However, our main goal of using Thinapp is to install it on a Windows 7 SP1 x64.

But when doing so, the application triggers a Java Virtual Machine Launcher error message saying: "Could not find the main class. Program will exit."

 

I thought this was because the application integrates a JVM 1.4.2, and that my XP does not have any JVM pre-installed but the master image of my W7 has a 1.7 JVM. But even after I uninstalled the 1.7 JVM and installed the 1.4.2 on the W7 machine, I kept getting the error message so I guess it is not related.

 

Is there an option that I missed during the generation of my MSI so that it can work on a Windows 7 x64 ?

 

Thank you all for your help.

 

D.


Viewing all articles
Browse latest Browse all 1382

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>