Questions tagged [jdk]

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

570 questions
10
votes
1 answer

How to uninstall Oracle JDK in Ubuntu 16.04 LTS

I installed Oracle JDK on Ubuntu 16.04 LTS using the following commands: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer But I tried various suggestions from the forums and that didn't…
2
votes
2 answers

Not recognize JDK after installation in ubuntu 12.10

I did these steps without error: JDK path : Downloads/jdk-6u37-linux-x64.bin Commands in Terminal : mkdir Programs cd Programs bash ../Downloads/jdk-6u37-linux-x64.bin ln -s jdk-6u37-linux-x64 jdk Set JAVA_HOME and …
HFDev
  • 33
1
vote
1 answer

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 Created directory jvm in /usr/lib mv…
1
vote
1 answer

Error when installing Netbeans

I need setup NetBeans on Ubuntu 12.04,but it got this error Please help me. Thanks everybody
kidsoul
  • 21
  • 1
1
vote
1 answer

How to install Oracle JDK 14 on ubuntu 18.04 and make it be used by java applications?

there is answer for old versions here: How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE? but there is a .deb file here: https://www.oracle.com/java/technologies/javase-jdk14-downloads.html
VeganEye
  • 161
0
votes
1 answer

Can't install anything because of JDK9 unsuccessful installation

Note: The JDK9, I tried to install is a 9 Early Access Release version. sudo add-apt-repository -y ppa:webupd8team/java /* added repository */ sudo apt-get update /* updated */ sudo apt-get install oracle-java9-installer /* I can't instal JDK 9…
0
votes
1 answer

openjdk-8-jdk Error: Could not find or load main class

i have installed openjdk-8-jdk from synaptic package manager and want to run java programs on my ubuntu (16.4) terminal shows me this kind of error:could not find or load java class file
harsh
  • 111
0
votes
1 answer

installing JDK 8 on ubuntu 15.10

Hello everyone I have JDK 8 installation file but I don,t know how to install it offline. could you help me?
FSh
  • 49
0
votes
1 answer

Getting JDK error while installing anything

I tried to install git and android studio but following error showed while installing. Please do help. Errors were encountered while processing: jdk1.8.0-77 E: Sub-process /usr/bin/dpkg returned an error code (1) saurav@lappy:~$ java -version java…
Saurav
  • 1
  • 1
0
votes
1 answer

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(?) suggestion from AskUbuntu, namely: sudo…
Mojay
  • 13
0
votes
1 answer

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: Resource temporarily unavailable) E: Unable to lock the…
0
votes
1 answer

Installing JDK with wine

So I have installed Unity3D with wine and it works but when i try to build it says "Unable to find suitable JDK installation". I have installed JDK and it works with Android Studio. I think the problem is that i need to install the JDK thru wine so…
Ivaylo
  • 439
  • 1
  • 7
  • 9
0
votes
1 answer

Unable to Clean boot disk space

I use a sony vaio and Ubuntu 14.04 LTS. I want to install Windows 7 and whenever I insert a bootable usb drive, Error occurs. It says that 693 MB of boot disk space require. How to clean boot disk space;rather I have tried du –sh…
0
votes
1 answer

installing jdk8 in ubuntu 12.04

I am completely new to Ubuntu and I want to install jdk8. I downloaded the jdk-8u25linux-x64.tar.gz file from their website, but I wanted to follow a lot YouTube videos but somehow I cannot follow them. lastly I tried…
0
votes
1 answer

all command in jdk/bin can not execute

for example i type jmap in terminal, it will show: The program 'jmap' can be found in the following packages: * openjdk-6-jdk * openjdk-7-jdk Try: apt-get install root@CNS-ETNEXUS1:/usr/lib/jvm# The program 'jmap' can be found…
Bill.Zhuang
  • 103
  • 4
1
2