1
vote
0answers
22 views

Eclipse dosn't see JDK

I had installed Eclipse and it was working well few days ago. Now I can't create Java project, there is no such option and in the Eclipse Preferences there is no mention about the word Java. I was ...
1
vote
1answer
47 views

IcedTea plugin for openjdk 8

I updated from openjdk 7 to openjdk 8. Meanwhile I uninstalled jdk 7(which uninstalled icedtea plugin too). I tried to reinstall icedtea with sudo apt-get install icedtea-7-plugin But it ...
1
vote
1answer
79 views

Can't run InstallJava executable file

I can't seem to run a Java executable file, even though I've already installed the latest jdk. See the below screenshot. Am I using the right command, via: ~$ open InstallJava or is ~$ ./InstallJava ...
0
votes
0answers
114 views

Eclipse Kepler crashes on Ubuntu 14.04 when using WindowBuilder

I'm using Ubuntu 14.04 and with a lot of problems I have to face daily with this OS, there is another recent one. Problem: Whenever I try to use Eclipse's WindowBuilder to design SWING GUIs, after a ...
0
votes
1answer
55 views

NetBeans has broken interface with OpenJDK

Sorry for English. Usually (say, at 4/5 of times), when I start NetBeans, interface is partially broken. For example, menu items are appearing and at once disappearing after click; some parts of ...
0
votes
3answers
57 views

Eclipse and java 7 but no javac?

I have a java computer program that I can compile in Eclipse just fine. I want to compile it from the command line and get the message javac not found. I figured that I just didn't have my path setup ...
0
votes
1answer
461 views

How to set the JDK for Android Studio?

I can't compile a default new project for Android 2.1 because(?) the JDK used by Android Studio is JDK 1.7 but it should be JDK 1.6. To change it I go to File -> Project Structure and try to find the ...
1
vote
1answer
90 views

intellij idea not opening because of jdk/bin/java

I am relatively new to ubuntu. i am using idea intellij from jetbrains for developing applications with gwt and java. Recently i have installed ubuntu 14.04 and everything works fine but idea 13. I ...
2
votes
1answer
416 views

Multiple JDK is not working properly in Ubuntu 14.04

JDK versions (jdk1.7.0_21 and jdk1.7.0_55) Installed and Configured like below. jdk1.7.0_21 update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0_21/bin/java" 1 ...
0
votes
1answer
1k views

gzip: stdin: unexpected end of file -> problem in extracting jdk-7u55-linux-x64.tar.gz

I have downloaded 'jdk-7u55-linux-x64.tar.gz' When I execute following command to extract, sudo tar xvzf jdk-7u55-linux-x64.tar.gz also tried, sudo tar xvf jdk-7u55-linux-x64.tar.gz sudo tar xf ...
1
vote
2answers
41 views

Install Java 6 for a single project while leaving the default for the rest of the system at Java 7

In order to install a development environment for an older version of Android, I need to have Java 6 installed. I already, however, have Oracle Java 7 installed on my system and would like to keep it ...
0
votes
1answer
1k views

Eclipse can't find Java after upgrade to 14.04

After upgrade to Ubuntu 14.04 Eclipse 3.8 can't find any installed Java VM. I have the Sun JDK 1.7 and the openJDK7 installed. I have tried modifying the eclipse.ini to point it to one of the ...
1
vote
1answer
59 views

Eclipse IDE hello world problem

I'm having problems running a simple java program "Hello world" i had installed the Eclipse Java EE IDE from eclipse site and before it i had installed jdk btw im using ubuntu 14.04 Any ideas ...
1
vote
0answers
55 views

Java apps consume 200% my CPU after cloning image in another computer

Yesterday I cloned an image of Linux from a Core 2 Duo to a Core i5 laptop. Everything works as expected except for JVM. I've installed in my machine the OpenJDK, Java 8 (jdk jre) and Java 7 (jdk ...
0
votes
1answer
123 views

Unable to install jdk 6 after uninstalling jdk 7

Want to install fresh jdk 6 for Android development. Before I had jdk 7 installed which I removed for fresh jdk 6 installation. Tried using the webupd repository way, not of use, tried downloading the ...
1
vote
1answer
190 views

install jdk6 on ubuntu 12.04, can use it in root user but can't in normal user

I am trying to install jdk-6 in ubuntu 12.04. I put the folder in /opt and set the environment path: vim /etc/profile vim /etc/bash.bashrc add this to both of the files: #set java environment ...
1
vote
1answer
484 views

Ubuntu 13.04 - Unable to install JDK7 [closed]

