Questions relating to the installing and use of the Java Development Kit (jdk)
2
votes
2answers
106 views
How to install openjdk-7-jdk on Ubuntu 12.04 without dragging in unrelated GUI and sound packages?
Ubuntu 12.04.2 LTS
What's going on here?
# apt-get install openjdk-7-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be ...
0
votes
1answer
51 views
Installation of a second Java SDK
I have Java sdk 1.7 installed correctly. It turns out I need the version of 1.6 also (an application needs it).
How do I install the version of 1.6 and how do I make sure that we'll both work ...
1
vote
2answers
121 views
Netbeans install error: The specified jdk folder does not contain jdk
During installation of Netbeans 7.3 I got this message
the specified jdk folder does not contain jdk
I have openjdk 7 installed on my system using apt-get. I tried to specify the path to ...
0
votes
0answers
28 views
Getting error when trying to install java
I go to terminal and put in: sudo add-apt-repository ppa:webupd8team/java
then I get this:
administrator@administrator-laptop:~$ sudo add-apt-repository ppa:webupd8team/java
Executing: gpg ...
0
votes
0answers
15 views
How to solve “Error:Missing Dependency” when installing java on uxterm? [closed]
when I login to root and type this yum "localinstall jdk-7u21-linux-x64.rpm" a many messages pop up on my uxterm saying "Error:Missing Depency".What should I do? Please help .
Thank You
2
votes
1answer
2k views
“Please ensure you have JAVA_HOME points to JDK rather than JRE” message
I have java installed
aaa@ubuntu:~$ whereis java
java: /usr/bin/java /usr/bin/X11/java /usr/local/java /usr/share/java
aaa@ubuntu:~$ whereis javac
javac: /usr/bin/javac /usr/bin/X11/javac
and ...
0
votes
2answers
45 views
java 7 not installing because IP not found
Tried installing netbeans and eclipse but both give the following errors (is this caused because the server is down and will be restored soon? I've not been able to use apt-get to install the missing ...
0
votes
0answers
166 views
Eclipse 4.2 (Juno) crashes on Ubuntu 12.04 (Precise)
I installed eclipse 4.2 java on Ubuntu 12.04 x86_64 and it just crashes everytime it opens the auto completion context menu. It crashes without any error message and just closes the eclipse window. ...
1
vote
1answer
68 views
JavaDocs with netbeans 7.3 not showing help incode
I am running Ubuntu 12.10, I installed netbeans 7.3 full package and the javadocs are not found. I have tried to use the docs from online by going into Java Platform and adding the URL but then they ...
0
votes
1answer
235 views
Problem While Installing Netbeans 7.3 On Ubuntu 12.10
I just downloaded the latest version of Netbeans on my Ubuntu and made sure to do the same with JDK as well. Problem is, every time I try to install Netbeans, this message comes out:
...
1
vote
1answer
150 views
How can I remove my current JDK and install default JDK? [duplicate]
I have Ubuntu 12.10 x64 installed on a virtual device (VMware workstation) on a host system Windows 8. I downloaded android source code. I wanted to build it, and it says:
Checking build tools ...
0
votes
1answer
60 views
Netbeans 7.0.1 error on Precise
Today, I installed openjdk and netbeans packages on my ubuntu 12.04 notebook from the synaptic package manager to learn some java. javac (compiler) and jvm are working fine. However, when I add a ...
1
vote
4answers
331 views
install jdk in ubuntu
I am trying to install oracle jdk7 64bit on my computer.
And I found this How do I install Oracle Java JDK 7?
However I found that it use the update-alternative -install to install the jdk which is ...
1
vote
1answer
742 views
Setup and install IntelliJ with JDK
Is there any scripts for downloading and installing IntelliJ with JavaJDK or OpenJDK?
I don't know how I did it before using Ubuntu 12.10 but I'm now on a fresh 13.04 install and I have been looking ...
0
votes
2answers
185 views
Setting JDK 7 as default
four@twenty:~$ file /etc/alternatives/java /etc/alternatives/javac
/etc/alternatives/java:symbolic link to `/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java'
/etc/alternatives/javac:symbolic link to ...
0
votes
1answer
246 views
How to configure JDBC, Tomcat for Eclipse IDE on my Ubuntu 12.04
I got an eclipse IDE on my client's machine. He needs to configure JDBC, and Tomcat on this IDE to use for his Java projects. Kindly help. He got mysql installed right now.
1
vote
0answers
49 views
Unable to update JDK 7
I've installed JDK through the Webupd8 PPA (oracle-java7-installer).
The problem is that whenever I try to update Java, the process just pauses after connecting with Oracle's server. If I force close ...
0
votes
1answer
149 views
update-binfmts warning
I'm running Lubuntu on a netbook and I've installed Oracle's JDK. Everything seems to work fine. The only problem is that when the Oracle JDK updates, I get the following warning:
update-binfmts: ...
1
vote
2answers
539 views
update-alternatives: “alternative path doesn't exist” issue while updating JDK7
I decided to update my JDK7 to recent version from here.
Corresponding x64 tag.gz archive for my architecture has been downloaded and extracted to /usr/lib/jvm as usual. All previous versions of Java ...
0
votes
1answer
193 views
How can I uninstall my current java and install sun java 1.6
I installed jdk using the following command: sudo apt-get install default-jdk but it is the wrong version. I need Java SE 1.6 for building Android. When I try building Android, I get a ...
3
votes
1answer
1k views
Which Java package should I use: OpenJDK or Oracle JDK?
I'm new to Java development under Ubuntu. When I typed javac in the terminal, it prompted me to install OpenJDK and a bunch of other JDKs. I want to know if there is any difference between OpenJDK 7 ...
1
vote
1answer
68 views
Java compiler cannot be found
I installed j2ee with j2sdk on my Ubuntu 12.04 computer. It is installed at /mallika/glassfish3/jdk7/.
I am able to run any of my Java programs in Netbeans using this JDK.
Since Netbeans 7 does not ...
0
votes
1answer
95 views
how to install jdk in ubuntu without an internet
Right now I don't have a working internet connection on my Ubuntu 12.10 . So is there a way to download some kinda archive or debian package and copy it to my Ubuntu and then install it ?
0
votes
1answer
284 views
Problem - Ubuntu 12.10 + JDK + Netbeans
Hey guys I downloaded the latest version of netbeans from their site. Also downloaded latest JDK from Oracle.
Installed both of them but whenever I am opening netbeans and trying to create a new ...
0
votes
1answer
291 views
problem with jdk 6 and tomcat 7
I installed tomcat 7 and am using JDK 6
when I start tomcat7 I get this
sudo service tomcat7 start
* Starting Tomcat servlet engine tomcat7
start-stop-daemon: unable to start ...
0
votes
1answer
386 views
Jdk 6.0 update 6 installed sucessfully but java command not working
I switched to linux (Ubuntu 12.04) this morning and find it great but messed up while installing java. :-(.
I have installed jdk6.0_6 successfully but when I run java command in terminal, I get this
...
0
votes
1answer
354 views
how to install the rpm package jdk-7u9-linux-i586.rpm?
I download the jdk-7u9-linux-i586.rpm (not the rpm.bin)
I use code rpm -ivh jdk-7u9-linux-i586.rpm.
But it cannot install it succesfully, why??
I use google to search the anwser, but they all about ...
0
votes
1answer
5k views
How do I install oracle jdk 7 on ubuntu server 12.04? [duplicate]
Possible Duplicate:
How can I install Sun/Oracle’s proprietary Java 6/7 JRE or JDK?
Folks,
I'm new in ubuntu server. As I understand it, Oracle retired the Operating System Distributor's ...
0
votes
1answer
863 views
Minecraft not working in Ubuntu 12.04 LTS - Black screen?
This is what I've done exactly.
I downloaded Minecraft for Linux from minecraft.net
I tried running the file using both OpenJDK Java 7 Runtime and Oracle Java 7 Runtime
The file opened fine ...
1
vote
1answer
112 views
Java Problem in 12.04
My OS is 12.04 and I am running it on my laptop. Whenever I install or remove a software from the software centre I receive the error below. Can anyone show me how to fix it?
Location: ...
0
votes
3answers
820 views
Eclipse not running after upgrading to Oracle JDK 1.7?
I upgraded from open-jdk to Oracle JDK 1.7 today. Since then my eclipse isn't running. And when I run eclipse i get the following error:-
Below are the logs from the file mentioned in the ...
2
votes
2answers
290 views
“ERROR:Could not find java.nio.file.Paths” when using Oracle JDK 1.7
I want to try out some features rolled out in Oracle's new JDK 1.7. I followed the post:- Oracle JDK 1.7 but the post doesn't seem to help.
I was trying to fetch out the structure for ...
0
votes
2answers
188 views
How to read OpenJDK 7 documentation (or other -doc) packages?
I have installed openjdk-7-doc but I cannot find where to read the documentations of the APIs?
E.g.: How to find/read "String class" API documentation
I prefer GUI-based over command-line but I also ...
4
votes
0answers
172 views
Pointer position way off in Java Application menu's when using gnome-shell
When using any java application in gnome-shell if the window is maximised the pointer position is way off; but only on the menu's, in the editor, or the side panel, the pointer is fine.
This only ...
3
votes
0answers
144 views
Maven not working after updating java
I have recently updated my java version to jdk7u9 in my ubuntu 11.04 Natty after which my previous maven projects have stopped working. I have installed using this script
When I run maven install in ...
2
votes
2answers
2k views
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
...
3
votes
2answers
3k views
“No such file or directory” when invoking java
I'm trying to re-install Oracle JDK 7 32 bit to 64 bit Ubuntu (previously 64 bit JDK was installed). JDK is currently present at /usr/lib/jvm/jdk1.7.0. I invoke
sudo update-alternatives --remove ...
0
votes
1answer
1k views
is x86_64 a x86 or x64?
my ubuntu version is 12.04, and when cat /proc/version, it shows
Linux version 3.2.0-23-generic (buildd@crested) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu4) ) #36-Ubuntu SMP Tue Apr 10 ...
1
vote
1answer
477 views
Netbeans 7.2 Missing Modules Warning
Everytime I start Netbeans and the splash screen shows up when it gets to the part to load the modules I receive the following error message :
Warning - could not install some modules: Editor ...
2
votes
0answers
161 views
Two equal items in alternatives list
I want to have two JDKs. The first one was installed a long time ago to /usr/lib/jvm/java-7-oracle/. I installed the second version and executed following commands to add it to alternatives:
...
0
votes
0answers
105 views
WebGoat Error “The JVM in $JAVA_HOME isn't version 1.5”
I end up with this captioned error when running webgoat.sh:
The JVM in $JAVA_HOME isn't version 1.5
Pleas help.
0
votes
1answer
196 views
Trying to run rubymine but getting error no JDK found
Getting the following:
ERROR: cannot start RubyMine.
No JDK found.
How can I fix this so that rubyMine starts?
3
votes
1answer
1k views
Compiling IcedTea: JDK home directory could not be found
Google Chrome keeps telling me that I need to update icedtea, I tried installing them from terminal, didn't work so I'm installing icedtea and icedtea-web from source, when I do ./configure it tells ...
15
votes
1answer
15k views
How do I update Oracle Java 7 (JDK and JRE)
Recently, I've installed JDK 7 from the Oracle site, using these instructions.
Now, I'm wondering what is the correct method to update it (or, better, to keep up-to-date automatically)? For instance, ...
0
votes
2answers
529 views
Trying to install java JDK every time I install/remove anything
I have installed java JDK following this tutorial:
http://www.duinsoft.nl/packages.php?t=en
The installation was ok but every time I install or uninstall anything, I get this message:
...
0
votes
1answer
772 views
JDK/JRE explanation of comands for install
Maybe this is a simple question.
I don't find the explanation of the commands for install Java JDK and JRE
I downloaded the jdk-7u5-linux-x64.tar.gz and jre-7u5-linux-x64.tar.gz,
I extracted these ...
-1
votes
1answer
4k views
How to Install JDK 1.7 using a RPM package?
Edit Start
I have had eclipse running for a while now. And have been developing a java based server.
Edit End
Today, eclipse, java project, right click, properties, java build path (jdk 1.6) is ...
5
votes
3answers
7k views
How do I make java default to a manually installed JRE/JDK?
I have Ubuntu 12.04 amd64 installed on my machine, on the previous versions of Ubuntu it was deadly easy, now there is this command update-java-alternatives with a really bad man page.
I just have my ...
0
votes
0answers
1k views
JRE not working on firefox [closed]
I am attempting to get JRE 7 run in firefox in ubuntu 12.04, 32 bit.
I've tried to follow this article: liberiangeek
I've also tried this repository: webupd8
As well as installing JDK, which ...
0
votes
1answer
838 views
Installing Spark on ubuntu
I am installing Spark IM Client for Ubuntu.
The tar.gz doesn't appear to be functional at ALL, (considering the /bin directory is completely empty and lacks important things like unpack200) but I ...




