Widely-used object-oriented programming language, emphasizing portability. Questions about programming with Java are off topic and should be asked on stackoverflow.com.

learn more… | top users | synonyms

106
votes
10answers
243k views

How to stop jucheck from running? Java won't remember “Check for Updates Automatically” setting

I've installed Java on Windows Vista, and every day I get a Vista security warning asking me if I want to run "jucheck". Apparently this is the Java automatic updater. Well, I don't want it to run ...
223
votes
8answers
69k views

How can I prevent Ask.com Toolbar from being installed every time Java is updated?

As many are painfully aware of, Oracle continues to not only bundle the Java installation with the useless Internet browser toolbar from Ask.com, but also enable its installation by default. In ...
64
votes
5answers
38k views

What should I do about com.apple.quarantine?

I've downloaded some .jar files from the internet and want to use them under Mac OS X. But the OS seems to have tagged them with the extended attribute com.apple.quarantine (no indication of this ...
17
votes
1answer
74k views

How to re-enable Java plugin on Google Chrome 42 on Windows [duplicate]

As stated in NPAPI deprecation: developer guide: In April 2015 (Chrome 42) NPAPI support will be disabled by default in Chrome and we will unpublish extensions requiring NPAPI plugins from the ...
2
votes
1answer
2k views

Java install on Ubuntu?

i'm new to linux and i was trying to install the java JDK with EE on ubuntu. I downloaded the .bin file (java_ ee_ sdk-5_08-jdk-6u17-linux.bin) from the sun site & followed the install ...
84
votes
2answers
185k views

How do I get Java support on Google Chrome in Linux?

Is there a way to run Linux Google Chrome with Java support?
30
votes
4answers
24k views

Can you configure Windows to open JAR files like ZIP files without a 3rd party tool?

I'd like to be able to examine the contents of a JAR file without having to install Winzip or some other tool and without having to rename the file. Windows Explorer can open ZIP files just fine; is ...
11
votes
2answers
8k views

What is the task “java” (parent process “launchd”) doing on MacOS X?

I have a process called "java" showing up in my Activity Monitor that uses a good amount of CPU (4 - 8% average, 20 - 80% on occasion). It reports that "launchd" is its parent process. Any idea what ...
35
votes
5answers
5k views

Can I permanently prevent Java security updates from installing Yahoo Toolbar?

Each time I get a Java security update, I have to remember to untick the box to install the yahoo toolbar browser plugin that they've decided, for some mad reason, is an important security feature of ...
7
votes
3answers
20k views

How can I set one browser to use JRE 1.5 and another to use JRE 1.6?

I think this has to be a common issue, but I haven't found any clear solution. We have several products that are accessed via a browser (IE 7) with JRE version 1.5. We now need to be able to support ...
0
votes
1answer
163 views

Simulia Abaqus installation error under Linux (Mint 17.2)

When executing the setup script from a Simulia Abaqus 6.14 installation directory under Linux (Mint 17.2), I receive an error upon launching the installer. The Abaqus installer appears to run in Java, ...
25
votes
2answers
30k views

