All Questions
32
questions
1
vote
0
answers
2k
views
Doesn't exists Java JRE 17?
I need the java JRE v17 but I cannot find it. Looking into https://www.java.com I can find only Java JRE v8 only.
Looking in https://www.oracle.com/it/java I can find JDK 17 but not its JRE.
What I'm ...
0
votes
0
answers
444
views
Double click on jar file dosen't work (turn .jar to .exe)
I am trying to turn my java program into an .exe.
With the help of IntelliJ IDEA I created a .jar file and I'm able to run it from my os cmd with java -jar and it works great.
When I double click the ....
0
votes
1
answer
949
views
How to overcome "jni error has occurred" after Minecraft and Java update in Windows 10?
I updated from Minecraft 1.16.2 to the latest version of Minecraft at this time which is 1.18.1, opened the Minecraft Launcher client, selected "Latest release 1.18.1" from the drop down, ...
0
votes
2
answers
762
views
Problems launching java programs in Windows Command Line after Java Update 281
After updating Java 8 (update 281) yesterday (2021-02-15) I could no longer use the Single-File Launch in the Windows Command Line. Prior to this I had no problems using this feature but now I get the ...
0
votes
1
answer
200
views
How do I uninstall Java7 from macOs
After April 2015, Oracle will no longer post updates of Java SE 7 to its public download sites. I am inclined to remove Java 1.7 and the JDK permanently from my Mac, if only I knew how to accomplish ...
0
votes
1
answer
182
views
JVM Failed to start while installing java
I installed java, and then realized that it was the wrong version, so I tried reinstall Java, but mid installation it said "JVM Failed to start". I tried to install JDK 1.8.0_221. Any help would be ...
0
votes
1
answer
1k
views
SQL Developer Can't locate Java on Mac OS
I have downloaded Oracle SQL Developer and when I attempt to run it i get the following message:
These are the java settings on my computer:
java -version: java version "12.0.1" 2019-04-16
"/Library/...
0
votes
1
answer
1k
views
JavaFX Application (JDK and JRE 8) Issue Greenfoot Ubuntu 18.04
I recently installed JRE 8 and JDK 8 to use Greenfoot in Ubuntu 18.04.
I know the majority of my Java install works (I can write code in atom and run it with scripts). However, when I try to launch ...
1
vote
2
answers
5k
views
What's the fitting Java Runtime for files compiled by JDK 12.0.1?
I have just updated my JDK to version 12.0.1.
Compiling works like a charm, but I cannot run the files anymore.
However, I couldn't find a fitting JRE (like JRE 12 or so).
As it seems, there is no ...
0
votes
0
answers
4k
views
Tomcat started / stopped with error, return code 1
" Make sure you have java JDK or JRE installed and the required ports are free
Check the ""/xampp/tomcat/logs"folder for more information "
Tell me in detail plz.
0
votes
0
answers
2k
views
Cannot uninstall java on Mac
I want to downgrade from java 9 to java 8 on my mac (MacOSX High Sierra (Version 10.13.2))
I find the same instructions regarding how to do this everywere everywhere (including on the java site):
...
0
votes
0
answers
2k
views
How can I launch keytool.exe through a batch script?
For various reasons, I want to make a batch script that can launch keytool.exe from either JRE or JDK. I thought this would be rather simple, but it has proven to be rather difficult. Here are some of ...
1
vote
0
answers
638
views
Java installations are not working for me
So I have been having some troubles with Java. It turned out I had the 32 bit version installed of jdk, not sure why. I uninstalled it to install the 64 bit version instead. However I can't get the ...
0
votes
0
answers
187
views
Downgrading from java se 8 to java se 7?
I built a web application in JAVA SE 8 using tomcat 8 but my hosting provider uses java se 7 and tomcat 7 on their web server. That's why I am getting error while deploying it. Please tell what i ...
2
votes
1
answer
894
views
Is it possible to create a WAR file using the Java JRE?
Using the Java JDK you can use the jar command to create a war file:
jar -cvf /tmp/mywar.war *
There is a way to work with .jar files with the Java JRE but can you create jar or war files with it?
/...
2
votes
0
answers
145
views
Java JRE or JDK silent Update
Is there a way to Auto Update JRE or JDK if an update is available?
Background
periodically JRE or JDK says an update is available, I would like to do this check using Task Scheduler on system boot ...
1
vote
2
answers
365
views
How to set a command without defining path everytime?
I have a command which is:
./keytool
But I always have to go to this folder to use it:
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-2.b17.el7_1.x86_64/jre/bin
How can I just use the following command ...
1
vote
1
answer
1k
views
Switching JRE version
I have JDK 1.8.0_05 64 bit, 1.6.0_45 64 bit and 1.6.0_39 32 bit versions installed on a same machine. I am using this machine for Android app development and it was working fine with Native Android ...
0
votes
1
answer
609
views
Chrome doesn't recognize that I already have Java installed
I've installed the latest JDK which also installs the JRE (1.8.0.25) The paths all seem to be set fine and Eclipse runs just fine.
But my browsers do not recognize that Java is installed and want me ...
18
votes
3
answers
37k
views
Is it safe to delete Java folders from C:\Users\(Username)\AppData\LocalLow\Sun\Java
I am using a Windows 7 64-bit PC.
I have many folders in C:\Users\(Username)\AppData\LocalLow\Sun\Java with names of older Java versions like:
jdk1.7.0_21_x64
jre1.7.0_45
jre1.7.0_25
These folders ...
3
votes
3
answers
14k
views
64 Bit Windows 8.1 Failure to reinstall Java JDK and JRE
Attempting to update to jre-7u67 from 65 did not appear to work. On reattempting, installation failed with a “Access is denied” message. JDK was still there but I followed recommendations to remove ...
0
votes
1
answer
2k
views
Java version not recognized when JAVA_HOME defined for a particular USERACCOUNT
I have been struck with problem on my development box.
I have JRE6 on my system and NO ADMIN RIGHTS.
Used this command to add user variables
rundll32 sysdm.cpl,EditEnvironmentVariables
I have ...
0
votes
0
answers
607
views
Eclipse Juno can't run any Java project
I use Eclipse Juno - Eclipse IDE for C/C++ Developers , and I can't run any Java project , mean even there is no "Run" option .
For example when I right click on the Main class I just see (no "Run"...
1
vote
0
answers
1k
views
MATLAB not loading- java NoClassDefFoundError
The installation itself was giving an error: java.util.concurrent.ExecutionException: java.lang.RuntimeException: data starting at 0 is in unknown format
but when I deselected Aeromodeling toolbox ...
1
vote
2
answers
14k
views
Upgrade to java 1.7 in eclipse on mac
I'm sort of a beginner with eclipse but I want to update the libraries or build path or whatever to java 1.7 from java 1.6 and I can't figure it out. I'm a computer science student at the university ...
5
votes
4
answers
18k
views
Java not detected by browser
I have java installed on my computer, but none of my browsers seem to detect it a and I'm not able to run any applets. (Trivial, as it may seem) I've wasted a lot of time googling and trying to ...
1
vote
1
answer
8k
views
Eclipse says "Access Denied" when running javaw and how to fix it?
I'm trying to get Eclipse to compile and run a HelloWorld class but it can't even do that. I have installed Eclipse x86 SDK 4.2.0 together bit with the latest JRE and JDK both in 64 bit as well. I ...
2
votes
1
answer
13k
views
Should JRE 7 be kept in Program Files (x86) or Program Files in Windows 7 (64-bit)?
I have updated JRE to version 7 update 4 and JDK to version 7u4. I have two Java folders, one in Program Files another on Program Files (x86). JRE was automatically downloaded to Program Files (x86) ...
2
votes
1
answer
14k
views
"Java returned exit code=13" when starting Eclipse
I have some problems starting Eclipse. When I try to start it, this error window appears:
Does anyone have any idea of how to fix this? I am using Windows 7.
2
votes
1
answer
10k
views
Fix java version mismatch in windows
I have the 64bit version of the jdk installed on windows 7. I installed the 32 bit version of the jre as websites complained that I didn't have the java plugin.
I tried in vain to get firefox to ...