Widely-used object-oriented programming language, emphasizing portability.

learn more… | top users | synonyms

4
votes
2answers
2k views

Flickering Java application GUI on windows 7

I am trying to use the jMonkeyPlatform to create a game, but the GUI of the application keeps flickering black on refreshes and resizes of the panels. I found issues on more programs that have this ...
4
votes
3answers
1k views

Is it possible to preload JVM to make starting of little one-shot java applications faster?

Expected algorithm: You start JVM without actual application (only telling it to load some jars), it loads and listens a socket and waits in a background. When you start the application ...
4
votes
1answer
670 views

Mac OS X: Java Applet requests “unrestricted acces”

My bank has a Java applet that requests "unrestricted access" to my computer. Obviously, this seems a little 1984 to me... What happens when you allow this? Is the applet allowed (Root) access to ...
4
votes
2answers
3k views

Java sound doesn't work under Linux

I just installed Fedora 12 and after downloading and running the Java Sound Demo I get exceptions. If I run just a vanilla Java program that plays a .wav file it runs silently with no sound and no ...
4
votes
3answers
673 views

Increase default font size of Java GUI applications?

Is there a way to increase the default font size for Java applications? I am using someone else's custom Java tool (no, I do not have the source) to perform text annotation for a research project. ...
4
votes
3answers
4k views

Java plugin in the browser doesn't work even though it is enabled

I installed the Java Development Kit (64-bit) recently and saw it includes the JRE plugin for 64-bit as well. But, since Firefox is 32-bit, I also installed JRE 32-bit version. This is what is shown ...
4
votes
2answers
9k views

How do I display the Java console?

I'm aware of the fact that you can set it to "show" in the Java control panel, but that's not what I'm asking about. I'm curious about the other options... "Do not start" is pretty straightforward, ...
4
votes
4answers
10k views

Launch jar files on 64 bit java in Windows 7

I wanted to run java programs on a 64 bit Windows 7 computer and I have a 64 bit Java VM. How do I launch the jar files via command line ? It seems that 64 bit Windows 7 have a seperation between 32 ...
4
votes
3answers
3k views

Installing Java 1.5 on Ubuntu? [closed]

I already have Java 1.6, but I need to test something with 1.5. I have downloaded the .bin file from http://java.sun.com/javase/downloads/index_jdk5.jsp using the Sun Download Manager. Now I want to ...
3
votes
6answers
2k views

How to ACTUALLY install Java on Linux?

I have a Ubuntu Server. From the terminal, how should I install JDK? In this guide it says to use this command: sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk But on Suns website, ...
3
votes
2answers
7k views

How do I know if I have Java installed on Ubuntu

I am trying to install the FreeMind app (i know x2) on Ubuntu 9.10 but unsure I have Java. So, how can I verify that it is on my system?
3
votes
1answer
188 views

How can I disable Java in my browser?

A new Java 0-day exploit was discovered on 2012-08-26, and is out in the wild. It affects Oracle's Java on Windows, Mac and Linux desktops and affects all major browsers. Plenty of websites recommend ...
3
votes
2answers
26k views

How to open a EAR/WAR file in windows 7

I have a few EAR/WAR files which are Java archives and I would like Windows 7 to open these files the way it opens a file with extension zip. So I open this war file and in the list of softwares ...
3
votes
2answers
3k views

How to install server JRE in windows7 64 bit?

I downloaded server-jre-7u21-windows-x64.tar.gz from the link http://www.oracle.com/technetwork/java/javase/downloads/server-jre7-downloads-1931105.html Unzipped the .gz file and got file ...
3
votes
5answers
10k views

Do I have a Java Virtual Machine on my Windows 7?

How can I find out if there is Java Virtual Machine installed on my Windows 7?
3
votes
7answers
24k views

Installing Java in Firefox without admin privileges

I'd like to install Java in Firefox on Windows but I don't have administrative privileges on my machine. Any clue on how to achieve this?
3
votes
2answers
651 views

Make My Own Made Java Based Text editor as default Text Editor in Windows