Running Java7 in Chrome for Mac OS X (requires 64bit?

My home banking system requires Java for logging onto the bank - see https://www.nemid.nu/ for a description of the system (in Danish only). This worked fine in Chrome under Mac OS X until recently ...
25
votes
5answers
69k views

Java Control Panel does not show Update tab on Windows 7 x64

I'm running Windows 7 Professional x64. I've installed JDK 1.6.0u25 in the 32-bit version first, and the 64-bit version on top. The Java Control Panel does not show anything about updates; I can't ...
11
votes
3answers
49k views

Allowing unsigned Java applications on all sites

Java stopped running unsigned applications one day. Your security settings have blocked an untrusted application from running. The documentation states that I can add a site to an exception ...
11
votes
3answers
30k views

Find out what program runs in the java.exe process

I have a problem: always when my computer starts, there is a java.exe process listening in the port 7676. I want to find out what it is to be able to delete it. Is there any way that I can find that ...
19
votes
2answers
151k views

Where do I download Java development binaries (JDK) for Windows 7 64-bit?

I am trying to install a Java development environment on Windows 7 64-bit, but I am unable to find a suitable install. Is there one available?
9
votes
5answers
15k views

Java 7 update issues

I have been trying to log into a work presentation for three days. The site keeps prompting me to download Java 7u6, but when I follow the prompts it comes up with an error message reading: ...
7
votes
2answers
22k views

Java 1.6 on Mac OS X 10.5?

I'm running OS X 10.5.8 on an Intel iMac and don't have any immediate plans to upgrade to Snow Leopard. Am I able to upgrade Java to 1.6 somehow? The release notes on Apple's website for Java are ...
6
votes
2answers
10k views

How do I easily elevate when running a .jar file?

When trying to run an installer Jar file, I am getting an error saying that write access is denied to create a directory under the Program Files folder. Right click -> Run as Administrator is not ...
2
votes
2answers
3k views

Why won't Java 8 update 31 x64 work with Chrome 42.0.2288.6 dev x64 on OS X 10.9.5?

I've updated to Java 8 update 31 x64 on my OS X Mavericks (10.9.5) and now it will no longer work in my Chrome version 42.0.2288.6 dev. Why is this? It worked prior to updating. I've tried the Java ...
1
vote
1answer
1k views

How do I make cron run a Java GUI application?

I have a script which runs a Java GUI application using "java -jar app.jar". I have added the script to the crontab to run every minute, check the processlist if the application is up. If it isn't it ...
2
votes
1answer
360 views

Java Old JRE Installation Issue

At my company, we have an internal application that uses Java. It evidently must use 7.0.5, since the app stops working on machines that have been upgraded to 7.0.7. We have an installer stored on the ...
2
votes
2answers
983 views

how to set default java plug-in version

I can set the jre version from the Control Panel -> Java -> Java Runtime Environment Settings. But I cannot figure out how to change the Java Plug-in Version. I would like to use an earlier java plug-...
2
votes
1answer
2k views

Setting JAVA_HOME environment variable

I have set java_home on my mac, by putting export JAVA_HOME=/System/Library/Frameworks/JavaVM.frameworks/Home to my ~/.profile file. I quit the terminal and ran it again. But when I typed echo $...
1
vote
0answers
1k views

Can't install Java 1.6 on OS X 10.5.8

The official Apple updates only get me up to java version "1.5.0_30". I'm trying to apply the 1.6 update manually from JavaForMacOSX10.5Update6.pkg and it gives me A newer version of this package ...
1
vote
2answers
348 views

What is the difference between a Java virtual machine and a VMWare VM?

I know that they are both called 'virtual machines', but what is the exact difference?
0
votes
4answers
9k views

How to programmatically allow an executable JAR file through Windows Firewall?

I have created a program in Java that uses an FTP connection to download files. It works just fine when I run it in Eclipse. However, when I export the project to an executable JAR file, the program ...
0
votes
1answer
720 views

Firefox 33 doesn't see Java Plugin

I am trying to enable Java (not JavaScript) in my Firefox v. 33 so that I can use applets within the browser. Currently, I just get a dark gray box across the whole screen when I try to load an ...
0
votes
3answers
2k views

Running software on linux through Wine

Our school is setting up a Linux computer lab for students to use. We have Kinetic Books and would like to run it on these computers. The software is java-based. Is it possible to run it under Wine? ...
140
votes
6answers
106k views

Disable Java Plugin in Google Chrome?

This is the second time I've had a drive-by executable installed on my machine using the following: Google Chrome 6 (latest) Windows 7, UAC on This happened while I was browsing for images to add ...
97
votes
3answers
187k views

How do I install the Sun/Oracle Java SDK on Ubuntu?

Since 11.10 Ubuntu does not provide the sun-java-jdk, how do I install it?
23
votes
4answers
30k views

Switching between Java 7 and 8 in OS X

I have installed Java-8. Now I wanted to go back to Java-7 by default so I type in... /usr/libexec/java_home -v 1.7.0_40 --exec java -version /usr/libexec/java_home -v 1.7.0_40 --exec javac -version ...
24
votes
4answers
81k views

How do I uninstall Java6 from Mac OS X

With the end of public updates for Java 1.6 in February 2012, and the long list of security updates on the later 1.7, I am inclined to remove Java 1.6 and the JDK permanently from my Mac, if only I ...
14
votes
6answers
73k views

Enable TLS 1.1 and 1.2 for Clients on Java 7

Java 7 disables TLS 1.1 and 1.2 for clients. From Java Cryptography Architecture Oracle Providers Documentation: Although SunJSSE in the Java SE 7 release supports TLS 1.1 and TLS 1.2, neither ...
33
votes
3answers
37k views

Java update “Failed to download required installation files.”

On my Windows 7 machine the Java update consistently fails with this error message. (edit: The same thing happens on Windows 8). This seems to a common problem, does anyone have an insight into ...
22
votes
3answers
17k views

Windows 7 - How to pin a .jar to the taskbar?

I have a .jar that I run frequently, and I'd like to pin it to the taskbar. I've tried pinning the .jar itself, and I've tried pinning a .bat file that has the command to run the .jar, but it doesn't ...
22
votes
8answers
156k views

Java plugin doesn't work in Chrome — how can I fix this?

This used to work fine until a week or so ago, and I am not sure what has changed since then. I have just uninstalled what seems to be all the JVM stuff on my machine and reinstalled with the latest ...
8
votes
5answers
11k views

Wrong java -version being reported

I am running Windows 7 Professional x64 and have the following Java versions installed: x64 C:\Program Files\Java jdk1.6.0_24 jdk1.7.0_04 jdk1.7.0_07 jre6 jre7 x86 C:\Program Files (x86)\Java ...
6
votes
3answers
20k views

how to install java 1.7 runtime on macos 10.9 mavericks?

I tried to install Java 7 Update 51.pkg, downloaded from here (http://java.com/en/download/mac_download.jsp?locale-=en), following the instructions here (http://java.com/en/download/help/mac_install....
25
votes
9answers
67k views

How to disable jusched.exe on Windows 7 64-bit?

I have recently purchased a new laptop from an OEM with Windows 7 64-bit. This system came pre-installed with (among other stuff) the Java Runtime Environment (64bit). This has put the "jusched.exe" (...
7
votes
2answers
7k views

Auto-restart process on crash [duplicate]

I have a Java server process which runs native code and the possibility of the entire process crashing due to a problem in native code is always there. Is there any mechanism offered by *nix operating ...
13
votes
1answer
16k views

sorry, you must have a tty to run sudo

I had already asked this question in Stack Overflow, but I've been asked to post it here. So doing the same. I ran this command using my java program- sudo -u <username> -S pwd I got this ...
9
votes
4answers
7k views

Zombie process using 100% CPU

A zombie process, which should not be using any resources (RAM and CPU), is hogging up an entire core on my 8-core 64-bit Ubuntu 11.10 Desktop installation. This is the output of ps -el|grep Z: F S ...
4
votes
2answers
5k views

Silent Java update check

How to have automatic Java updates without jusched.exe process running all the time in the background and with control when a check for the update should occur?
2
votes
4answers
4k views

What does “com.developer.application” mean?

I'm editing a plist file on my Mac for the QuickCursor app. I'd like to try to add Aquamacs to the list of available editing applications. In any case, all the other editors listed in the plist are ...
36
votes
3answers
6k views

Why is the Java plugin (JRE) disabled in Chrome?

Why is the Java plugin (JRE) is disabled in Chrome? It is some security concern? From official Java website: Chrome no longer supports NPAPI (technology required for Java applets) The Java plug-...
23
votes
4answers
2k views

What functionality would I lose if I disable browser-based Java?

I am reading that disabling Java—not JavaScript—will make my computer safer form malicious software attacks. All indications are that it will indeed make it safer, but there are no real reasons out ...
10
votes
1answer
1k views

How to “jail” Java applications in OS X?

Is it possible to "jail" Java applications? My bank has an applet that requests "unrestricted access" to my computer. That makes me feels very uneasy. There should be a way to tell the java ...
7
votes
7answers
12k views

Why is java -version returning a different version to the one defined in JAVA_HOME?

My JAVA_HOME is set to C:\bea\jdk150_10\bin (Java 1.5). However, when I run java -version I get the following: java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java ...
6
votes
1answer
10k views

ClassNotFoundException returned for all plugins

I am trying to use a Java applet (any Java Applet), but I always get a messages saying "Error. Click for details". When I do so, the pop-up says: Application Error ClassNotFoundException ...