Installing Java JDK on Ubuntu 12.04
location: ubuntuforums.com - date: June 2, 2012
I downloaded the latest 32bit jdk v7u4 from:
which is a .rpm file; ie:
I then followed the instructions at:
for converting the .rpm to a .deb file.
However, with the command:
sudo alien packagename.rpm
I get the error:
"the package cannot be built on this system"
Does anyone know the solution to this problem?
LXer: Oracle Java JDK 7 on Ubuntu Linux Source or RPM Installation
location: linuxquestions.com - date: January 17, 2013
Published at LXer:
In the previous article we have discussed how to install OpenJDK java on ubuntu from the standard Ubuntu repository or Oracle's Java JDK 7 using Personal Package Archives ( PPA ). This article will cover installation of Oracle Java JDK 7 from a source package or by converting RPM Java package to the Debian software package format.
LXer: Install Oracle Java (JDK) 7 in Ubuntu via PPA Repository
location: linuxquestions.com - date: January 18, 2012
Published at LXer:
Oracle JDK7 itself is not hosted in the PPA because that's not allowed by the new Java license (which is also the reason why it has been removed from the official Ubuntu repositories); the package in the PPA automatically downloads Oracle Java (JDK) 7 from its official website and installs it on your computer, just like the flashplugin-installer package does.
[SOLVED] How to Install Java JDK 1.6.0 on Ubuntu Desktop Edition
location: ubuntuforums.com - date: January 10, 2009
I am a Java Developer who is new to the Linux OS Altogether and cannot figure out how to configure the JRE I Believe my error lies in the class path variable because I keep getting Class Not Found Errors also I have no clue on how to setup the Applet Plugin.
Any Help is appreciated
Installing Java JDK on Ubuntu 10.04
location: linuxexchange.com - date: July 25, 2010
Ever since I upgraded my Ubuntu from 9.10 to 10.04 I can't start Netbeans any more, because apparently they are dropping support for Java's JDK in favor of OpenJDK. Well, problem is, my IDEs won't work with OpenJDK.
apt-get install sun-java6-jdk is not working. I downloaded the Linux installation file from Sun (jdk-6u21-linux-i586.bin) and installed it, but I can't call java or javac from the terminal.
Can anyone help me here?
How to install the Sun Java JDK on Ubuntu 10.10 (Maverick Meerkat)?
location: linuxexchange.com - date: May 22, 2011
I've tried to add the Canonical Partner repository, but I still can't find the sun-java6-jdk package. What is the right way to install the Oracle Sun JDK instead of OpenJDK on Ubuntu 10.10 (Maverick Meerkat)?
Getting Java JDK to compile on ubuntu
location: linuxexchange.com - date: November 20, 2009
I'm trying to start working with Java, but so far haven't been able to get it on my machine properly. I'd really like to be able to compile from command line. After following the instructions here with no errors I can't compile with javac. Here's what I have so far:
When I enter:
$ java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)
When I run:
$ sudo apt-get install sun-java6-jdk
~$ sudo apt-get install sun-java6-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
sun-java6-demo sun-java6-doc sun-java6-source
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 17.4MB of archives.
After this operation, 55.7MB of additional disk space will be used.
WARNING: The following packages cannot be
Can't install Java JDK in Ubuntu 12.04: Broken Packages
location: linuxexchange.com - date: January 1, 1970
I try entering this to install java JDK
sudo apt-get install openjdk-7-jdk
It responds with this
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
openjdk-7-jdk : Depends: openjdk-7-jre (= 7u55-2.4.7-1ubuntu1~0.12.04.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I have no idea how to deal with this.
How do I configure Oracle Java JDK 7 (not Open JDK) correctly on Ubuntu 11.10 and run a Java Program with referenced JAR files?
location: linuxexchange.com - date: April 30, 2012
I may have multiple questions here, but ultimately I'm trying to compile and run a Java program that references 3rd party JAR files (on Ubuntu Linux) so I thought it was appropriate to keep it to one question.
I'm trying to get Java JDK 7 properly installed and configured to run a simple program on Ubuntu Linux. I'd like to get instructions from an expert that can help me, at the very least, to run a simple Java program from the command line (perhaps a "Hello World" application?). I've only compiled and run Java programs on Windows in the past, so this is new to me. Last night, I read that you have to be careful of not installing the Open JDK, and to install the Oracle JDK. It appears that Ubuntu 11.10 installs Java Open JDK for you when the OS is installed, among others.
I'm running 32-bit Ubuntu, not 64-bit. So I downloaded this Linux JDK file:
I unpacked the tarball into /usr/java and then deleted the *.gz file to save disk space. Some tutorials
Ubuntu + NetBeans + JDK Error
location: ubuntuforums.com - date: January 14, 2013
Hey Guys I installed netbeans and when starting a java project its giving me error of JDK.
Can someone help me with the same?
Page: 1 2 3 4 5 6 7 8 9 10