Java is a programming language originally developed by Sun Microsystems. Questions here should be about the installation, configuration and troubleshooting a JVM (Java Virtual Machine) or a JRE (Java Runtime Environment). Programming questions (unless directly related to Ubuntu) should be asked ...

learn more… | top users | synonyms

2
votes
2answers
2k views

Is actual version of Chromium browser (34.0.1847.116) compatible with Oracle Java 7 browser plugin?

I can not make it work nor find an official confirmation of compatibility. Oracle Java 7 plugin works fine with Firefox but fresh Chromium browser installation does not even list it at ...
0
votes
2answers
10k views

Adding JAVA_HOME (JDK) in .bashrc

I just installed Ubuntu and am Java 7u55 (JDK) and am trying to configure JAVA_HOME as an environment variable. In ~/.bashrc I added: # Exports JAVA_HOME=/home/myuser/sandbox/java/7u55/jdk1.7.0_55 ...
2
votes
0answers
623 views

How can I improve the font rendering of Swing Java applications under Ubuntu?

Some Swing-Java programs in Ubuntu look very ugly because of their font. What's wrong with the fonts? Is there any way to fix the aliasing?
24
votes
1answer
37k views

java plugin in Chromium

Icedtea-7-plugin installed but it does not appears in the list in about:plugins in Chromium. Not able to execute java applets. Tried installing Icedtea-7-plugin but in vain. Using openjdk7 in 14.04
1
vote
1answer
829 views

Matlab install error: Simulink 3D Animation Toolbox

I'm trying to install Matlab 8.0.1 (R2013a) on Ubuntu13.10 64bit. There was some problem when I installed all the packages (inclusive of Simulink 3D Animation Toolbox) and other packages preceding it ...
3
votes
2answers
13k views

Juniper network connect on Ubuntu 14.04 cannot find 32 bit Java

I have Ubuntu x64 and trying to install Juniper network connect. Installed 64bit jre/jdk, icedtea and 32bit jre sudo apt-get install openjdk-7-jre icedtea-7-plugin sudo apt-get install ...
7
votes
2answers
5k views

Flash and Java plug-ins in Chromium lost after upgrade to 14.04

I've just upgraded 12.04 to 14.04. Java and flash plug-ins are lost from Chromium. I have Openjdk7 installed with Icedtea and adobe flash plug-in for Firefox. sudo cp ...
0
votes
1answer
66 views

How to set variables for java

On ubuntu 14, i have the same problem : when i run android studio, java packages are not find. I need to do export command ? export PATH=${PATH}:"/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java" ...
2
votes
1answer
43 views

How to start a service living on a Windows partition

I am developing a service on my Windows 7 / Ubuntu 13.04 dual boot machine. My service lives on an NTFS partition. It is written in Java and should work on both platforms. Just to make things clear, ...
1
vote
1answer
68 views

Which package provides a given jar?

How can I determine which apt package I should install to have a certain jar file? BTW: I'm actually looking to solve XML parser factory has not been configured correctly: Provider ...
0
votes
1answer
271 views

Ubuntu 12.04 Eclipse install

I feel like a tool asking this, but I've spend a couple of hours trying to get it to work with no luck, so I'm sucking it up and asking. I followed the directions here... How to install Eclipse? ...
3
votes
4answers
17k views

How do I configure Java security settings, etc?

I have installed JDK 7, but how do I configure settings like security, etc? On Windows, I can set up JDK 7 from Control Panel -> Java.
1
vote
0answers
316 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
1k views

Trying to execute update-alternatives command specified in an instrutional document

I am trying to execute the following command sudo update-alternatives "/usr/local/bin/java" "java" "/usr/java/jdk1.6.0_45/bin/java" But I keep receiving the error message update-alternatives: ...
-1
votes
1answer
102 views

How to set up an environment to develop Android apps in Ubuntu that doesn't have internet Connectivity?

I have an Ubuntu laptop in which I need to develop Android apps. I know that all that software could be downloaded from the software center but the problem is that I don't have internet connectivity ...
0
votes
2answers
900 views

File not found on http://localhost:8080/

I have just installed Tomcat7 using apt-get install tomcat7. In CATALINA_HOME I can see default index.html file and it runs fine using localhost:8080/. Now I have placed a .war file to deploy in this ...
16
votes
4answers
922 views

How to prevent Java applications from creating tray icon?

With Ubuntu 13.04 the possibility to whitelist (and consequentely blacklist) certain applications from creating a tray icon is gone. Since then the tray icons of Java applications and Wine icons are ...
14
votes
3answers
3k views

oracle-java8-installer results in “apt” removal? [closed]

I have been been running trusty since the first alpha release, pulling daily updates. I also installed the oracle-java7-installer from the WebUpd8 PPA. Today I noticed during a dist-upgrade that ...
1
vote
1answer
368 views

Compiling and running Java code - NoClassDefFoundError

I tried to compile some code written in Java and I used the command: javac Code.java java Code.java and I got following errors: Exception in thread "main" java.lang.NoClassDefFoundError: Code/java ...
1
vote
1answer
757 views

How to remove openjdk 6 from ubuntu 13.04? [closed]

When I do sudo apt-cache search openjdk I got: default-jdk - Standard Java or Java compatible Development Kit default-jdk-doc - Standard Java or Java compatible Development Kit (documentation) ...
1
vote
1answer
404 views

Files are not being sent to trash but being permanently deleted

When I booted my computer, I noticed: that the Trash icon was missing from File Manager; this message when I tried to delete a file: Are you sure that you want to permanently delete ...
1
vote
0answers
678 views

How to install glibc 2.12 or 2.14 on Ubuntu 12.04?

