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.
2,375
questions
4
votes
4
answers
97k
views
Disable Java updater in registry
Java updater ask for downloading new updates. How to disable on many computers in domain this feature? It is this checkbox:
But seems to be impossible to uncheck it in registry. I tried:
32-bit:
[...
4
votes
3
answers
59k
views
How do I remove Java in Debian?
java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
There doesn't seem to be an easy way ...
4
votes
7
answers
18k
views
Unable to install Android for Windows 7 because JDK is not found
I have JDK SE7u4 installed in windows 7. I tried to install Android on Windows 7 using the installer_r18-windows.exe but no avail.
The setup window showed the message saying that the Java SE JDK not ...
4
votes
1
answer
4k
views
Why groovy shows warning "An illegal reflective access operation has occurred" when I use JDK11
When I use JDK11, and then installed Groovy, some warning occurred like below:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy....
4
votes
2
answers
12k
views
Java 7 update 6 installation fails on Windows 7 when Chrome is default browser
I am configuring a brand new Lenovo U410 system with Windows 7 Home Premium for a user. I received the system direct from the shop. As part of the configuration I installed Java using the online ...
4
votes
5
answers
14k
views
Why there is no sun-java in Debian Wheezy and how can I fix this?
Sun's java is in Debian Lenny and Debian Squeeze repos (non-free) but no in wheezy1,2. Why?
edit: after further research I found that java has been removed. reson:
ROM; security issues and newer ...
4
votes
2
answers
13k
views
How to add Let's Encrypt to the Java allowed certificates?
I have recently switched to Let's Encrypt Private Beta for several of my domain names, and as a consequence several of my Java programs have stopped working because the certificate is not in the trust ...
4
votes
2
answers
35k
views
After Java update, Juniper VPN site is not recognizing that Java is installed
I am using Chrome with an updated Java (v. 10.51.2.13, SE7 U51). Before the updated Java, I was able to get on my job's VPN without any issues. Now, after logging in, I get this prompt:
I clicked run,...
4
votes
1
answer
5k
views
Upstart: unrecognized service (CentOS 6.4)
I have created an upstart service from this gist. I put it into:
[andrey@vm01 ~]$ ll /etc/init/play.conf
-rw-r--r--. 1 root root 1255 Dec 1 20:50 /etc/init/play.conf
I also installed upstart, as it ...
4
votes
3
answers
19k
views
How to know if I am using Java EE?
Today I installed Java EE by downloading the .sh file from the official Oracle source and running it using the sudo sh filename.sh command.
However, I have several versions of Java in my Linux Mint ...
4
votes
3
answers
22k
views
How can changes to Java Control Panel settings be saved?
I've just downloaded the latest JRE on a computer running a clean install of Windows 7. Now I want to do three things:
disable automatic updating
remove the icon from the system tray
reduce the ...
4
votes
1
answer
23k
views
How to Import *.p7s certificate chain into keystore?
I've used this commands to create my csr
keytool -genkey -alias server -keyalg RSA -keysize 2048 -keystore domain.jks -dname "CN=*.domain.com,OU=Software Development, O=Company Name, L=Asuncion, ST=...
4
votes
1
answer
10k
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 ...
4
votes
2
answers
12k
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 ...
4
votes
2
answers
11k
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 ...
4
votes
1
answer
6k
views
Upgrade from OpenJDK 11.0.7 to 11.0.11 causes SSLHandshakeException: No Appropriate protocol (protocol is disabled or cipher suites are inappropriate)
I have a Java application that connects to an IMAP store and checks for messages. This runs on an Ubuntu 20.04.2 LTS focal on AWS. It is running on Java 11 (OpenJDK).
All was working fine, until on ...
4
votes
1
answer
7k
views
Groovy - Error: Groovy: Internal groovyc error: code 1
Everytime I try to run a groovy script I recive the error message I mentioned above. I don't really have a clue how to handle this error, I only can give you the entire error message.
Information:...
4
votes
4
answers
68k
views
Windows 10 "busy processing" blue circle mouse pointer constantly spinning
I have Win10 on a Toshiba Satellite laptop. The "busy" blue circle mouse pointer is constantly on. I had been using Win10 without this issue for months. It only appeared after I did a restore from ...
4
votes
1
answer
13k
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 ...
4
votes
1
answer
10k
views
Is the Firefox browser 64-bit on Mac OS X or is the Java website inaccurate?
On the Java download page for Mac OS X, it says:
Chrome does not support Java 7. Java 7 runs only on 64-bit browsers and Chrome is a 32-bit browser.
If you download Java 7, you will not be able to ...
4
votes
2
answers
1k
views
How do I toggle Java on/off in Safari browser?
In Safari preferences there is an option to disable Java which is nice but a bit cumbersome. Is there a plugin/addon/extension or an easy way to toggle Java on/off?
4
votes
1
answer
640
views
Will the Java 7 JRE be pushed out as an automatic update to people running the Java 6 JRE? [closed]
I believe a precedent for this must exist... when the Java 6 JRE was released, were users of the Java 5 JRE automatically updated to Java 6 JRE?
Or to put it another way, are automatic update capable ...
4
votes
2
answers
5k
views
Android Studio 4.1 Stuck at loading screen in Mac
My Android Studio has been stuck at loading screen since yesterday. X_X
What I have tried:
Restarting computer.
Clearing junk files and logs.
Completely uninstall and then Reinstalling AndroidStudio....
4
votes
1
answer
4k
views
Android Studio Instrumented Test fails with "DerInputStream.getLength(): lengthTag=109, too big."
On Android Studio 3.3.2 with java --version of 11.0.2, I can't run an instrumented test without this error:
DerInputStream.getLength(): lengthTag=109, too big.
Googling turned up something about ...
4
votes
2
answers
21k
views
SSL connection on Java 7 based server fails with RECV TLSv1 ALERT: fatal, handshake_failure
A client-side SSL connection on a Java 7 based server fails with RECV TLSv1 ALERT: fatal, handshake_failure. This client is trying to connect to https://www.iatspayments.com
The SSL debug log shows ...
4
votes
2
answers
7k
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 ...
4
votes
2
answers
14k
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 ...
4
votes
1
answer
3k
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 ...
4
votes
1
answer
5k
views
How to limit a Java process to a certain amount of RAM?
I am trying to limit Minecraft to a certain amount of memory. To that end, I start it from a batch file with the following line:
javaw -Xms256M -Xmx256M -cp Minecraft.exe net.minecraft.LauncherFrame
...
4
votes
1
answer
2k
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 Adresse:127.0.0....
4
votes
2
answers
797
views
Eclipse won't Launch: java.lang.NoSuchFieldError: url
It was working last night, and then this morning, after no changes what so ever when I try and launch Eclipse it immediately cuts to a popup box:
"An error has occurred. See the log file ".
So i ...
4
votes
4
answers
19k
views
JDK 8 installation does not progress on Windows 10
I downloaded jre-8u91-windows-x64.tar.gz jdk-8u91-windows-x64.exe from Oracle web site
this Oracle web site. When I open it (by clicking double) installation windows open, then I click Next and ...
4
votes
1
answer
9k
views
Why are some variables highlighted when debugging in eclipse?
I have bright yellow highlight on some variable values in debug perspective. They are not being watched. (Cannot show image as <10 reps.)
4
votes
1
answer
3k
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, ...
4
votes
1
answer
2k
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
2
answers
4k
views
Revocation Information for this security certificate for this site is not available
I will randomly get a security alert window with a java logo that says the above, even if I'm not browsing the internet (I suspect java's auto-update or a number of other auto-updates for security ...
4
votes
4
answers
37k
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
1
answer
2k
views
Java Plugin a huge security risk? How to preseve Java plugin from privilege escalation?
Installing a regular Java plugin is IMHO a real security risk for non-IT people. Normally Java applets run in a sandbox and the applet cannot do anything harmful to your computer.
If an applet, ...
4
votes
2
answers
608
views
Good operating system/virtualization layer combination for running dual screen with XP in a vm instance?
I have a situation where my work computer has Outlook+Lotus Notes with draconian protection. Unfortunately this means that Eclipse development (meaning zillions of small files) gets very slow.
I now ...
4
votes
1
answer
2k
views
Can I delete the Java folders in ~Library/Application Support?
Can I delete the Java folders from Users/me/Library/Application Support?
They are taking up 1GB of space.
Note: I have applications that use Java so I don't want to remove these folders if other ...
4
votes
1
answer
20k
views
Should Java SE Binary be allowed to communicate with my private/public networks?
I downloaded the Elder Scrolls Online Tamriel Unlimited game on my pc and got a popup explaining that Java SE Binary wants to communicate with public and private networks. I am a noob. I don't know ...
4
votes
2
answers
296
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 (that ...
4
votes
1
answer
2k
views
X11 forwarding affects Java Swing GUI dropdowns - Items not selectable, Menus collapse immediately, and so forth
Have a Java Swing app that is running on a Linux server and is being X displayed back via X11 forwarding. Cygwin is running on my workstation. Connection is made to the server using PuTTY with X11 ...
4
votes
1
answer
1k
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 ...
4
votes
3
answers
4k
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 (...
4
votes
5
answers
17k
views
JDK-Installer doesn't install
I can't install JDK on my Windows 7 64bit system. I downloaded the latest version (jdk-7u4-Windows-x64.exe) from Oracle and ran it. A warning appeared, because it's a download. I commited to continue. ...
4
votes
2
answers
496
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
1
answer
3k
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
1
answer
13k
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
4
answers
4k
views
What do the parameters in update alternatives install mean
I need help in understanding the following parameters
"/usr/bin/java" "java" ""/usr/java/latest/bin/java" 1
in the following command.
update-alternatives --install "/usr/bin/java" "java" ""/usr/...