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

0
votes
0answers
24 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
171 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
71 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
106 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 ...
12
votes
1answer
301 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 ...
13
votes
3answers
2k 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
37 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
56 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
100 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
505 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
48 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
1answer
97 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
92 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
72 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
318 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
44 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
89 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 ...
2
votes
3answers
388 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
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
51 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
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 ...
0
votes
0answers
60 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
68 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
43 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
39 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 ...
1
vote
1answer
200 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
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 ...
2
votes
1answer
1k 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
86 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
51 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
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 ...
-1
votes
1answer
70 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
38 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
68 views

Java applet with object - chrome

I downloaded JDK 7 update 51 from official java.com & this was compulsory for my net-banking application. With Firefox, it works fine but in Chrome, it cannot load some windows which are necessary ...
0
votes
0answers
368 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
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 ...
3
votes
1answer
733 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
626 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 ...
4
votes
5answers
2k 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
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
926 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 ...
2
votes
1answer
671 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 <br/> sudo apt-get install oracle-java8-installer but now I want to ...
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
2answers
281 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
47 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
74 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
194 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: ...
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 ...
0
votes
0answers
30 views

Spark client customization

I need a detailed guide for building a customized Spark client installation package for Ubuntu 12.04 32 and 64 bit. Source code : http://www.igniterealtime.org/downloads/source.jsp Objective: ...