jre

How can I convert a JAR file to an EXE file?

I have created a JAR file and I want run it on a client. I have a couple of questions: How can I convert the JAR file to an EXE file? How can I encrypt the JAR file's contents? The jar file could be extracted with WinRAR and the classes could be decompiled with any Java decompiler. How can I create a installer? My clients doesn't have ...

JDK/JRE/JVM/Java SDK | What do they all mean? Sometimes you can develop with JRE and sometimes you need JDK?

To tell the truth, I am quite confused on all these terms (JDK/JRE/Java SDK). I am not sure what each one does. When I first started doing simple java examples in eclipse, I am pretty sure I only had the JRE, which I believed was the default java installer regular users use to be able to run java programs/applets on their system. Howev...

How to resolve Windows 7 Java Runtime path issue?

I have an out-of-of-the-box software tool that I developed in Java. This software requires a fair amount of memory so it must be ran with the -Xmx1024M Java option otherwise it will crash. The customer will run a program named start.jar whose only command is to run the system command "java -Xmx1024M -jar myProgram.jar" This has worked...

Scala Actors: Different behavior on JRE 1.5 and 1.6

My simulation is using actors and Scala 2.8-Snapshot. In Java JRE 1.5 it runs well - all 40 gears (actors) are working simultaneously. Using Java JRE 1.6 only 3 gears are working simultaneously. I tested it with and without GUI: both give same result. My simulation with GUI is available on github: http://github.com/pmeiclx/scala_gear_si...

Could not installl MyEclipse 7.1

Hi, I am trying to install MyEclipse 7.1 but i get the following error message: "Could not create folder "C:\Documents and Settings\myPcName\Settings\Temp;C:". The filename, directory name or volume label syntax is incorrect." I am really confused by these error because i don't have any idea why is happening... it should be a simple ...

jre 1.6 with GWT

I have an application written in GWT 1.4 I am all set to up grade it to GWT 1.7/2.0 Before starting i just want to confirm that GWT 1.7.1 above versions supports jre 1.6?? ...

xsom jre 1.5 problem

Hi, Does xsom parser have any problems on jre 1.5 ? ...

Getting real-time variables from a java runtime environment's (virtual machine) memory?

Say I have a couple of java runtime environments running on my system which are used by several applications. I would like to programmatically interact with these applications by reading their memory. A typical approach would be to directly look into this application's memory, however for java applications this seems to be practically i...

How to recompile Java Runtime Environment (JRE)?

I thought this would be very easy. I downloaded the JDK, extracted src.zip, modified the JDK to fit my needs and saved the file. Now, the only thing I need to do is recompile the extracted and update src folder to a "JRE". I tried using javac, but didn't get anywhere. For example, I got the error that no source files were given. I am ob...

How to set -Xbootclasspath for a JRE with a custom launcher?

I have a Java application which is using a certain Java Runtime Environment. The application uses it's own launcher to startup the java virtual machine. No use of the java.exe, javaw.exe, javaws.exe binaries is being made -- as the application seems to have it's own launcher which is a different executable. This custom launcher is using ...

IBM JRE 1.5 will not startup with the requested 1.5G memory

IBM JRE 5.0 on Windows, when given -Xmx1536m on a laptop with 2GB memory, refuses to start up: error message below. With -Xmx1000m it does start. Also, it starts fine with -Xmx1536m on other servers and even laptops, so I think that there is something more than just inadequate memory. Also, when started from within Eclipse (albeit, u...

Why's a simple change to rt.jar causing the Java Runtime Environment to crash silently?

This is what I'm doing: extract contents of my JRE's rt.jar extract src.zip of my JDK (same version) Now, if I copy Runtime.java from the extracted src folder and compile it using javac.exe without any modifications and then put it in the extracted rt folder to finally put everything back in a jar file using jar.exe, everything works...

Allocating memory to the JRE on Citrix

I want to increase the amount of memory allocated to the JRE for users accessing an applet in a Citrix environment. This is a straight forward operation on a local machine and there are numerous websites that tell you how to do this. My problem is that when I try to do this on a Citrix box, (gooing into the Java control on the contr...

Java fatal error, don't know what it means

It happens at the same place in my code (albeit not the first time the method is executed) but I can't make head or tail of what is wrong. (Doubly so as it's code for a robot). Be most appreciative if someone can give me an idea of what kind of problem it is. I assume it's to do with threading (multi-threaded app) but I don't really kno...

JRE included with JDK vs. standalone JRE

What's the difference between the JRE included with the JDK (located inside of the jre folder) and the standalone JRE? Is there any? ...

Maven project dependecy against JDK version

I have projects that need to be build with a specific version of the JDK. The problem isn't in the source and target parameters but in the jars of the runtime used during compilation. In some cases I get a compilation error if I try to compile with the wrong JDK, but sometimes the build is successful and I get runtime errors when using ...

Do JVMs on Desktops Use JIT Compilation?

I always come across articles which claim that Java is interpreted. I know that Oracle's HotSpot JRE provides just-in-time compilation, however is this the case for a majority of desktop users? For example, if I download Java via: http://www.java.com/en/download, will this include a JIT Compiler? ...

eclipse update through proxy with jre 6.0

When doing plug-in updates, I was able to get through my proxy with eclipse using jre 1.4.1. jre 6.0 gives me the error "Malformed reply from SOCKS server" any thoughts? ...

Java specification

Java JDK or JRE or both are specifications? Can anyone quote some relevant implementations? ...

Java: hasJREfinishedInitialization() - how to check if jre has finished loading/initializing all core classes?

Is there a way to check if all boot (core) java classes (belonging to the Java Runtime Environment) have been loaded/initialized for use in Java? I need to check this in a rare situation where I have have access to the JRE but not to the actual application, so I cannot simply wait for the main application to run and execute from that po...