Which system information are useful - especially when tracing an exception or other problems down - in a java application?
I am thinking about details about exceptions, java/os information, memory/object consumptions, io information, environment/enchodings etc.
...
I'm using notepad++ to learn java, I have it set it up to compile and run java from the Run menu, only that I have been coding small exercises w/o external libraries, I know I have to use -classpath to tell the compiler what library to use, but I was wondering if there is any way to tell the compiler to "use" the libraries in the lib dir...
As asked and answered here, python has a useful way of deployment without installers. Can Java do the same thing?
Is there any way to run Java's jar file without installing jre?
Is there a tool something like java2exe (win32), java2bin (linux) or java2app (mac)?
...
First off, I'm new to Maven, hence my problem might have a simple solution.
I've created a project in eclipse and added maven dependencies. In Eclipse, it says that I am using JRE 1.5. Everything works fine in Eclipse, for instance, I can run my tests.
When I try to run mvn clean install from the terminal, it gives me the following er...
Is there an announced end of life/end of support-date for the ibm jdk 5
(on Solaris/SPARC and Linux/x64)?
...
Swing applications always start maximised on one of my computers, but not on others. I've posted about this issue on the Sun Java forums without any solution being found. I tried uninstalling the JRE and reinstalling it to see if that would fix it, but it hasn't. Does anyone have any ideas?
...
Hi,
Is there a way to switch between multiple versions of JDK/JRE in Internet Explorer ?
Wanted to use jdk 1.4, jdk 5 & jdk 6.
Thanks,
Michael
...
Hi there I have a program that requires me to set the PATH environment variable to point to JRE version 1.5 as I need to access the program via a command prompt. So any ideas on how to do that?
...
I've been developing an application in Java for quite some time now on my Windows and Linux machines but just recently switched over to my new MacBook Pro that has the latest (JRE 1.6 update 20) installed on it. I just started noticing while testing out the various features of the application that it gives errors randomly when interactin...
root@server [/mnt/elm332/Setup/Linux]# ./setupLinux64.sh -c
Unpacking JRE ...
Starting Installer ...
./setupLinux64.sh: line 433: /tmp/setupLinux64.sh.28603.dir/jre/bin/java: Permission denied
root@server [/mnt/elm332/Setup/Linux]# whoami
root
Why would this be happening? Note that this is a mounted ISO file (copied in /tm...
I have an external Windows .exe that is actually Java application: Running the .exe starts javaw.exe, which in turn runs that Java application.
I didn't write that application and have no access to it through an API. I need to be able to kill it, however. So right now I just kill the Windows process javaw.exe, which is fine for a test m...
Hi,
We have a .NET application that is loading a java applet through the IE control.
the problem started when we upgraded our server to 64 bit (window xp) and using JRE version to use 1.6-18. Since then, the applet is stop loading when it using the JRE 1.6 .
I also tested it to see if it was running under 32 bit IE running on a 64 bit...
I am making a remastered distribution that was at first packed with Sun Java, however I decided I would like Java to run from a folder on the hard drive with my application instead. I see there's a portable Java for Windows - how can I do this with Linux? I haven't tried simply putting the whole folder in there but that seems like an ugl...
I try to install jdk and jre by using 'apt-get' command, but something wrong occured:
......
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
sun-java6-bin: Depends: sun-java6-jre (= 6.2...
Just noticed that JDK contains src.zip with a set of java files. I checked JRE and didn't found it over there.
Does it mean the JVM does not need these files in order to run my code?
...
What I noticed is that rt.jar's size is different between JRE and JDK.
It is bigger in JDK. Why is it so?
...
I am looking to start a java web applet, as I need something that doesn't need downloaded (saved to computer) and for the most part will work for Windows and OSX.
I have never done anything with java, so my question is can you do everything you can do with a normal java jar file on the web?
More specifically, can you write a web applet...
My Java program is in working order when i use it under Windows(Eclipse and Bluej). I compress it to a Jar and send it to my red hat and bang. nothing works. It breaks on the weirdest things, such as text field set text will not show, JPasswordfield just disappeared, Java AWT ROBOT dies too... the list goes on, first i thought it must be...
Is there any command to check the active (since the machine can have more than 1 JRE installed) JRE installation directory under Windows. For linux, the corresponding command is
which java
Is there any Windows equivalent ?
...
Hi there,
This is the context: I've just developed an app that needs to be launched in SERVER mode (java -server). I'm using the JSE SDK (JDK) and I have no problems to run the app because the JDK has the Server VM. Now, I'm trying to create an installer that way people will be able to install this app in their computers. But at this po...