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

learn more… | top users | synonyms

0
votes
0answers
6 views

How to run VisualVM 1.3.8 on Ubuntu 14.04 LTS

I need to use VisualVM v.1.3.8 on Ubuntu 14.04 LTS. I read few topics on AskUbuntu and SuperUser as well and here is the summary of my steps. In order to do that I installed Java 8 by Oracle and by ...
1
vote
1answer
30 views

Unable to launch Spark

I followed this answer. I am getting this error: spark-class: line 86: /usr/lib/jvm/java-8-oracle/bin/java: No such file or directory And to my surprise, I have: gsamaras@gsamaras:/usr/lib/jvm$ ...
0
votes
0answers
6 views

Can't import Eclipse project in Netbeans

When I'm trying to import an Eclipse project to Netbeans in Ubuntu it gives me the following error
0
votes
0answers
11 views

Oracle JAVA IDEs freeze

I experience a freeze since few months. I'm using Phpstorm and since june I has to downgrade java (oracle, phpstorm can't work with openJdk) jdk from 8 to 6 to avoid a freeze when the IDE is indexing ...
0
votes
2answers
34 views

How i can run java from terminal? [closed]

I've copy the java from downloads folder to the bin folder and I've tried so many ways to set it. So can just type java in terminal. But it always not working. Please help me.
-1
votes
1answer
24 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
35 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
42 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
59 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
14 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
26 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
15 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
302 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
30 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
17 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
34 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 ...
0
votes
0answers
10 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
103 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
120 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
117 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
62 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
48 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
305 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
60 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
86 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 ...
2
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
92 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
251 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
256 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
127 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
40 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
1answer
120 views

java -version pulling up wrong version [duplicate]

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
197 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
203 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
107 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 ...
0
votes
1answer
18 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
407 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
212 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
124 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
149 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
160 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
607 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 ...