Eclipse won't start after Java update [closed] - java

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I updated Java and now Eclipse won't start, it says Java was started but returned exit code = 13. Eclipse was working just fine until this update. Does anyone know what to do?

you may have downloaded the incorrect version for you computer? as in a 64 bit/ 32 bit conflict.
I found a similar problem to yours on another stackoverflow thread.
Can't start Eclipse - Java was started but returned exit code=13

You can fix it by changing the directory of line "vm" in eclipse.ini to the version you have just installed.
Ex: I just updated my java to java 8 update 131 to java8 update 144
C:/Program Files/Java/jre1.8.0_131/bin
Change it to:
C:/Program Files/Java/jre1.8.0_144/bin
Note: On Windows, you can check your java in C:/Program Files/Java or C:/Program Files(x86)/Java depending on 64 or 32 bit installation.

re-install java jdk to solve the problem

Related

How do I install Java 12 on Mac OSX now that Java 13 is out? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I cannot find Java 12 to install anymore, just Java 13. But Gradle does not support Java 13 yet, so I need to use 12 as an alternative for now. When I look in Homebrew using brew search java I find all sort of javas: Java 11, Java 6 (!) and Java, which used to be Java 12 but is now Java 13.
Any idea how I can get Java 12?
Solution 1
You can get Java 12 from the AdoptOpenJDK Homebrew tap. (a tap is a formula repository) And the AdoptOpenJDK team maintains different versions of JDK in this repo.
brew tap AdoptOpenJDK/openjdk
brew cask install adoptopenjdk12
Solution 2
java is a formula defined in the repo Homebrew-cask. You can search and find the history file java.rb where Java 12 was defined within, and install Java 12 with the URL to that specific history file.
The following command installs vanilla OpenJDK (not the AdoptOpenJDK) 12.0.2.
brew cask install https://raw.githubusercontent.com/Homebrew/homebrew-cask/26203ad42b40c4bc3baa2f6cfa8469f1245b7fbc/Casks/java.rb

Not able to install open jdk 8 172 version on linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 3 years ago.
Improve this question
On my development server I am not able to install specific version (172) of openjdk 8.
I tried to install using aptitude but not able to install it.
sudo apt install openjdk-8-jre-headless=8u172-b01-2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '8u172-b01-2' for 'openjdk-8-jre-headless' was not found
Use aptitude while installing
sudo aptitude install openjdk-8-jre-headless=8u172-b01-2
It was already asked, check install exact version of openjdk on AskUbuntu.

How to uninstall JDK 8 (8u73) on Linux? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I installed the JDK 8 update 73 together with Netbeans to play around with it. The whole thing was pretty cumbersome so I decided to uninstall them both and went back to Brackets.
For Netbeans it was like a walk in the park with its already provided uninstaller packet ".sh" in the directory.
However, with JDK, there seems to be no freaking way for me to rid of this thing. I searched for anything "jdk" in Software Manager and removed everything I saw in there. I also digged into the usr/lib/jvm to manually delete any leftover folders. But, as soon as I ran the installer packet ".sh" it told me that JDK 8 update 73 was still already installed....
Can you guys please help me remove this completely??? Many thanks!!
PS: I'm using Linux Mint Cinnamon 64-bit.
Try this to find files:
sudo find /usr/ -name "*jdk*"
sudo find /opt/ -name "*jdk*"
sudo find /etc/ -name "*jdk*"
Now if that doesn't find files, try with another keyword like "java".
And if that doesn't work then the installer may be checking for defined variables like $JAVA_HOME, you can check if it's defined by doing:
echo $JAVA_HOME
if it prints a path, then it's set and you need to unset it. See the following page for a reference:
https://help.ubuntu.com/community/EnvironmentVariables
Go to synaptic manager or software center and remove jdk. If it worked pls reply.
I think JDK placed in /usr/lib/jvm/jdk1.8.xxx or something like there.
It's better to install separately JDK and Netbeans.
My favourite way to install JDK in Mint (I'm using Linux Mint 17.3) described here.
I wonder if you can remove it from:
Control Panel of Windows > Add/Remove Programs > Choose Java SDK
you want to remove

can't set JAVA_HOME because can't find where Java JDK 1.7 installed [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I've just downloaded latest Java JDK for Mac OSX (jdk-7u17-macosx-x64.dmg) from here.
I have it installed, but I can't find where it has been installed so that I could setup JAVA_HOME.
notebook:work askar$ ls -al /System/Library/Frameworks/JavaVM.framework/Versions/Current
lrwxr-xr-x 1 root wheel 1 Jul 29 2012 /System/Library/Frameworks/JavaVM.framework/Versions/Current -> A
Today is March 11, 2013. Here it shows Jul 29, 2012...
Use the /usr/libexec/java_home utility which returns the path to the preferred JVM version.
With /usr/libexec/java_home -V you can retrieve a list of all installed JVMs.
The easiest way to set up $JAVA_HOME is:
export JAVA_HOME=$(/usr/libexec/java_home)
This will always set the path to the latest JVM, so you don't have to update it after upgrading java.
echo `/usr/libexec/java_home`
You can use this command to find the java home in mac os.

Java on Windows 7 [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I've installed java(jre) on window 7. But I am not able to run java from command prompt .
I've set my JRE_HOME to "c:\Program Files (x86)\Java\jre6 " in Environment variables.But still it's not working.kindly help..
Make sure, that the bin folder of your JRE is added to the PATH variable. JAVA_HOME is irrelevant here.
JAVA_HOME is a convention - some tools use that environment variable to pick the location of the right java version. They use it to construct a path like this:
%JAVA_HOME%/bin/java -version
(that should work, by the way)
Add the location of the bin directory to the front of your PATH environment variable.
The simplest way to get a default Java is to go to http://java.com and let it install what it feels like. This will be available in your PATH.
Use this command at cmd (assuming java is installed at "C:\Program Files\Java" and version is 1.6.0):
set path=;"C:\Program Files\Java\jdk1.6.0\bin\";

Categories