Questions relating to the installing and use of the Java Development Kit (jdk)

learn more… | top users | synonyms

-1
votes
1answer
18 views

what are these outputs in terminal while installing/upgrading jdk

I've been installing jdk i have more than single problem 1.in 1st line when i try to set alternative of java it said java is already managed what does this mean 2.why i have to type java1, javac1. ...
-1
votes
1answer
30 views

Unable to install jdk1.8.0_65 on Ubuntu 14.04

I've created the /usr/lib/java directory and moved the jdk directory in it. but while using the following commands, i'm not getting any output(not even an error): sudo update-alternatives --install ...
1
vote
0answers
30 views

Can't find JDK for Unity3d development

I'm developing on Unity3d 5.2 a game which should be build for an Android. I use Ubuntu 14.04. I used: sudo apt-get install openjdk-7-jdk to install java. Set $JAVA_HOME and $PATH variables in ...
0
votes
1answer
56 views

Trying to install Java JDK from their SE Downloads page. Don't know how to use tar.gz

So I am trying to install Java JDK in a more difficult manner I know. But I want to understand what I am doing. I have the tar.gz file downloaded from here. Now I used tar -xzf ...
0
votes
0answers
13 views

Multiple versions of Java on Ubuntu

My end goal is to run Diffkit http://www.diffkit.org on ubuntu 14. JRE 7 is not supported, so I am installing JRE 5. I followed the instructions in an existing answer Downgrade Java 1.7 to Java 1.5 ...
0
votes
0answers
25 views

How to handle Java and software installation

I am not a Java expert and I am trying to understand how java relates to different programs. After some program installations (latest versions) I think that the default java is changed and I ...
-1
votes
0answers
13 views

unable to install any package and neither able to update nor remove any package

Sir/Ma'am, I have tried many times but i don't find any solution to this. help me out! I have tried many commands like apt-get remove CLICK TO VIEW . i am getting this error always please help ...
0
votes
1answer
287 views

which java se to download for linux

1 . i went to oracle site but i don't understand which Java to choose ! Linux ARM 32 Hard Float ABI 77.71 MB jdk-8u71-linux-arm32-vfp-hflt.tar.gz Linux ARM 64 Hard Float ABI 74.65 MB ----- ...
0
votes
1answer
25 views

Properly set up java development environment

I am a java developer mainly coding on win environment. I am planning to move to Ubuntu and I would like to know what is the best way to setup my jave, ide, maven and others. Under Windows I would ...
0
votes
0answers
16 views

Why does Ubuntu not want to remove old Java versions?

I finally got my 14.04 system up to date with Java and JDK 8 - as you can see in the screenshot, I still have JDK7 though. When I go to uninstall it, it says it will uninstall freemind and other ...
0
votes
1answer
27 views

Trying to install JDK [duplicate]

I'm trying to install JDK on ubuntu 14.04 LTS. I downloaded it from oracle website. Than I extracted it and moved in usr/lib/java. It says java doesn't exist but it does. I use this video ...
1
vote
0answers
9 views

Uninstalling Java JDK causing unable to locate package?

I'm very new to using the terminal, and I recently installed openJava JDK for use in Android Studio. Upon setting up the studio it said that I should uninstall openJava JDK and instead install Oracle ...
0
votes
1answer
92 views

Installing Java Offline

I understand that this question has been asked exhaustively and do not mind if it is marked as a duplicate, but I am having a little trouble setting Java up. When I follow this post, number six says ...
1
vote
2answers
104 views

“java -version” showing a different output. How to find the installed folder and configure JAVA_HOME and JDK_HOME?

I downloaded and installed the JDK+Netbeans bundle from the Oracle website, but when I type java -version at the terminal, I get this output: $ java -version The program 'java' can be found in the ...
0
votes
0answers
102 views

java-8-oracle (1.8.0_66) problem with PrintAssembly “Could not load hsdis-amd64.so”

I'm trying to run my programs with -XX:+PrintAssembly options but I always get message like: Java HotSpot(TM) 64-Bit Server VM warning: PrintAssembly is enabled; turning on DebugNonSafepoints to ...
0
votes
1answer
60 views

openjdk 7 java freeze launch