I am making a JNI call to a C++ library and it is compiled in glibc v2.12 or v2.14, but Ubuntu 12.04 has glibc 2.15. Whenever I make a call to the C++ library I get the error glibc 2.14 not found. ...
1
vote
0answers
105 views

Netbeans 7.0.1 missing display window

SInce a few days, my Netbeans application window is missing from the screen. When I try to launch it, only the application icon appears in the launcher, but when I click on it, nothing happens. When ...
5
votes
3answers
14k views

Problem to set JAVA_HOME

In ~/.bash_profile I set the following: export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386/bin/java export PATH=$PATH:/usr/lib/jvm/java-7-openjdk-i386/bin After saving and close I ran: sudo su ...
0
votes
1answer
675 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
130 views

How to Stop Oracle Java proccess ; eat internet bandwidth and processer

I installed oracle Java 7 on Ubuntu 12.04 32bit. when i check my Internet bandwidth while do nothing on the Internet in system monitor->resource data is sent and received. When i look in process tab ...
1
vote
1answer
970 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 ...
0
votes
1answer
280 views

Having issues recording Minecraft with glc-capture

I'm running Ubuntu 13.10 and I'm trying to record some gameplay, as you probably can tell from the title. However, I can't get glc-capture to start Minecraft, it returns this error that I can make ...
2
votes
2answers
4k views

Cannot launch .jnlp file in precise pangolin

I'm trying to install Matlab but I can't open the download_agent installed from mathworks. It's an jnlp file, but if I use open with -> IcedTea in nautilus nothing happens, and when I try javaws ...
1
vote
1answer
3k 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 ...
18
votes
1answer
38k views

OpenJDK - Oracle is better? [closed]

From http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux Type/Copy/Paste: java -version . If you're having OpenJDK Runtime Environment (IcedTea6 1.10pre) (7b15~pre1-0lucid1) OpenJDK 64-Bit ...
0
votes
1answer
2k views

Libpcap not found in /usr/lib or /lib after apt installation

I installed jnetpcap but it showed error that libpcap.so is not found, so I used sudo apt-get install libpcap-dev but when I grep libpcap in /lib and /usr/lib it is not there, am I missing ...
2
votes
1answer
432 views

Oracle java giving me trouble with strange warning. Details Below

Heres the error:warning: current package is oracle-java8, but binary format already installed by openjdk-7. i used the purge command on openjdk before i tried to install Oracle Java 8 . now I'm at a ...
-1
votes
1answer
134 views

i want to install java on Ubuntu 13.04, but i got this type of problem during installing java [duplicate]

problem is that: apt-get install default-jre E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is ...
0
votes
1answer
149 views

How to install sailfin on ubuntu

I want to install sailfin on ubuntu for my project.
0
votes
1answer
2k views

How to get Clean and Build in netbeans to work again?

I don't know if this is a netbeans or Ubuntu or Java problem. But I'm running Ubuntu 13.10 64bit, and trying to create a jar file from my java application that I've created with Netbeans IDE 7.0.1. ...
2
votes
1answer
422 views

Problem downloading Oracle JDK 7 [duplicate]

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 ...
5
votes
2answers
8k views

Tomcat and Eclipse Integration Error : “Unknown version of Tomcat was specified.”

I am using Ubuntu 13.10 and gnome 3.10. I have followed this tutorial Set up Eclipse and Tomcat 7 on Ubuntu 12.10 to create Java RESTful Web Services with Jersey to setup tomcat and eclipse. but ...
3
votes
2answers
20k views

Oracle Java Virtual Machine install?

I cant get it install and I need it running for a job application i need to put in online. jre-7u51-linux-i586.tar.gz that's the file and every time I try to install it wont complete, says cannot ...
6
votes
3answers
6k views

Java 7 installation error

I'm getting this output when i try to install oracle-java7 from webupd8 ppa Download done. Removing outdated cached downloads... sha256sum mismatch jdk-7u51-linux-x64.tar.gz Oracle JDK 7 is NOT ...
0
votes
1answer
1k 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
6k views

Tomcat7 deployment error

I have a web application that I can build and test within my Eclipse environment. It runs perfectly fine when I run the application within Eclipse environment. However when I deployed it to my Tomcat7 ...
11
votes
3answers
19k views

How can I uninstall oracle java 8 and install oracle java 7 instead with webupd8 installer?

I installed oracle java 8 by typing in terminal: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer but now I want to uninstall oracle ...
0
votes
1answer
135 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 debian file and the file dir is /usr/java. When I tried to start the netbeans using ...
0
votes
1answer
2k views

Installed libgdx and OpenGl in ubuntu

first let me say thanks for all the help in my other questions; the answers have really help a lot. Now I'm in the process in developing game for tablet, pc and android platform. I have decided to ...
1
vote
1answer
104 views

Installing tomcat5.5 from source

I want to install PHP/Java Bridge. I installed Tomcat7 for it, but it failed: sudo dpkg -i /home/asif/jbridge/php-java-bridge-j2ee_5.4.4.2-3_all.deb Selecting previously unselected package ...
0
votes
1answer
311 views

3D game engines in ubuntu

I know this must be one of the many question around the same topic. But, i want clear mind and new eyes in this. I am beginning to grasp java for game development for pc and tablet; i cant use ...
0
votes
1answer
1k views

How to work with .bin files

I want to install JDK 1.6 on my Lubuntu OS. But it is some specific .bin file instead of tar.gs for linux - Java SE Development Kit 6u45. UPDATE: After following suggestion, I catch next: error: ...
1
vote
2answers
106 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
1answer
467 views

How to update to java 7 without interfering with java 6 dependent apps?

I'm running jetty 7.6 on ubuntu. It's serving live traffic. That particular version of jetty needs java 6. Now I want to install java 7 on that machine. Will that mess up my jetty instance that's ...