jre

MXMLC and 64bit JRE

Are there any workarounds to get the Flex compiler to work with a 64bit JRE? If I use an MXMLC task in an Ant buildfile in Eclipse it works fine but if I try to use MXMLC from the command line (or try the Run... command from FDT in Eclipse) it fails, telling me ... "Error loading: C:\Program Files\Java\jrrt-1.6.0\jre\bin\jrockit\jvm.dll...

Override jre_lib classes

What is the best way to override jre_lib classes? Let's say I need to store all ArrayLists not in RAM but on disk or anywhere else. I wanna write my own ArrayList class to code this functionality and make sure that every instantiations of ArrayList use my class. I thought about class loading mechanism to change order of classpath, but ...

What flags are enabled by -XX:+AggressiveOpts on Sun JRE 1.6u20?

From Sun JRE performance tuning whitepaper, -XX:+AggressiveOpts flag is described as: Turns on point performance optimizations that are expected to be on by default in upcoming releases. The changes grouped by this flag are minor changes to JVM runtime compiled code and not distinct performance features (such as BiasedLoc...

How to unload JVM from a living process?

Hi, I'm working with JNI and trying to unload (destroy) the VM using DestoryJavaVM function (I first call DetachCurrentThread method). It seems like the it has now influence on the VM and it is still up after the call. I read in old Sun posts that DestoryJavaVM had problems in the past (JDK1.1-1.3 in 2001) but I'm using JRE 6 and it pro...

Will jdk/jre 5.0 64 bit download for windows AMD work with Windows x86?

I could not find a download link for 64 bit jdk/jre 5.0 for Windows x86. The download link says it is for Windows 64-bit AMD. We are moving to Windows 7 64-bit x86. I am looking for jdk/jre 5.0 64 bit download. Could someone help me with this? ...

Error whenever a java applet is loaded

Hi. For the past few months or so, I've been getting an error whenever I attempt to use a java applet. I'm getting this error on every browser I use, and I get the error occasionally in linux, too. The java applet loads for roughly 5 seconds or so, then it stops and I get two error messages, stating that an exception occurred (java.io.EO...

JDK Installed but browser (FF, IE) can't run Java apps

I have installed latest JDK (x64) on Windows 7 but browsers still can't run the java apps. I understand that JDK includes JRE. JDK is installed correctly and from command line (Java -version) shows installed version as well. Any suggestion please? Thank you ...

configure Sun gc logging (JRE 1.6.0) with a rotating gc log

Is it possible to configure Sun gc logging (JRE 1.6.0) with a rotating gc log. currently I use the following hotspot options for logging: -XX:+PrintGCTimeStamps -verbose:gc -Xloggc:/gc.log -XX:+PrintGCDetails gc.log increases very fast and therefore I'd prefer to have a rolling one. ...

IBM RAD With Java 1.5 wont compile code with generics

Hello I have some code that has generic references in it and my IBM RAD IDE will not compile the code, instead treating it as an error. I have checked the version of the JRE its pointing to across all the Enterprise Project's and it is 1.5 which I am told does support generics. Also I checked that all the libraries for WAS were pointi...

how to choose a jre on runtime ?

i have a Swing app and i want to run it with Nimbus look'n'feel. I have the last update for the JRE and I know how to setup my app to use Nimbus look'n'feel using UIManager class, but I want my app to choose the right JRE on runtime to use Nimbus. How to do that? I am using Netbeans. ...

Tomcat Servlet Default Datetime Format

I'm trying out Endeavour Software Project Management.It's running as a servlet in Tomcat (Catalina). The package came with tomcat and jre configure, got it running quite easily. Everything was fine, except that the Datetime format wasn't as per my machine's configuration. I couldn't find a place to configure the Datetime format. Not in t...

Java Applet would load only once (in the first window) in Internet Explorer

Hello all I am in a bit of fix here. In my company, we have a local intarnet website which has a menu bar in the form of an applet. Few days ago i remember i downloaded an update (either JRE or Windows , i can't recall) and after that in IE strange behavior is observed w.r.t the menu bar applet loading. If i open the web page first tim...

Java binary licensing

Can we include java JRE binaries (binaries itself, not installer) into our software distribution package? Can we do it for free? This software is proprietary closed-source secure client for russian gaming site (SaaS). It is commercial site, but client was created by community, without any support of site owners - so, we must use only fr...

Java - Dynamic Compilation without JDK

im aware that j2se 6 has introduced the JavaCompiler API; however, it's cumbersome to use and require a JDK not JRE. Is it possible to do dynamic compilation without a JDK? (im very interested in all-in-memory compilation.) additionally, i expect the performance to be close to raw java code, so i don't want to use a scripting language ...

JRE version enough to run a jar

What is the smallest version of JRE to run a simple jar that calls other jars while running ? ...

Automatic JRE installation

Good day, Is it possible to have a web page automatically install the JRE? The reason for the concern is that I want to use Java for multimedia content on a web page, and not have to have the user manually download and install the JRE if they don't have it already. . ...

Does Apple support Java 6 yet?

A while back I released an application in Java. While I targetted it for Java 6, I realized that there was a significant Macintosh user base. At the time, Apple had not gotten around to creating a JRE 6 for their users, so I had to make the application compatible with both Java 5 and 6. Now I've returned to that project and realize tha...

code does not run in JRE 1.6

I have some code compiled in jdk1.6.0_16 but when I try to run it on a different machine it says application requires JRE 1.5.0_08 - 1.5.0_11 What can be the issue?? ...

Why won't Eclipse compile my code in java 1.5 ?

I have installed Eclipse 3.5.2 and the JDK for Java 6. Here's my installed JREs in Eclipse I am trying to compile with an ant build file, part of which looks like this and specifies java 1.5: <target name="compile" depends="build-common, init" description="Compile files. "> <javac srcdir="${src_dir}" destdir="${build_dir}" debug...

Finding the JRE on Windows

I know this question is going to sound very stupid but here goes nonetheless. I need to bundle the new version of the JRE with my applicaiton and I cannot find either a version of the JRE that is not in .exe nor can I find where the jre is installed to on Windows 7 (windows 7 search cannot find anything so it is not helpful). Can anyon...