NOTE: Found a workaround, I just want to know where the problem is. Hello everyone, I am attempting to run a java *.jar file that runs on my debian setup but cannot get to run on a fresh install of ...
3
votes
0answers
28 views

Is there anything wrong with java-package?

There is a question about How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE? There are 23 answers at the moment, most of them are either explaining how to do it manually (unpack, move ...
0
votes
1answer
33 views

Trying to Install Java 6

I have jdk-6u32-linux-x64.bin saved on my "Home" location. When I open the terminal to extract and run the .bin, I get a "No such file or directory" error. I've searched around and can't seem to find ...
0
votes
0answers
23 views

Chrome fonts broken after Installing java on Ubuntu 14.04

I've been trying to solve this problem for 2 days and failed. I was trying to solve another problem on Ubuntu 14.04 with anti aliasing not working in WebStrom and ended up breaking everything. Chrome ...
0
votes
1answer
46 views

Can't install Netbeans/JDK 7 on Ubuntu 14.10

I am having trouble trying to install Netbeans/JDK 7 on Ubuntu. When i try to install Netbeans, it asks for JDK 7, but i was unable to install it via apt-get. I've tried this command already: sudo ...
0
votes
0answers
269 views

“Error occurred during initialization of VM” IntelliJ

So, I've been having the issue already discussed here, and here, which showed: Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object to a version check. ...
0
votes
0answers
34 views

Installing JDK (no 3rd party tools)

How do I install the JDK from the .tar downloaded from the java website using no 3rd party tools, set up the path and jdk_home variables so they do not reset when close the terminal and make jar run ...
0
votes
1answer
57 views

How to install Red5 on Ubuntu with my vps company OVH

How do I install Red5 on my ubuntu to support cometchat? I see some instruction but they don't explain to install Red5 with ubuntu. ...
0
votes
1answer
85 views

Android Studio jdk location problem?

I had installed android studio and jdk8 on Ubuntu. when I open android studio its show me a jdk location error. When I was open the location it shows me /usr/lib/jvm/java-7-openjdk-i386, but I ...
3
votes
1answer
2k views

NetBeans not working after update

I have been usigng NetBeans 2 years now and have encountered an issue. After a normal apt-get upgrade NetBeans stopped working altogether. After this I reinstall the JRE and JDK to no avail. However, ...
-2
votes
1answer
16 views

I want to remove 1.8.0_45 completely

I have this folder jdk 1.8.0_45 and there is a whole new desktop in it and all the other stuff and it messes with my downloads sometimes could somebody please help on removing it it won't remove just ...
0
votes
1answer
87 views

Update Java alternatives

I've spent two days trying to switch over to Oracle Java because Android Studio doesn't like OpenJava. I'm on the final (third) stage of setting the alternatives and have picked up the latest(?) ...
0
votes
0answers
245 views

Ubuntu 15.10 - jboss wildfly 9.0.2.Final, Eclipse Mars crash due to JVM error

After I upgrade to Ubuntu 15.10 , when I start the jboss wildfly 9.0.2.Final and eclipse mars crashes due to JVM error. At that time I cannot access Chrome or Firefox browsers as well. Most of the ...
0
votes
1answer
223 views

Unable to set JDK path in IntelliJ IDEA

I am trying to get started with IntelliJ IDEA, however I am not able to set the JDK path. which java returns /usr/bin/java, however IDEA is not able to find the specified path. Expanding bin in the ...
0
votes
2answers
39 views

how to remove usr/lib/java/jdk/1.8.0_45

I can't recall what I did wrong but i have a folder named "usr/lib/java/jdk/1.8.0_45" that has a desktop for itself in it and all that, basicly an user for itself and all my pictures get saved in ...
1
vote
1answer
122 views

jdk7.0_80 installation problem in 14.04 LTS

I am new to ubuntu. I am trying to install java 7 in 14.04 LTS. I have a problem. I will list the activity that I have done. Kindly tell me where I went wrong. Downloaded jdk-7u80-linux-i586.tar.gz ...
0
votes
0answers
37 views

How to run jar files

I'm pretty sure this has been asked once but I can't find it so here I am. I just installed Ubuntu 14.04 and I used the command java-version to check if I have Java and it says I have it with the ...
0
votes
1answer
28 views

Would Java Matter?

I was building Cyanogenmod for S4 Mini and also writing android apps on the Android Studio when I stumbled across the JDK error on the Android Studio. It went something along the lines of OpenJDK was ...
2
votes
2answers
112 views

java -version pulling up wrong version

First off I'm using Ubuntu 14.04 I was following this video to set up a Java JDK and at the end he uses java -version to see his current version number. The Version I installed was 1.8.0_66 but ...
1
vote
2answers
175 views

How to make Java GUI programs look more modern?

I have been using Dr Java on Ubuntu 14.04 and the GUI components all look very dated compared to the ones on Mac or Windows. Is there some way of updating this, or are all Java components in Linux ...
0
votes
1answer
189 views

Installing JDK.rpm file using alien

Ok SO I'mn trying to install JDK on my ubuntu virtual machine ot use it for Netbeans but for some reason it wont work. I downloaded JDK from oracle's site, the .rpm file. I read online that I should ...
1
vote
2answers
98 views

Problem in setting JAVA_HOME variable

I have installed JDK on path /usr/lib/jvm/java-8-oracle. To set JAVA_HOME variable, I opened /etc/environment in gedit and added : JAVA_HOME="/usr/lib/jvm/java-8-oracle" to it. But I got error ...
-1
votes
1answer
17 views

problem installing jdk jvm

E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ E: Could not get lock /var/lib/dpkg/lock - open (11: ...
1
vote
3answers
330 views

Javac package is missing

I have installed the JDK package using $sudo apt-get install java-1.7.0-openjdk-devel. But now when I am running javac, it is giving the error message "Command not found". I am working from Ubuntu ...
0
votes
0answers
40 views

Permission problem with Java Applets

I have a problem with my Java installation. I can run every Java program, but if I need an Applet, the Browser displays a blank section! :/ If I start Firefox with the terminal, I see following ...
0
votes
1answer
203 views

Netbeans cannot find java

So, I uninstalled Openjdk 7 and installed Oracle Java from webupd8. But after the installation Netbeans won't start. I have tried all the methods posted online about editing the netbeans.conf file and ...
4
votes
1answer
120 views

Error while installing Oracle JDK 8 in Ubuntu 15.04

These commands both run successfully sudo add-apt-repository ppa:webupd8team/java sudo apt-get update But when I run sudo apt-get install oracle-java8-installer, it downloads the JDK but then ...
0
votes
0answers
148 views

trying to install pycharm but need to install JDK first

gives me this error The following packages have unmet dependencies: openjdk-6-jre-headless : Depends: ca-certificates-java but it is not installable Depends: java-common ...
0
votes
0answers
148 views

Trying to install Maven, getting JAVA_HOME error

I already have jdk installed and now I would like to learn Maven. When I run mvn -version I get: Error: JAVA_HOME is not defined correctly. We cannot execute /usr/local/java/jdk.1.8.0_60/bin/java ...
0
votes
1answer
539 views

Unable to set JAVA_HOME to jdk

I am trying to run android studio on ubuntu 14.04 LTS. But when I run the studio.sh script, i am asked to set JAVA_HOME to jdk from jre. Despite the fact that I have set ...
1
vote
2answers
2k views

No JDK found during WebStorm installation

After extracting the tar.gz, and $ cd ~/<directory>/WebStorm-141.1550/bin and after typing in the terminal $ sudo ./webstorm.sh as explained, I get an ERROR massage: No JDK found. Please ...
1
vote
1answer
238 views

Error while installing Android Studio, no JDK found

Tried other guides, no luck. Please assist Got the following error No JDK found. Please validate either STUDIO_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation. ...
0
votes
0answers
3 views

Installation error with Java (JDK 7) [duplicate]

I was trying to install JDK7, got everything done, download completed, but then I got faced with this error: Download done. Removing outdated cached downloads... sha256sum mismatch ...
1
vote
1answer
206 views

Gradle sync failed: cannot detect java version

Im running ubuntu 14.04.3 I installed android studio using: sudo apt-add-repository ppa:paolorotolo/adroid-studio and installed the oracle jdk 8 using: sudo apt-get install ...
0
votes
1answer
111 views

Java 7 reporting not installed?

Okay, so I am trying to build an Android ROM, but the following error returns; ************************************************************ You are attempting to build with the incorrect version of ...