wood burning stoves 2.0*
The moose likes Java in General and the fly likes JRE 6 Runtime Parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JRE 6 Runtime Parameters" Watch "JRE 6 Runtime Parameters" New topic
Author

JRE 6 Runtime Parameters

Michael Creecy
Greenhorn

Joined: Jun 21, 2006
Posts: 4
I am running java 6 beta 2 because I am on Intels 64-Bit chipset and must run the java program from a browser. If I type in a Xmx setting into the runtime parameters (such as -Xmx768m)the jre will not load. On a 32-bit machine I am able to type in these parameters running JRE 6 and everything works fine. Unfortunately for the program to work I must have a runtime parameter to allocate the memory. Any suggestions?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

"I am running java 6 beta 2 because I am on Intels 64-Bit chipset and must run the java program from a browser."

You do not need Java 6 beta 2 because you're on Intels 64-Bit chipset. It sounds like you have confused a few things. There is a special version of the JDK and JRE for 64-bit AMD processors, but you say you have an Intel processor.

What operating system are you using? According to the Microsoft Windows Installation (64-bit) page there is no plug-in version for the 64-bit AMD JRE.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Michael Creecy
Greenhorn

Joined: Jun 21, 2006
Posts: 4
I am running windows xp. I realize I wouldn't have to run JRE 6 normally but since SE 1.5.0 doesn't support any browsers on the intel 64-bit, I was forced to go with 6 beta 2. http://java.sun.com/javase/6/webnotes/install/system-configurations.html
http://java.sun.com/j2se/1.5.0/system-configurations.html
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

And you need this browser support because... the only possible reason is because you are writing an applet. But you don't run applets from the command line, and you can't specify those options for an applet you are running in a browser anyway. I guess I don't understand your reasoning either.
Michael Creecy
Greenhorn

Joined: Jun 21, 2006
Posts: 4
We are running in an applet for various reasons and look to convert to java webstart in the near future. But for the meantime we are able to set the Xmx settings using some hooks into the java plug-in. But when we add these settings manually in JRE 6 the message "java cannot be loaded" appears. (This occurs with any Xmx setting we add)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JRE 6 Runtime Parameters
 
Similar Threads
Windows 7 Access DB Connection Error "Architecture Mismatch"
Websphere 5.0 slow java runtime
6 Beta 2 Parameter Settings
Check Java version programmatically
Program to Access an Array Using a Command-Line Argument