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
1answer
25 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, ...
-2
votes
0answers
20 views

how to stop oracle java updates

i have installed oracle java 1.7 on ubunut 12.04 it updates automatic which uses bandwidth, processor and power of system. i need to stop it now. please help me Thanks in advance.
0
votes
1answer
27 views

downgrade Java from 1.7u51 to lower update than 51

How do I downgrade Java from 1.7u51 to 1.7u45 or anything lower than u51 ?
1
vote
1answer
26 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 ...
-1
votes
0answers
23 views

“JAVA_HOME is not defined correctly” error while executing ant

I have uninstalled ant in my Ubuntu but when typing ant I am getting the error. I want to completely uninstall Ubuntu source files also I want to rectify this error: Error: JAVA_HOME is not defined ...
0
votes
1answer
52 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? ...
1
vote
2answers
34 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.
0
votes
0answers
40 views

Java won't run properly in Chrome - IcedTea

I installed OpenJDK 1.6 and 1.7 to my system, and IcedTea for Chrome. When I go to the JRE detect page, after the IcedTea screen, a grey box appears. I tried every way I could find in the internet, I ...
1
vote
0answers
20 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
0answers
21 views

Reload profile with java version

.profile has export JAVA_HOME=$DEV_HOME/tools/jdk1.6.0_45 # export JAVA_HOME=$DEV_HOME/tools/jdk1.7.0_51 # export JAVA_HOME=$DEV_HOME/tools/jdk1.8.0 export PATH=$PATH:$JAVA_HOME/bin I work with ...
0
votes
1answer
16 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: ...
0
votes
0answers
10 views

Audio libs cannot load when running java aplet from web

When logging in to my company web sites internet conferancing app the following error appears "unable to load audio libs". The site runs a java aplet to allow multi user conferancing. A soluition to ...
0
votes
0answers
51 views

Problem with setting up path in Eclipse for sdk

I am currently working on Ubuntu 12.04 LTS and I have installed Eclipse from the Ubuntu Software Center and then according to the procedure suggested I dealt with the ADT. Next I had to install SDK ...
-1
votes
1answer
38 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
25 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 ...
6
votes
0answers
74 views
+50

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 ...
13
votes
3answers
810 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 ...
0
votes
0answers
21 views

How to install and use JUnit in Eclipse Juno (Ubuntu OS)

I Installed JUnit on my Ubuntu system, using the commands below: sudo aptitude install junit export CLASSPATH=.:/usr/share/java/junit.jar How can I add it to Eclipse?
1
vote
1answer
20 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
42 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) ...
0
votes
0answers
39 views

Could not initialize class sun.awt.X11GraphicsEnvironmen

I'm trying to run a shell in a Unix Server and send the display in graphical mode to a workstatio, I'm seting the DISPLAY variable as $export DISPLAY=<IPADREES:0.0> where the IP Address is my ...
0
votes
0answers
22 views

Ubuntu on AMD or Intel, does it makes a difference?

I have both Ubuntu OS on a 1. Intel Core i3 Quad-core CPU CPU Mhz: 1800 BogoMIPS: 4390.30 2. AMD Quad-core CPU CPU Mhz: 1900 BogoMIPS: 8040.2 From the CPU specs the AMD looks to have the ...
1
vote
0answers
41 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 ...
0
votes
0answers
43 views

How to install java plugin for firefox in Ubuntu? [duplicate]

I want to download youtube videos, so i use the website Keepvid.com but it requires java plugin. I installed java through terminal but it's not giving any fruit. So please help me in step by step or ...
0
votes
0answers
16 views

Recording game audio with SimpleScreenRecorder

I'm following the tutorial www.maartenbaert.be/simplescreenrecorder/recording-game-audio/ (PulseAudio: The Hard Way) to get SimpleScreenRecorder to record both the Monitor of Plantronics and ...
1
vote
0answers
72 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
24 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 ...
0
votes
0answers
10 views

java vulnerabilities [duplicate]

I have an very simple question, when a vulnerability is discovered in java (which happens regularly), is it also affects openjdk ? This is a question I ask myself without managing to find the answer ...
0
votes
0answers
33 views

JRE for Ubuntu 12.10 other than Openjdk and Oracle JRE

I am trying to get JOdin, a java implementation of Odin suite for samsung phones to work in Ubuntu 12.10. On the first run of JOdin, I got a message stating that I need a newer version of java ...
1
vote
3answers
55 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
60 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
30 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
43 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
0answers
25 views

Java Web Start not detected

I'm trying to get Oracle Java Web start running on google chrome. I followed THIS tutorial and I still can't get it working. I checked my plugins on both Chrome and Firefox and java doesn't appear in ...
0
votes
1answer
25 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 ...
0
votes
0answers
22 views

Java FileNotFoundException in Ubuntu 12.04?

I have ubuntu 12.04 where i have installed JDK 7 , Jboss Server AS 7.1.1 and running my application successfully.The problem is in my java application i am editing a xml file at runtime to update the ...
0
votes
0answers
19 views

Switching from java 6 jdk to java 7 jdk…now showing for update-alternatives

Alright so i'm not sure if i'm just stupid or what but i installed java 7 jdk by doing sudo apt-get install openjdk-7-jdk and then i try to do sudo update-alternatives --config java and it only lists ...
0
votes
1answer
27 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
154 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 ...
2
votes
1answer
461 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
25 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
25 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 ...
0
votes
0answers
36 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 ...
-1
votes
1answer
63 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
28 views

How to install sailfin on ubuntu

I want to install sailfin on ubuntu for my project. Can anyone help me to do that?
0
votes
0answers
39 views

Java applet with object - chrome

i instaled java 7 update 51 from official java.com i explicitly need this version because netbanking cannot work with older versions when i use it under firefox everything is ok but under chrome ...
0
votes
0answers
60 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
0answers
88 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 ...
3
votes
1answer
105 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 ...
1
vote
2answers
83 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 ...