Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Java virtual machine launcher could not find the main class program will exit (http://forums.winamp.com/showthread.php?t=282721)

Manthan 6th December 2007 07:48

Java virtual machine launcher could not find the main class program will exit
 
I have tried the "NSIS Example Application 1" from http://www.seas.gwu.edu/~simhaweb/ja...r/install.html
(i.e. Using NSIS To Make Installable Java Applications) its working fine but when i use the same code in my application the window pop ups saying " Java virtual machine launcher could not find the main class program will exit"
what is the problem??

Thanks in Advance....

kichik 6th December 2007 22:53

Sounds like you didn't replace all the strings you needed. Make sure you replace it in the shortcuts and also add every class your class depends on.

Manthan 7th December 2007 04:00

Java virtual machine launcher could not find the main class program will exit
 
Thanks kichik,
i have checked all the code once again....still its giving the same error. NSIS Example Application 1 is working fine ; only
i have made changes in the createshortcut field.

kichik 7th December 2007 08:45

Can you attach your script?

Manthan 7th December 2007 09:10

1 Attachment(s)
Hi Kichik,

Please find the attached script. I have one more doubt can i add two component pages one after another & how to add the different control on the same. can i call the java application if an event occurs on the page.

kichik 7th December 2007 09:15

The shortcut you create points to "My" and that's it. Is that your class' name? Where do you extract it? How can javaw.exe find it? You should set the starting directory of the shortcut with SetOutPath.

See my answer in the second thread for the events.


All times are GMT. The time now is 05:35.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.