Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [jre]

The Java Runtime Environment, comprising of the Java Virtual Machine and standard Java APIs.

1
vote
1answer
8 views

Installing JRE from .tar.gz

I am following the following instructions https://docs.oracle.com/javase/8/docs/technotes/guides/install/linux_jre.html#CFHIEGAA to install JRE 9. I downloaded the .tar.gz file moved it to the /usr/ ...
0
votes
0answers
54 views

Trying to download eclipse on new computer. Error JRE missing, can't open file

Java is in C:\Program Files (x86)\Java\jre1.8.0_201 When I try to run the eclipse download (https://www.eclipse.org/downloads/) the browser in the picture pops up. The fixes I have come across deal ...
-1
votes
0answers
6 views

error on running x-executable file

I want run a particular file but when I do ./, I get the following error - Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl....
0
votes
0answers
27 views

Java JRE distribution and JDK licensing

Not sure if this is the correct place to ask, but I'll give it a go :) We have a hardware product (scientific instrument) where we supply the user with a java application served via webstart and also ...
0
votes
0answers
50 views

Tomcat keeps shutting down on fresh Ubuntu 18.10 install

I'm running a completely fresh install on Ubuntu 18.10 and I can't for the life of me get Tomcat 8.5.37 to run. It keeps shutting down as soon as it runs. I have given group and user permissions. ...
1
vote
0answers
174 views

How to create an .exe installer for a Java application?

I am in doubt of which tools select for the job. I have a Java application composed of a few JAR files (a main .JAR plus libraries) and miscellaneous other files and I'd like to bundle it into a ...
0
votes
2answers
1k views

What is the latest Java JRE1.8 that you can install out-of-box on WinXP?

In the past Java JRE 1.8 could not be installed on WinXp. The error message was: the procedure entry point RegDeleteKeyExA could not be located in the dynamic link library ADVAPI32.dll I read ...
2
votes
1answer
539 views

Eclipse incompatible java versions - is it safe to install multiple JRE versions?

I installed WindowBuilder in Eclipse Oxygen.3a Release (4.7.3a) Build id: 20180405-1200 OS: Linux, v.4.15.0-20-generic, x86_64 / gtk 3.22.30 and getting an error: Eclipse is running under 0, but ...
0
votes
0answers
34 views

Java - Can you run JAR program without installing Java? [duplicate]

Can you run JAR program without installing Java? Just extract the contents of "jre-8u162-windows-x64.tar.gz" from this link and use the contents to run JAR files. Can this be done?
0
votes
2answers
68 views

Can I Use Java in the Terminal Without Installing It?

I want to know if there is a way to use commands that require Java (since I'm an Android developer), like the ./gradlew command, without installing the JRE on macOS. Is it possible to do this
0
votes
0answers
1k 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
3answers
497 views

Installing Jre 8 on Ubuntu

So I am trying to install Java Runtime 8 on Ubuntu Linux 14.04. I managed to get OpenJDK 7 using apt-get but I don’t see any JDK 8. I tried to download Oracle's Jre 8 .tar.gz file and I extracted it ...
0
votes
0answers
63 views

Internet Explorer Error Message When Running Applet

When I trying to run an applet on Internet Explorer 11 release, I am getting an error message as shown in the enclosed screenshot. How can I resolve this?
0
votes
0answers
1k 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
0answers
61 views

Strange files shows up in my /home when Ubuntu starts

Recently, I've noticed some strange files showing up in my /home directory every time when I turn on/restart my computer. They just appears and the names means nothing, I can delet them as normal ...
0
votes
0answers
41 views

It is necessary to keep the lib folder of the JRE package?

I would like to know whether after installed the Java Runtimes (JRE) on Windows, it is necessary for the webbrowser to keep the "lib" folder stored at: C:\Program Files\Java\jre***\lib, or I can ...
0
votes
1answer
559 views

Debian 8 openjdk-8-jre-headless installation fail

I have a VM I'm using to test out things with tomcat8. Since, my PC has java8 installed (and I personally don't want to fall back to java7), I tried installing JRE 1.8 on the "server" vm. Since I'm ...
1
vote
0answers
407 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 ...
4
votes
1answer
19k 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: ...
0
votes
0answers
56 views

How can I run a program that uses Java 6 or 7?

I'm trying to run ColorOracle, a software which simulates color blindness on your monitor. It is written in Java and requires "Java 6 or 7". I have Java 8 because I foolishly trusted Oracle and ...
-2
votes
2answers
391 views

which version of Jave Runtime Environment?

if I have a 64 bit Windows 10 laptop, which version of Java SE Runtime Environment 8u102, Windows x64 Offline or Windows x86 Offline?
2
votes
1answer
441 views

LibreOffice Macro does not recognize JRE

I'm brand new to using macros and spreadsheets and am having trouble with LibreOffice Calc recognizing the JRE that I have installed. I've spent a day following advice on this topic on other forums, ...
0
votes
0answers
134 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
1answer
420 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? /...
1
vote
0answers
100 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
2answers
4k views

What is java virtual machine and what does it have to do with Java?

I was trying to install eclipse on my Macbook Air. When I run the installer I get this message There seems no official page dedicated to JVM like other Apps. When I search "install jvm" I was lead ...
2
votes
0answers
538 views

Java JRE-8u66 installer does not start

I'm trying to install Java JRE update 66 (latest update) but when I click the installer nothing happens. The process is visible in the task manager but without any function. I have could install ...
1
vote
2answers
140 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 ...
2
votes
2answers
3k views

Java installation disappearing on Windows 7

I have installed jre version 1.8.0_51 on a 64-bit Windows 7. Some time after the installation I could not run java programs anymore, seemingly because the installation dissapeared. If I run "java -...
0
votes
1answer
4k views

Update Debian8 JRE 1.7 => 1.8

The OpenJDK website reports installation is a simple one line operation. Debian/Ubunutu is specifically referenced in the instructions. http://openjdk.java.net/install/ sudo apt-get install openjdk-...
0
votes
1answer
216 views

Possible to change JRE versions via command line?

We are running into an issue where we must have two concurrent JRE versions installed for a program that doesn't provide backward compatibility. Is it possible to disable/enable a JRE version via the ...
0
votes
0answers
2k views

how to install IBM java on linux

I have downloaded jre pack from IBM site. downloaded file name is ibm-java-jre-7.1-3.1-i386-archive.bin. Not sure how to install this. I couldn't find instructions on site. I can't extract it or just ...
1
vote
2answers
13k views

DbVisualizer Error “No JVM could be found ..” and “please define EXE4J_JAVA_HOME”

On this download page i downloaded dbvisualizer.zip and unpacked it to a folder. Starting the dbvis.exe i get this error: No JVM could be found in your system. Please define EXE4J_JAVA_HOME to ...
1
vote
2answers
1k views

apache-tomcat-8.0.22; Error occurred in initializing VM java.lang.NoClassDefFoundError : java/lang/Object

I have reinstalled JRE with latest version JRE1.8.0_45 . Whenever I try to run Tomcat :startup.bat this error occurs . Installation of JRE done with Oracle online installer and was perfect. ...
0
votes
0answers
95 views

Add websites to JRE8 Java Web Start exclusions list unattendedly (JRE8)

In JRE8, applets on some sites don't start until exception added for these sites: My question is, how to change these setting during or after silent install to allow browser applets from sites we use....
0
votes
2answers
3k views

Oracle JRE 7 and 8 both will not install on previously Javaless win7

Simple question I thought I'd never have to ask, since I've done it hundreds of times before: How can I install JRE? I have a Win7 x64 Pro box with no Java environment, running as an admin user. I'm ...
0
votes
0answers
136 views

Java Plugin Missing in Chrome [duplicate]

I have JRE installed on my PC, however in chrome Java plugins are missing, it was working fine, since today, Java plugin is missing from Chrome browser. I have installed JRE, but problem still ...
10
votes
1answer
4k views

How to scroll horizontally in IntelliJ IDEA under Windows?

I have a touchpad/trackpad I can scroll horizontally with (two-finger scroll) basically anywhere. Not in IntelliJ IDEA, though. Is there a way to make it work there too? (I do currently use Shift+...
0
votes
1answer
499 views

Running jar file on Windows - Prompt user to download JRE

On OS X, when I try to run a .jar file, the system would ask me to download Java Runtime Engine if I don't have it installed, which makes sense. However, on Microsoft Windows, that doesn't happen; I ...
1
vote
0answers
171 views

Can you specify the JRE version an applet should run?

Is it possible to specify the JRE version a Java applet should execute in the browser? e.g. If I have Java 7u17 and Java7u72 installed (32-bit) can the applet request 7u17 to be used? Similarly, if ...
2
votes
2answers
12k views

About adding many sites with only different ports to Java Exception Site List

After update Java to Java 8 update 25, the Medium security level has been removed from the Java Control Panel. I am a TA and need to browse many sites from the students. These sites contain Java ...
1
vote
1answer
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
1answer
3k views

Unknown Java error: Warning: Unable to load Java Runtime Environment

I am getting the following error dialogue when I want to run a program. The program has previously worked and it is giving this error all of a sudden: Warning: Unable to load Java Runtime Environment:...
0
votes
1answer
244 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 ...
0
votes
0answers
104 views

java jre installer goes into “stealth mode”

Lenovo T61 running Windows 7 Prof. No java installed as per Control Panel>Programs, javare, Total Uninstaller, etc. Typing "java" at the CLI returns "not recognized". No java in c:\program files. No ...
7
votes
2answers
15k views

Run unsigned Java applets

Basiclly the same question as Allowing unsigned Java applications on all sites, but for Java 8, where I get the pleasure of seeing this screen: Unsurprisingly, this breaks things for me. Is there ...
14
votes
2answers
25k 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
3answers
13k 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
2answers
4k views

Unable to install Java Runtime Environment (ver 7 update 65)

Background: I am trying to setup PyDev on Eclipse Luna. I have managed to download and installed Eclipse Luna. But on start up, it said I need to download and install latest Java Runtime Environment. ...
0
votes
3answers
6k views

Can not open “.jar” file in windows 8

I downloaded a jar application named Need for speed most wanted. I double clicked on the jar file icon, however it did not execute. I checked I have jre installed in my windows 8 (64 bit) machine in ...