jrockit bundled - Advanced Installer Community

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!

redmaze
Posts: 5
Joined: Sat Oct 29, 2005 8:51 pm

jrockit bundled

I would like to bundle the jrockit jre with my application, but every time I browse to it in the media section of the Advanced Installer, it tells me to sepcify a valid JRE folder. What is it looking for to decide if it is a valid jre?

Thanks in advance,
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi,

Advanced Installer searches for the jvm.dll file in the jre\bin\server or jre\bin\client folders. The presence of this file is the criteria used to decide whether a JRE is valid.

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com
pworthing
Posts: 12
Joined: Fri Feb 01, 2008 5:32 pm
Location: Ottawa
Contact: Website

Re: jrockit bundled

I am having this same problem. I need to get jrockit working to get the 64 bit memory advantage.
I see jre/bin/jrockit/jvm.dll in the jrockit distribution and I am still not sure what to do.
I noticed that the jvm.dll in both jre/client and jre/server are different, so I assume there is more to it than this?

Not sure if this is the same or a different question....
When I change the .ini file to use the following :
JRE Path=C:\Program Files (x86)\FIT\jre-rockit\
I get :
Error: Failed to load Java VM library: C:\Program Files (x86)\FIT\jre-rockit\bin\client\jvm.dll (errno = 193).

I tried copying jre/bin/jrockit to both jre/bin/server and jre/bin/client
Not sure what to try now?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: jrockit bundled

Hi Peter,

Have you tried setting the favorite provider for the JVM from the "Java Products" page, "Virtual Machine" tab, "Provider" combo?

Another option would be to go to Media page, Java tab and add the bundle for JRockit.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pworthing
Posts: 12
Joined: Fri Feb 01, 2008 5:32 pm
Location: Ottawa
Contact: Website

Re: jrockit bundled

Thanks, I see the Provider option and that may work on systems which have jrockit installed, I will test that next.
However, I am still having these problems. I have tried both jrmc-4.0.1-1.6.0 and jrrt-4.0.1-1.6.0

1) We like to offer the package with the jre bundled together.
When I go to the media option, I can not add the jrockit JRE. It says "Please specify a valid JRE folder".
I think it is because there is no jvm.dll in the jrockit jre directory?

2) My ideal solution is to simply replace the jre in my package, after the fact, by changing the .ini file and specifying a new "JRE Path"
Currently, we get this problem:
Error: Failed to load Java VM library: C:\Program Files (x86)\FIT\jre-rockit\bin\client\jvm.dll (errno = 193).
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: jrockit bundled

Hi,
I think it is because there is no jvm.dll in the jrockit jre directory?
This could be. Can you please give us a link from where we can download the JRockit JRE you want to bundle so we can analyze this problem?
2) My ideal solution is to simply replace the jre in my package...
As you can see Advanced Installer is looking for "jvm.dll" and if it is not found the error appears. Probably JRockit has a new architecture
that requires for Advanced Installer to load another DLL.

If you could give us the download link, it would be really us continue the investigation.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pworthing
Posts: 12
Joined: Fri Feb 01, 2008 5:32 pm
Location: Ottawa
Contact: Website

Re: jrockit bundled

I took the first ones I found when searching :
http://www.oracle.com/technetwork/middl ... index.html

I need an x64 version. Maybe an older one will help me for now.
Until you fix it, do you have the link of the last one that worked ? Or a time frame?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: jrockit bundled

Hi Peter,
I think it is because there is no jvm.dll in the jrockit jre directory?
We have tested both 32 and 64 bit versions of JRockit (for Java version 6 1; download from the above link) in corespondent 32 and 64 bit project from Advanced Installer and the
JRE bundle was added successfully.

Also, the file "jvm.dll" is still present in both versions, under the sub-folder "bin\jrockit" from the installation folder of the JRE.

Can you please make sure the package type in Advanced Installer is of 64 bits, from the Install Parameters page?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pworthing
Posts: 12
Joined: Fri Feb 01, 2008 5:32 pm
Location: Ottawa
Contact: Website

Re: jrockit bundled

Thanks for your help on this.
I will also add that there is a Platform dropdown when choosing the JRE bundle. I think that was my bigger mistake.
Also, the default installation for jrockit seems to be the regular "Program Files" directory, rather than "Program Files (x64)" which is misleading.

Return to “Common Problems”