I have made a Text Editor in Java and I want to make it default text editor. Similar to Windows when it defaults to Notepad as the editor, and whose icon shows on all text files and double clicking ...
3
votes
6answers
6k views

Android SDK emulator freezes on a Mac running OS X 10.6 Snow Leopard

I'm having trouble running the Android SDK on both of my Macs running OS X 10.6.2 Snow Leopard. This appears to be a 64-bit vs. 32-bit issue, as Snow Leopard now defaults to 64-bit everything, ...
3
votes
2answers
327 views

How do I make a custom file extension open my java program?

what I'm asking is how to make any associated file type open my program with the corresponding data. For example, if you have a .doc file it opens Microsoft word with whatever is saved to that file. I ...
3
votes
2answers
914 views

File only visible to cygwin, not windows?

Problem We have a file created with keytool (from jdk 1.5) that is only visible with the ls command. When we do a dir, it's not there. Specifics This file is owned by the user, all other files in ...
3
votes
1answer
228 views

Why do Java and Flash not use Windows Update? [closed]

Windows Update should be the central way to update any software on Windows, but it only updates Microsoft stuff. Java and Flash use independent ways to update. Flash is annoying when it opens a ...
3
votes
2answers
4k views

Cannot install Java JRE on Windows XP workstation (possibly due to previous failed uninstall)

My Windows XP workstation at the office had several old versions of the Java JDK and JRE installed on it. I decided to install the newest Java JDK and uninstall the older JDKs and JREs. This resulted ...
3
votes
2answers
3k views

java tries to update every day

I am running java on a win7 environment. The issue is that it asks for update every day but does not find any updates. Shouldn't it find out when is it that there exists something new to update to, ...
3
votes
3answers
16k views

How to install java on a windows machine without having admin right?

I am currenlty working in a controlled enviroment where I dont have access to admin rights. Now, I am looking for some way to install Java on this vary machine. I have got a java installer. Is there ...
3
votes
2answers
5k views

Eclipse crashed

I have Windows 7 64 bit OS, I was just using Eclipse Helios, before I restart my pc, after the restart I am not able to use eclipse anymore. when I click on the eclipse icon, it opens but while ...
3
votes
4answers
3k views

Why am I getting “display driver stopped responding and has recovered” when using Java applications?

During normal use of Java applications (including the Java configuration application accessed via Control Panel), my screen goes black and after a few seconds I get the error "Display driver stopped ...
3
votes
2answers
9k views

Where is java jre path specified in Windows 7?

I have java installed including jre 6 and 7 on Windows 7 64-bit. When I type java -version at the command line I get: C:\>java -version java version "1.6.0_22" Java(TM) SE Runtime Environment ...
3
votes
2answers
3k views

Java -version reporting wrong version on Mac OSX Mountain Lion

I just installed Oracle's Java version 7u7 on my Mac (running OSX Mountain Lion). However, when I run java -version it still displays the old version (6u29). How do I fix this? Do I even need to ...
3
votes
1answer
269 views

What is the Linux equivalent of Window's PATH

In Windows I set my PATH to point to my JDK bin folder so I can easily run commands that involve Java. What is the equivalent of this for Linux distros? I am using Linux Mint 13.
3
votes
2answers
3k views

netsh advfirewall => command not found

Because of the Java 7 firewall problem, I am trying to execute the following command as administrator but I get an error: netsh advfirewall set global StatefulFTP disable (German) "Der folgende ...
3
votes
1answer
842 views

Error while removing Java on Windows 7

I'm trying to uninstall Java from Windows 7. ERROR 1723.There is a problem with this windows installer package.A DLL required for this install to complete could not be run.Contact your support ...
3
votes
1answer
2k views

32-bit java dominates my PATH magically

I have a 32-bit Java installed just for Chrome and 64-bit Java JDK for everything else. When I type java -version in the cmd, the 32-bit Java answers: C:\>java -version java version "1.6.0_26" ...
3
votes
1answer
731 views

MTU setting ignored by Java socket on loopback

I've got a mtu problem. I did the following: root@sa-headend:/home/sa# ifconfig lo mtu 1500 root@sa-headend:/home/sa# ifconfig lo lo Link encap:Lokale Schleife inet ...
3
votes
3answers
378 views

