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!

dbrentw
Posts: 5
Joined: Thu Aug 16, 2007 7:34 pm

data model as JVM parameter

JVMs support specifying the data model via a command-line option (-d32 and -d64). I have created a dialog that allows the user to choose the JVM type; how can I specify this parameter on the command-line? It does not work as an option for "Virtual Machine Parameters" in the .ini file.

Example: Virtual Machine Parameters=-Xms1280m -Xmx1280m -d32

When running, I get an error message saying the JVM could not be created for "unknown reason"

I assume this JVM option has nothing to do w/ windows package type.

Thanks
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
how can I specify this parameter on the command-line?
You can specify that parameter in the "Command line" field on the "Edit JVM Parameter" dialog.

However we have tested this command line manually (without using the AI Java launcher) and it seams that this is an unknown parameter. This is why you get that error with AI Java launcher.

Also have you tried to run this command line manually on your installed JRE version? Does this work?

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
dbrentw
Posts: 5
Joined: Thu Aug 16, 2007 7:34 pm

thanks for the reply.

After posting this question, I tested it manually on my Win XP (32-bit) system, and the JVM indeed said the option was unrecognized. However, on the AMD64 system (w/ 64-bit linux) the options (-d64 and -d32) are supported. It seems that I will have to have 2 separate installs because of the different JVMs (not because of Advanced Installer).

Thanks

Return to “Common Problems”