I have an Ubuntu 13.04 64-bit installed and I would like to install JDK 7 for Oracle Sql Developer. My problem is when I try to install it I get the next: kwarr@kwarr-K54LY:~$ sudo apt-get install ...
0
votes
0answers
53 views

Ubuntu does not recognise installed Oracle JRE & installs OpenJDK packages

I have Oracle JRE installed on my system. However while installing tomcat7 with apt-get it does not recognize my installed oracle java(installed using tar from oracle website), but on another system ...
2
votes
0answers
143 views

Problem downloading Oracle JDK 7

I'm using Ubuntu 12.04 LTS. I'm trying to install Oracle JDK 7. When I tried to directly download the jdk-7u51-linux-x64.tar.gz from the official website, the download started and after downloading ...
0
votes
1answer
205 views

Open JDK doesn't run my jar files

I decided to start java programming on Linux instead of Windows, but I can only open my projects in the NetBeans IDE. When I make the distribution into a .jar file, I can't open them. I already gave ...
0
votes
1answer
25 views

My netbeans is not working after I deleted the jvm folder

My netbeans is not starting since I deleted the /usr/lib/jvm folder. But I have installed java jdk 1.7.0_51.deb file and the file dir is /usr/java. When I tried to start the netbeans using terminal ...
0
votes
0answers
341 views

How to install Lucene 4.0.7 in ubuntu 12.04

I am using ubuntu 12.4 and I have an assignment to explore Lucene 4.0.7. But I could not install it. I did not get any type of help from search engines or other forums. So please any body help me.Here ...
1
vote
2answers
65 views

Installing OpenJDK 7 didnt install javac

I am very new to using the linux operating system and I'm currently using Ubuntu 13.10 coming off using windows for my whole life. I have been trying to get java development kit installed so I could ...
0
votes
0answers
184 views

I just try to install Netbeans but there is more problem with JDK

Hi, im new at ubuntu and i want to use netbeans. I downloaded netbeans from its web site then I wrote this commands to the line hakki@hakki-K55VM:~/Downloads$ chmod +x netbeans-7.4-linux.sh ...
1
vote
1answer
163 views

Programming Java on Ubuntu 13.10 [duplicate]

I have ubuntu 13.10 and I am trying to use a disk that contains a book, How to program Java, 7th edition. It is the Linux version CD and I can't figure out what program to use so I can look at the ...
0
votes
1answer
119 views

How to remove an unsuccessful installation of Java 6

I unsuccessfully tried installing Java 6 by copy-pasting the following from http://www.webupd8.org/2012/11/oracle-sun-java-6-installer-available.html in the terminal window: sudo add-apt-repository ...
2
votes
1answer
608 views

How do I get ORACLE JAVA SE 7 to work?

I am a newbie to Ubuntu, so kindly be considerate. I recently manually downloaded & installed (Java SE 7ux) JavaSE 1.7.0_51. Linux x64 (for 64-bit system) "tar.gz" package. My Ubuntu version is ...
0
votes
0answers
30 views

jdb not starting up

I am having a wierd problem. I manually installed the newest JDK from Oracle just about an hour ago. Now when I try running jdb through the command jdb DocumentListing1.java the output reads: The ...
2
votes
1answer
47 views

Are there any reliable sources with more frequent jdk icedtea package releases?

I use the canonical repository for retrieving updates from the jdk icedtea, but it seems that it is lagging a lot behind what is supposed to be the latest stable version as per the icedtea website ...
0
votes
0answers
75 views

Trying to install Oracle 6u4 on Ubuntu 13.10 and cannot find the libnpjp2.so browser plugin

I need Oracle's Java 6u4 to run a specific web applet for work. I've downloaded the .bin for 64-bit Linux from Oracle's website, and went through this AU answer. Everything seemed to be going fine, ...
1
vote
1answer
151 views

Removed JDK6, installed JDK7. JAVA_HOME broke and javac not installed

I am finding that the javac is not in the java-7-openjdk-i386 package. Problem 1: $ javac The program 'javac' can be found in the following packages: * default-jdk * ecj * ...
0
votes
2answers
72 views

Where to write java programs on ubuntu?

I want on write java programs on ubuntu. I have java on my windows OS and I write programs in Notepad++ and compile and run it in command prompt. I installed java on ubuntu. What should I use to write ...
0
votes
2answers
76 views

Is there a way to keep Oracle's JRE/JDK as the default JRE/JDK?