If I need to install the latest Java SDK, what apt-get should I install?

I'm on Ubuntu Maverick. There are too many packages when I run apt-cache search java.
3
votes
1answer
5k views

eclipse adding java ant based project: Specified buildfile does not contain a javac task

I have a project that i wrote for apache tomcat. I started working with eclipse i want to import the project to eclipse ide. using eclipse 3.6.1. when i create a new project using : File -> New -> ...
3
votes
1answer
4k views

How to downgrade JRE's version in Ubuntu?

Currently I am having JRE 1.6.0_20. How do I downgrade it to JRE 1.6.0_17? How can I downgrade? I'm using Ubuntu 10.04 LTS.
3
votes
1answer
2k views

Windows' “open with” with java and a jar file

I use the rest-client to test REST APIs. It is basically just a .jar file, that is called via java -jar rest-client.jar. The rest-client uses two file extensions, in my case .rcq, to store data in ...
3
votes
1answer
271 views

Package/Isolate browsers together with old Java versions?

I am in need to supply old Java versions (1.4, 1.5 and 1.6) for three different webpages which require the Java Plugin in those specific outdated versions. My environment is a Windows Server 2012 ...
3
votes
2answers
190 views

Copy Linux liveUSB causes errors with init.d scripts - Impossible..?

Please post your thoughts ideas or anything you may come up with. I would be very interested to see what anybody else is thinking. The Overall Problem When I install a simple Java application ...
3
votes
2answers
4k views

Performance OracleJDK or OpenJDK

I am forced to using Java on my server and I am having a headache installing Java. I have an automated deployment script which installs the software and needs to be run to reinstall the server ...
3
votes
3answers
701 views

Updating from Java 6 to Java 7 on Mac

I am trying to install Java 7 on my Mac but after the install if I do a java -version I still see the old version... Can someone please help me out
3
votes
2answers
779 views

Why Java in Chrome browser is not actual

Chrome tells me:"The Java plug-in was blocked because it is out of date." I actualise it to newest version by .exe file on refered link http://java.com/en/download/index.jsp but Chrome still tells me ...
3
votes
1answer
686 views

Jabref will not start

When trying to start jabref, I see the following error WARN No appenders could be found for logger (org.java.plugin.ObjectFactory). log4j:WARN Please initialize the log4j system properly. Oct 31, ...
3
votes
1answer
731 views

java wont run under chroot cause it can not find shared libraries

i have openjdk and jRuby installed and running properly. however when i run exactly same environment under chroot, i get: error while loading shared libraries: libjli.so: cannot open shared object ...
3
votes
1answer
114 views

Can I use my own Java program as a command in Windows?

I've developed a Java program which does the same task as the ls command in Linux. After developing it, I was thinking about using it as a command in the DOS prompt. Does Windows allow this? If it ...
3
votes
1answer
5k views

Running 32bit eclipse on 64bit windows

I am trying to use a 32bit installation of eclipse on my 64bit windows machine. I have eclipse extracted to my C: Drive and Java installed in ProgramFiles(x86) When I go to start eclipse I get the ...
3
votes
1answer
321 views

Different installer variations of single Java version

Can anybody explain to me the difference between jre-6u20-Windows-i586-s.exe (downloaded from www.java.com) and jre-6u20-Windows-i586.exe (java.sun.com)? what does -s mean? And also what are exactly ...
3
votes
3answers
102 views

How web servers can find each other in a local network?

I would like to build a local network consisting of several computers each of which is running a web server. These web-servers should communicate with each other. But the problem is that IP addresses ...
3
votes
1answer
774 views

Java - indicated update available but when clicked said already latest

Does anyone has the same problem as me? I am not sure if Java has a update or not, but it keeps asking me to update daily, but when I click to update, it said I already has the latest update?! My ...
3
votes
1answer
263 views

“Load average” stuck on 7.0

I'm using gentoo and anytime I do uptime, my "Load average" is stuck at 7.0 across the board. When using top or htop or dstat the CPU usage is always idle. The computer is used to run a Java program ...