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

learn more… | top users | synonyms

4
votes
1answer
4k views

Why does limiting my virtual memory to 512MB with ulimit -v crash the JVM?

I am trying to enforce maximum memory a program can consume on a Unix system. I thought ulimit -v should do the trick. Here is a sample Java program I have written for testing : import java.util.*; ...
4
votes
1answer
439 views

How do I combine multiple java buttons into a pile on the taskbar?

Does any one know how to have open java windows stack in the windows taskbar? I'm running a few (20) java apps and they don't combine therefore taking up loads of room on my task bar. Taskbar ...
4
votes
5answers
5k views

How can I find non-ASCII characters in text files?

Is there a tool that can scan a small text file and look for any character not in the simple ASCII character set? A simple Java or Groovy script would also do.
4
votes
3answers
13k views

Import Java Trusted Certificate to JRE

I need to install a certificate from a Java app to a lot of people. I want to use a one click program or batch file to import it as a Trusted Certificate(in Control Panel->Security->Certificate). Then ...
4
votes
2answers
438 views

2 Java updates needed?

The picture below is a cropped snapshot of the programs and features section of my control panel on windows 7. Notice I have 2 Java things (Update 22 and Update 24). Is this needed, or can I ...
4
votes
1answer
2k views

Java stopped working, javaw.exe at 100% CPU

Windows XP 32bit. Working fine for a long time. Recently, everything related to Java stopped working. Even the Java app in the Control Panel is not working anymore. Whenever anything Java-related is ...
4
votes
1answer
12k views

How to install Sun's JDK on CentOS?

I having difficult time installing Sun's JDK on CentOS. The default installing with "yum" is "openJDK", but I need to install Sun's JDK. Is there easy instruction out there I can use or any ...
4
votes
1answer
2k views

Windows 8 and Oracle Java JDK 7u9 - “This application is not compatible”

I have never seen this error on WIndows 8 so far, that's why I'm asking for help here. First of all, I managed to install JDK 7u7. The installer worked like a charm, and my Java applications run too. ...
4
votes
2answers
10k views

Windows 7 unable to launch java control panel

whenever I click on java control panel, nothing happens. I did C:\Windows\System32>control java.cpl still nothing happens. I installed Java 6 update 24(the latest update), did not help. how do I ...
4
votes
1answer
16k views

How do I update Java from a non-admin account?

On Windows 7, the JVM interferes with my work by bringing up a UAC prompt at random times when it notices that it needs an update. I can see how this nagging makes sense, so I type in the admin ...
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
694 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
1k 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
5k 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
4answers
12k 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
4k 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
8k 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
189 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
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
13k 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
25k 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
10k views

Cannot install Java 7 update 9 32-bit on Win 7 64

As there were several versons of Java on my laptop, I decided to uninstall them all and reinstall only the current version. I uninstalled all 64-bit and 32-bit versions using Revo Uninstaller. After ...
3
votes
2answers
673 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
2answers
395 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
1answer
231 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
3answers
113 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
2answers
14k 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
5k 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
4k views

Disable Java Hardware Acceleration in windows?

I have some issues with my graphics card and I want to disable Hardware Acceleration for java apps. Everything that uses HA is displayed blurry. I've seen some tutorials on how to set this parameter ...
3
votes
3answers
17k 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
2k views

How to enable Java Quick Starter (JQS) on Windows 7

I remember that Unix (Sun blades and Linux) did launch java apps instantly, especially if we compare to Windows. This was cool but now I call a java utility millions of times per second in the batch ...
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
308 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
860 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
3k 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
800 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
389 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
303 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
193 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
5k 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 ...