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.
126
questions
22
votes
9
answers
164k
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 ...
22
votes
4
answers
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 ...
20
votes
7
answers
30k
views
How to pin an executable jar to start in Windows 10?
I tried creating a normal shortcut, and a javaw.exe shortcut, which creates the context menu option "Pin to Start", but that does nothing.
18
votes
5
answers
85k
views
How do I check what version of Java I have installed?
I want to check what version of Java is installed on my PC before installing the latest Java update. How can I do this?
14
votes
2
answers
53k
views
How to get a browser that supports Java?
All the major browsers seem to have dumped Java. I frequent some sites such as 2draw.net that allow you to use Java applets to create art on the web, but some of these seem to be failing with recent ...
13
votes
2
answers
19k
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 ...
11
votes
1
answer
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 ...
8
votes
2
answers
18k
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 ...
8
votes
2
answers
5k
views
What are the rationales behind that Java does not overwrite / remove its older updates after each update?
Can I uninstall the older updates?
Regarding updates, I am referring to those Update 1, Update 2, e.g. Java 7 Update 1, Java 7 Update 2, and so on.
I am speaking with respect to Java for Windows.
8
votes
2
answers
12k
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 ...
7
votes
1
answer
1k
views
Modern alternative to POVray scene description languade [closed]
in short:
Do you know something for generative scripting of 3D scene and rendering it like POVray, but with more modern rendering technology ( Metropolis-light transport, GPGPU, ambient occlusion ), ...
7
votes
5
answers
41k
views
Unable to run .jar files by double-clicking them on Windows 7
Running a .jar file in the command line works fine, but I am unable to execute .jar files on my PC by double-clicking them. What is interesting, the same .jar files successfully execute on my laptop ...
7
votes
4
answers
20k
views
Problem with remoted display of java applications
I'm trying to remote display Java based development environments, such as NetBeans and IntelliJ, from a linux machine to a windows machine. When I do this, the right click functionality of the ...
7
votes
2
answers
14k
views
Running jdk 8 in docker suddenly broken on arch linux with "unable to allocate file descriptor table - out of memory"
I am trying to restart my docker containers after upgrading my system yesterday. I am running an sbt (scala build tool) container. Unfortunately, it stopped working with the following error
library ...
7
votes
3
answers
27k
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 ...
6
votes
4
answers
42k
views
Where to download the last Chrome version with Java (NPAPI) support?
The Google Chrome browser version 45 completely dropped support for NPAPI in September 2015. This means plugins for Java, Silverlight, Facebook Video and other similar NPAPI based plugins will no ...
6
votes
1
answer
35k
views
Disable Java 8 update 20 security prompts
Java version 8 update 20 introduced a tedious step of having to verify if an applet is legitimate through some convoluted series of steps. Oracle says this about it:
Medium (removed from Java 8 ...
6
votes
3
answers
22k
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....
6
votes
2
answers
14k
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 ...
6
votes
3
answers
111k
views
How to disable the Java update message balloon in Windows 7? [duplicate]
I've looked in the Java section of the Control Panel, but don't see an obvious way to disable the automatic message balloon that pop up in Windows 7 asking me to update my version of Java. How do I ...
6
votes
1
answer
12k
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
...
5
votes
4
answers
40k
views
How to install java enviroment on Windows 8?
I want to try the newest Windows 8 64-bit. I installed it successfully. I tried to install one trading application called Interactive Brokers Trading Station which requires at least jre-1.4.
I went ...
5
votes
1
answer
2k
views
File only visible to cygwin, not windows?
Problem:
We have a file created with keytool (from jdk 1.5) that is only visible with the ls command. When we do a dir, it's not there.
Specifics:
This file is owned by the user, all other files ...
5
votes
2
answers
20k
views
How to run two browsers (Firefox) with Java plugins in Windows (7) having different versions (1.6 and 1.7)?
For an old KVM switch I need to run a browser with Java 1.6. But for all other cases I want to use the latest Java browser plugin which is 1.7.
On Linux I can create two profiles and put in each a ...
5
votes
2
answers
7k
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?
5
votes
3
answers
6k
views
java.exe -version and pushd?
I have noticed that when I run the following command
Pushd \\RemoteMachine\C$ && java.exe -version
I get the java version of the computer I am on. However when I run the pushd command with a ...
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
4
answers
5k
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 ...
4
votes
2
answers
4k
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
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
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
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
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
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. ...
3
votes
2
answers
12k
views
Auto deleting files older than given minutes on Windows
I have a folder on my PC in which I keep my temporary files, which I won't be needing after some time. I manually delete them from time to time. What is a way to automate this? I can think of deleting ...
3
votes
1
answer
2k
views
eclipse org.eclipse.swt.SWTError: No more handles
On ubuntu 18.04, eclipse fails after startup and also fail with its installer.
!ENTRY org.eclipse.ui 4 0 2019-01-29 14:14:22.895
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt....
2
votes
3
answers
2k
views
Cannot Install JDK
For the life of me, I can't install the JDK on Windows Vista. I keep getting the error, "This Software Has Already Been Installed on Your Computer. Would you like to reinstall it?" Problem is, it's ...
2
votes
1
answer
2k
views
How do I have Java auto-update for both 32-bit and 64-bit?
I have both Java 32-bit and Java 64-bit installed on my computer, and when automatic updates rolls around it asks me to save in Program Files (x86), but no equivalent for 64-bit Java comes up. How can ...
2
votes
4
answers
16k
views
set JAVA_HOME in windows but "ant build" still fails
I've set JAVA_HOME in my Windows environment preferences:
echo %JAVA_HOME%
C:\Program Files (x86)\Java\jdk1.6.0_20
However whenever I try to run ant build I get the following:
Perhaps JAVA_HOME ...
2
votes
1
answer
3k
views
.deb package for Ubuntu: correct Java dependency
I'm currently in the progress of creating a .deb package of our Java-based application, especially for Ubuntu users. Our application runs with the JRE 1.6 and 1.7 from OpenJDK (openjdk-6-jre-headless ...
2
votes
4
answers
9k
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 fix ...
2
votes
2
answers
7k
views
Unable to change the Java update settings in Windows 7 control panel
Java updates are necessary but they are so frequent that i am now tired of it. Besides, I need to do simple work on my PC and the requirements for Java are seldom.
Today, I went into the control ...
2
votes
1
answer
335
views
Running Java using a junction for the executable's folder does not work
I have just upgraded from Java version 8 to version 12.
The OS is Windows 7 Home.
As Oracle no longer provide a separate JRE, when running a program I need to provide the folder name for the Java ...
1
vote
2
answers
365
views
sdkman installation fails on raspberry pi
I am trying to use SDKMAN to install java 17 on raspberry pi and the installation seems to work at first, it makes an initial download, but then it intends to Installing script cli archive... and it ...
1
vote
1
answer
1k
views
Problems in building a Github Android project
This is a follow-up question here. I was initially trying to just install the .apk executable, but now I am trying to build the project located at: https://github.com/garlicPasta/dotViewer
It is ...
1
vote
1
answer
120
views
Problems in building a Github Java project
This is a follow-up question from my previous question. I was initially trying to just install and run with the executables, but now I am trying to build the project located at: https://github.com/...
1
vote
1
answer
2k
views
Raritan KVM KX2 won't work because of java issue with firefox 48 on windows 10
I have been able to get past many obstacles already to even get to where am at. I was able to install firefox 48 32-bit on windows 10 pro OS. I also installed java and enabled java on firefox.
Was ...
1
vote
1
answer
792
views
NetworkServerControl has been compiled by a more recent version of the Java Runtime
I am using Netbeans to develop a Java application using also JavaFX.
While developing the app, I took the BAD decision to upgrade my environment and went from Java8 to Java 11 and from Derby 10.14 to ...
1
vote
1
answer
3k
views
using path from registry in a batch file
I am pretty new to registry and batch files editing. I want to replace path C:\PROGRA~2\Java\jre8\bin inside my batch file to a more generic path so that each time I don't have to modify the path and ...
1
vote
2
answers
606
views
Deploy 3rd party Apps via Microsoft Deployment ToolKit
I want to deploy an image containing Windows 7 x64, Office 2010 Professional Plus x86, Java, Adobe Reader and Flash player and SEP Client.
I've made successfully an image containing Windows 7 x64, ...