jre

How do I detect which kind of JRE is installed -- 32bit vs. 64bit

During installation with an NSIS installer, I need to check which JRE (32bit vs 64bit) is installed on a system. I already know that I can check a system property "sun.arch.data.model", but this is Sun-specific. I'm wondering if there is a standard solution for this. ...

Running java programs in one runtime instance

Hi, I am wondering if such thing is possible: I have a java program that takes arguments and gives output to the console. What i need is to run it multiple times - it (jar file) runs smoothly but the overhead for starting and stoping java runtime is way to big. Is there a way to instantiate java runtime (or vm, I'm not sure how to call...

.NET or Java based small desktop app

Hi, I am trying to get a very small desktop app built - something that can be downloaded by people very quickly. I am trying to decide whether i shd build it in .net or java. I know Java will be cross platform, but I want to know if a lot of Windows users do not have JRE installed on their computers, in which case I am told they will ne...

.NET or Java based small desktop app

Hi guys, I had posted a question a few days ago and thanks a lot to those who already responded. I am reposting the question because it seemed like I needed to clarify our requirements. So here it goes in more detail. I am trying to get a very small desktop app built - something that can be downloaded by people very quickly. I am tryin...

Mac OS java version problem for jar files

I have already developed a setup.exe for windows, having features like autodetecting JRE version, autoinstalling required JRE version, autostart on windows start etc. I have made this exe from a jar file(jar file was not having the above mentioned features. Features are added later when transforming a JAR to EXE. Now I was wondering if I...

Autodetect JRE Version and Install the required Version on MAC OS X before launching an application

Autodetect JRE Version and Install the required Version on MAC OS X before launching an application.How? ...

How to run a program using Wine that requires JRE on Ubuntu?

Hello, I have an application that requires JRE to run on Windows. I have now migrated to Ubuntu and trying to run that application using WINE. But I get the error "No Java Found". Thanks in advance... Zaheer ...

What to do when java.util is missing on a Mac

This is kind of weired but my Mac/Eclipse isn't offering me any java.util classes. I am still able to run the project which contains heavy use of (let's say) Vector, but I am not able to add a new Vector in the code anywhere. Eclipse isn't offereing me... I spent the last night reconfiguering the installed JRE's and build path etc. but...

Dropping support for JRE 1.3

We provide a popular open source Java FTP library called edtFTPj. We would like to drop support for JRE 1.3 - this would clean up the code base and also allow us to more easily use JRE 1.4 features (without resorting to reflection etc). The JRE 1.3 is over 7 years old now! Is anyone still using JRE 1.3 out there? Is anyone aware of any...

Gears complaints about JRE 1.5 in GWT project

I just tried to use Gears in my GWT application and got following error: Jul 12, 2009 6:26:29 AM com.google.apphosting.utils.jetty.JettyLogger info INFO: jetty-6.1.x Jul 12, 2009 6:26:29 AM com.google.apphosting.utils.jetty.JettyLogger warn WARNING: failed com.google.apphosting.utils.jetty.DevAppEngineWebAppContext@c45809{/,/Users/work/...

Attach the Java Source Code

I cannot for the life of me attach the java source code to eclipse so I can see the inner workings of the language. Not even something as simple as the String Class. when I run java -version this is what I have: java version "1.6.0_14" Java(TM) SE Runtime Environment (build 1.6.0_14-b08) Java HotSpot(TM) Client VM (build 14.0-b16, mixe...

How to redirect verbose garbage collection output to a file?

How to redirect verbose garbage collection output to a file? Suns site shows an example for unix but it doesn't work for windows. ...

windows silent net installer for Installing Jre,application jars with no user interaction through firefox plugin

Hi, Need silent net installer for Installing Jre, application jars & java browser Plugin with no user interaction, via firefox plugin. Please let me know at earliest. Regards Anand. ...

Java: Why method type in .class file contains return type, not only signature?

Hello, There is a "NameAndType" structure in the constants pool in .class file. It is used for dynamic binding. All methods that class can "export" described as "signature + return type". Like "getVector()Ljava/util/Vector;" That breakes my code when return type of the method in some .jar is changed, even if new type is narrower. ...

What is the state of Open Source Java?

What is the current state of Java's transition to an open source license (which Wikipedia lists as the GNU General Public License / Java Community Process)? Java being inclusive of many things, including: The JVM The JRE The JDK The Core Java Libraries JavaME JavaEE I've heard/read various things, but never seen it laid out in a s...

JSP files won't compile - JSPTranslator.CouldNotLoadClass

I have 6 JSP applications running on a Windows Server 2003 box with JRun 4 with Updater 7 and the Java 1.6.0_14. All of my applications are working just fine except for 1 of them and any new ones I create in JRun. I just cannot find where the difference in configuration or permissions is. Whenever I attempt to access a JSP file on the...

Check Java is present before installing

I'm creating an InnoSetup installer for a jar app. What I want to do right now is to check if java is present before proceeding with the install. So I only need to be sure the users will be able to run: java -jar my-app.jar What I'm doing right now is: [Code] function InitializeSetup(): Boolean; var ErrorCode: Integer; JavaInsta...

How can I detect the installed Sun JRE on Windows?

I tried googling the answer, but all I found was tips on how to detect Java from a browser or the very generic way of just starting Java and see if it runs, which introduces a possibly long delay in my application. (~ two seconds when started the very first time on my machine) I hope there is a faster way, if the following restrictions ...

Should we store JRE in CVS/SVN?

I want to bundle JRE 6.0 together with my java application. All my source code reside in CVS. My client will check-out the code and build it themselves. Should I store JRE in CVS? ...

Will installing different version of JRE in one server causes instability?

I am writing a java program using JAVA 6. Our company server is using JAVA 5. They refuse to upgrade it to 6, so the workaround would be install another JRE 6 inside the same machine. They wonder, will installing different version of JRE causes instability? What the installation process do? Simply copy over the files and setting up envi...