Okay here is my issue. Every time I install a .deb installer of a program that requires java. OpenJDK hijacks my system and sets it as default Java. I don't want to use OpenJDK, if I did I wouldn't be ...
0
votes
4answers
140 views

Oracle's JDK won't install

After downloading jdk-7u45-linux-x64.tar.gz and moving it to my own folder ~/java, I followed their steps here: http://docs.oracle.com/javase/7/docs/webnotes/install/linux/linux-jdk.html I apparently ...
0
votes
0answers
2k views

Setup JDK for android studio

I was setting up android studio and got this So I followed the answer here and used sudo update-alternatives --set java /usr/local/java/jdk1.7.0_17/jre/bin/java sudo update-alternatives --set ...
1
vote
1answer
697 views

JAVAC is not in the jdk path but java -version says JDK is installed

When I type javac in the terminal, this is what I get: The program 'javac' can be found in the following packages: * default-jdk * ecj * gcj-4.6-jdk * openjdk-6-jdk * gcj-4.5-jdk * ...
0
votes
1answer
1k views

How to uninstall JDK

Today I installed Android Studio but when I opened it raised the error: 'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. I ...
0
votes
0answers
30 views

How to increase permgen space of java in Ubuntu 13.04

How to increase permgen space of java in Ubuntu 13.04? I am using java Sun/Oracle JDK 6
0
votes
1answer
19 views

ALEKS plug-in on 12.04

I'm running 12.04 and have successfully installed the latest version of JDK. I've followed the instructions on this page to install the plug-in for ALEKS, and that worked. But when I log in to ALEKS ...
0
votes
1answer
81 views

Java -jar using Oracle lib

I have installed java-7-openjdk and it works well, but I need to use JavaFX in a project so I download "Java SE" (all packages) form Oracle and I store them inside/usr/lib/jvm/jdk1.7.0_45. Now I want ...
0
votes
1answer
99 views

How do I install a newer version of Oracle JDK?

Using the guide here: http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux I have installed Oracle's JDK because it has a few features that are not present in OpenJDK. Now, there some new ...
0
votes
2answers
87 views

Do I need JDK & JRE in Ubuntu?

In Windows 7 I had to install jdk & jre to program with eclipse. In the software center I can only find OpenJDK Java 7 Runtime. Do I need both to program in eclipse?
0
votes
1answer
211 views

NetBeans Hangs on New Project Creation

When creating a New Project in NetBeans, it hangs on the creation screen; I'm running Netbeans 7.0.1 on Xubuntu 13.04. Java -version prints: java version "1.7.0_25" OpenJDK Runtime Environment ...
0
votes
0answers
22 views

Why there is no .deb for Oracle Java on Oracle's website? [duplicate]

I want to use Oracle Java (JDK) 7u40 instead of openjdk-7 on my Ubuntu 12.04. First, I tried "aptitude search java oracle" and I didn't find it. So I went to Oracle's website to find a .deb. Again, it ...
-1
votes
1answer
1k views

Java installed but JAVAC not found [closed]

I have installed java longtime back, which java /usr/bin/java java -version java version "1.7.0_09-icedtea" OpenJDK Runtime Environment (rhel-2.3.8.0.el6_4-x86_64) OpenJDK 64-Bit Server VM (build ...
0
votes
1answer
521 views

Will 64-bit version of Java JDK work on 64-bit machine running 32-bit version of Ubuntu?

I have a 32-bit version of Ubuntu 13.04 running on my 64-bit machine. I'm planning to install the 32-bit version of Eclipse 4.3 but I need to install Java JDK first. I've had problems finding 32-bit ...
0
votes
0answers
510 views

What does “cannot execute binary file” mean after I installed JDK in Ubuntu

I follow the steps by this link : http://www.webupd8.org/2011/09/how-to-install-oracle-java-7-jdk-in.html But after I typed: sudo update-java I get an error: ben@bensUbuntu:~$ sudo apt-get install ...
0
votes
1answer
230 views

Will removing Open JDK stablize crashing ubuntu?

I'm running Ubuntu 13.04 on an asus zenbook. Mostly this performs very well and I'm quite happy with it but when using Eclipse 3.8 I'm having problems which sometimes crash my whole system. This is ...
2
votes
2answers
160 views

search command for packages in Ubuntu terminal to search updates and patches of the package specifically

Can I know what is the command to search any package using the terminal, if I only know the name of the Software like, if I want to search VLC or JDK,JRE.. etc If I do not know what is the url where ...
0
votes
1answer
626 views

How to run java/javac command from terminal

I have installed jdk using .deb(convert from rpm),but i can't run java/javac command from terminal.