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

learn more… | top users | synonyms

3
votes
2answers
3k views

JAVA_HOME errors when run without sudo

Hello I am on Linux Mint 16 KDE 64. I have OpenJDK 7 installed and Oracle JDK 7 and if I run Intellij as a normal user I get: 'tools.jar' seems to be not in IDEA classpath. Please ensure ...
3
votes
2answers
7k 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
5k 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
2answers
6k 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
1answer
2k views

Run Java applets on Chrome 36 on Linux x86_64

How can I enable or make Java (OpenJDK) available on my Chrome 36 browser? I have installed all 32 and 64 bit (headless) packages as well as the icedtea-web package (noarch) and still I can't get ...
3
votes
1answer
1k views

After upgrade to OSX Mavericks: “Unable to find any JVMs matching version 1.6”

After upgrading my work notebook from Mountain Lion (10.8.5) to the Mavericks (10.9.4) this weekend, everytime I open the terminal I now get the following error message: Unable to find any JVMs ...
3
votes
3answers
770 views

Remove openjdk without removing tomcat

When i want to remove openjdk it says that tomcat will be removed too. apt-get remove openjdk-6-jre-headless Reading package lists... Done Building dependency tree Reading state ...
3
votes
1answer
551 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
3k 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
442 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
890 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
951 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
397 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
6k 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
919 views

Incorrect java -version on command prompt

I already had JDK 5 on my machine. I have updated JDK by installing Java Development Kit 7. Now, I have set the Path and JAVA_HOME variables as per latest Java. but still "java -version" showing me ...
3
votes
2answers
209 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
3answers
1k 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
1k 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
820 views

How to copy text from Java program?

I am using a Java program called JDownloader v0.9.581 and I wish to copy the full file and link list from main scrolling window. JDownloader has no way to save the full list as a text file. I have ...
3
votes
1answer
1k 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
1k 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
124 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
7k 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
3answers
781 views

Disassociate file with cmd.exe

I recently chose cmd.exe as a default program for .jar files with instant regret. How do I associate this back again with javaw.exe in the JRE? The default program check box is disabled, so selecting ...
3
votes
1answer
357 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
2answers
3k views

How to uninstall the JDK after deleting its files?

I wanted to install the JDK, but when I try to, it says: This software has already been installed on your computer. Would you like to reinstall it? I press yes. Preparing to remove... ...
3
votes
1answer
1k 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
409 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 ...
3
votes
3answers
6k views

Minecraft (Java) frequently loosing connection on Windows 7

Minecraft, a Java client application, is frequently losing connection with the message "Internal exception: java.net.SocketException: Software caused connection abort: socket write error" or the ...
3
votes
1answer
2k views

How to add CLASSPATH parameters permanently when using sudo?

On Ubuntu 12.04.2 LTS 64bits, when using sudo or sudo -i or sudo su or even su in a session, in order to use both Java AND Scala I need to enter the following commands: sudo -i ...
3
votes
1answer
413 views

Win 7 Certificate revocation information - correct way to handle it?

On one of my Win 7 (x64) computers I frequently get certifcate revocation dialogs. Most of them are somehow Java related, once in a while I get one for Xmarks. My main question is, what is the ...
3
votes
3answers
2k views

Deleted JavaVM.framework, how to restore?

I accidentally deleted /System/Library/Frameworks/JavaVM.framework, and now i can't use any command like java, javac, etc.. even if i have java installed. So someone know how to restore this folder ...
3
votes
1answer
1k views

“compute launch button tooltip” error in eclipse

I'm trying to run Android SDK with Eclipse for the first time. I have never used Eclipse before and I'm running into the following error message over and over again, with no specific trigger: "compute ...
3
votes
1answer
504 views

Understanding Proxy Servers (Operating System, Browsers, JVM, Local Proxy)

In my years of working behind a firewall at my day job, I've lost count on how many times I've had to configure, reconfigure and just plain experiment with proxy server configurations to get that app ...
3
votes
1answer
499 views

Unable To Successfully Use Java Anywhere (Windows 7 64bit)

This is a bit of an odd issue: (This is with JRE 7u7 32bit.) New Lenovo W530 laptop, everything is shiny. I tried to use a java applet for the first time recently (in Chrome). I got the Java logo and ...
3
votes
1answer
101 views

Significance of OpenJDK being Java 7 Reference?

I have read the announcement of "Moving to OpenJDK as the official Java SE 7 Reference". I know that Sun Java will now be OpenJDK + extra proprietary bits, however I am unsure of how this will ...
3
votes
1answer
390 views

Fooling a program to think the Windows XP theme is different

I love using light-text-on-dark-background color schemes for as many programs as I can. However, I don't use a light-on-dark theme for Windows XP itself, because many Windows programs do not play ...
3
votes
1answer
2k views

FFMPEG too slow audio and video merging

I am using java process builder to merge audio and video files on OS X (10.6.4) but it is working too slow, for a audio and video of around 15sec it is taking around 1 hour to merge which is tooooo... ...
3
votes
1answer
2k views

(eclipse) difference between import and create project on existing source

i usually have to build on top of APIs or other projects. i am not very familiar with eclipse, so what would be the difference between import project and create project on existing source
3
votes
1answer
70 views

How can I download a cryptographically signed version the Java JDK from Oracle?

When going to Oracle's download site (https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=java_ee_sdk-6u1u21-wjdk-oth-JPR@CDS-CDS_SMI) to ...
3
votes
2answers
4k views

Java “could not reserve enough space for heap object” on a Centos VPS

[root@lab ~]# java Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. Any idea how to fix this? [root@lab ~]# uname ...
3
votes
1answer
2k views

Is there a direct URL to download Java JDK updates? [closed]

I have a whole set of machines that are on the other side of a firewall configured to prevent all Javascript from functioning. All of them (Linux 32 and 64 bit configurations) must be updated to Java ...
3
votes
2answers
11k views

Multiple Java environment on the same Linux machine

What's is the most efficient way to install multiple concurrent Java JDK versions on the same Linux machine? I need Java5 whilst my current Ubuntu 9.10 Karmic comes loaded with Java6. I know I could ...
3
votes
1answer
1k views

How to run Java in Notepad++ command window to accept input

I'm don't know how to use the command line with Notepad++ to accept input and display output.