Questions tagged [java]
Widely-used object-oriented programming language, emphasizing portability. Questions about programming with Java are off topic and should be asked on stackoverflow.com.
127
questions
135
votes
6
answers
141k
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 ...
230
votes
8
answers
73k
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 ...
114
votes
10
answers
259k
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 ...
47
votes
5
answers
35k
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 ...
19
votes
1
answer
87k
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
1
answer
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 ...
85
votes
2
answers
188k
views
How do I get Java support on Google Chrome in Linux?
Is there a way to run Linux Google Chrome with Java support?
42
votes
6
answers
6k
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 ...
39
votes
3
answers
17k
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-...
14
votes
2
answers
13k
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 ...
14
votes
4
answers
17k
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 ...
0
votes
1
answer
733
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, ...
55
votes
6
answers
348k
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 ...
30
votes
9
answers
82k
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" (...
29
votes
2
answers
29k
views
How to change brace position in IntelliJ IDE?
I am using the IntelliJ IDEA ide for java coding. By default it produces curly braces on the same line as the function name, like so:
function bla() {
..
}
Can i change it somewhere there so that i ...
27
votes
5
answers
97k
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 ...
25
votes
2
answers
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 ...
20
votes
6
answers
49k
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
...
19
votes
2
answers
153k
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?
19
votes
3
answers
106k
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 ...
15
votes
5
answers
105k
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 list ...
9
votes
2
answers
34k
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 ...
9
votes
5
answers
16k
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
2
answers
23k
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 ...
7
votes
2
answers
113k
views
finding location java_home in Windows 10
I need help finding the location of my java_home/bin, or if it even exists. If it doesn't, what more do I need to install?
I am following some installation directions, and one of the steps says:
...
6
votes
3
answers
6k
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?
3
votes
2
answers
1k
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-...
3
votes
2
answers
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 ...
3
votes
1
answer
16k
views
Is Java 8 supported on Windows XP?
I just went to install Java 8 on my ancient laptop that runs Windows XP SP3.
Java pops up a message:
Java 8 requires a newer version of Windows. You may continue with the installation, but for ...
3
votes
1
answer
4k
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 $...
2
votes
4
answers
1k
views
How can I make my ISO_Level5_Shift arrow keys work in Java Swing GUIs?
I have a keyboard layout that uses ISO_Level5_Shift to provide arrow keys. From my layout symbols file:
key <AC06> { type[Group1]="EIGHT_LEVEL", [ d, D, ampersand, U2227, Home, Home, ...
2
votes
1
answer
473
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
3
answers
36k
views
javac command not found
I am trying to compile a java program I found on the internet and it says that I must check if javac is installed. I installed the JDK a long time ago so it should be working but I get command not ...
2
votes
1
answer
1k
views
Unable to setup JRE 1.5 on Alpine Linux
I'd like to setup an Alpine based Java 1.5 docker image (base on Alpine from docker hub) for my apps execution/development environment, but the installer fails to run due to some checking (df command ...
1
vote
2
answers
3k
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 ...
1
vote
0
answers
2k
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
1
answer
3k
views
Accidentally associated .exe files with java.exe [duplicate]
I have downloaded a YawCam.exe program in order to take pictures with my webcam.
After installation I clicked its icon to start then it opened 'Open With...' dialog to select which program to be ...
1
vote
4
answers
28k
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
1
answer
1k
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
1
answer
3k
views
Error : 'javac' is not recognized as an internal or external command,
java program is not running on my windows 10 pc.
C:\Users\Antony>set path=C:\Program Files (x86)\Java\jre1.8.0_171\bin
C:\Users\Antony>cd Desktop
C:\Users\Antony\Desktop>javac helloworld....
0
votes
3
answers
3k
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? ...
161
votes
6
answers
113k
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 to ...
113
votes
10
answers
229k
views
How do I run Java apps upscaled on a high-DPI display?
I'm trying to run a Java app (JAR file) on a high-DPI display on Windows 10. The app uses Swing and thus isn't DPI-aware. Normally when I run an application that isn't DPI-aware, Windows will scale it ...
100
votes
3
answers
189k
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?
37
votes
5
answers
76k
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 what'...
32
votes
14
answers
132k
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 ...
30
votes
4
answers
126k
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 ...
30
votes
4
answers
120k
views
How do I run a JAR file without installing Java?
My question may seem odd but this is indeed what I need to do. For the first in the last (maybe) 10 years I have to run a JAR file in my computer. But I don't want to install 'the Java' (and all those ...
27
votes
6
answers
32k
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 ...
25
votes
4
answers
49k
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
...