We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

hsuntn

error on java vm startup?

Hi, I have successfully been using Advanced Installer with
JRE installed in the Application Dir, but now I want to try
using the java installation already present on the machine.
When I do so, I get:

JNI exception: failed to create the JAVA vm.

So this looks to me like it found the Java installation but is
having problems elsewhere?

Thanks with any help you can provide. Below I post my .ini
file:

[Java Runtime Environment]
Main Class=com.aidentitymatrix.merit.Merit
Virtual Machine Parameters=-standalone -Xmx256M -Xms64M
Maximum Version=any
Minimum Version=1.4
[Class Path]
Class Path=C:\Program Files\AIdentity Matrix\Merit Tutor System\aidentitymatrix.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\log4j-1.2.8.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\mysql.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\commons-collections.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\RmiJdbc.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\commons-cli-1.0.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\commons-beanutils.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\commons-logging.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\commons-dbcp-1.1.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\commons-pool-1.1.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\ojdbc14.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\skinlf.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\inria-omapi.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\weka.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\jome.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\commons-digester.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\eel.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\commons-logging-api.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\xercesImpl.jar;C:\Program Files\AIdentity Matrix\Merit Tutor System\xml-apis.jar;
[Display]
Splash Screen=C:\Program Files\AIdentity Matrix\Merit Tutor System\bitmap1.bmp
hsuntn

argh

I'm very sorry. I just realized that in the arguments to
the JVM, I accidentally put an argument to the Main class
object. Is there a place to put such arguments, i.e. arguments
that would normally go on the command line?

Thanks,
Harold
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

Put them in the shortcut starting the application.
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”