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

1
vote
2answers
133 views

How can I help Ubuntu as a developer?

I am intermediate Java/Python/PHP developer, but I really would like to help build something for Ubuntu for free. How can I do that?
-1
votes
1answer
6k views

How to Install JDK 1.7 using a RPM package?

Edit Start I have had eclipse running for a while now. And have been developing a java based server. Edit End Today, eclipse, java project, right click, properties, java build path (jdk 1.6) is ...
5
votes
1answer
2k views

How do I create deb package for Oracle JDK?

How do I create a deb package for Oracle JDK for personal use?
1
vote
2answers
383 views

Lost console when EC2 ssh is logged out

I run a java application as a server on a EC2. But as I loose my ssh connection all console messages are also lost. When I redirect all messages to > my.log and then use tail -f my.log I dont get ...
2
votes
1answer
9k views

Error when installing oracle-java7-installer

I'm trying to install Java 7 on my Ubuntu 12.04. But everytime I try, it always shows error like below. This is when I'm trying to upgrade even when the Java 7 is not installed ...
3
votes
4answers
776 views

Eclipse on Ubuntu 10 java-6-openjdk has missing jar's

Out of the blue, my eclipse is reporting missing jars in my Java Build Path. netx.jar gnome-java-bridge.jar plugin.jar I wonder what I did wrong ? Was it a upgrade that messed it up ? I am unable ...
2
votes
0answers
203 views

Starting minecraft logs me out of ubuntu 12.04

Whenever I start minecraft I can only get past the login screen. After that, the screen flashes dark, occasionally showing a Checking battery state ... [OK], and then it brings me to the login ...
4
votes
2answers
5k views

Starting java processes with Upstart

I want to start a java process using Upstart. Currently, on our OpenSuSE servers, I use the System V init system to achieve this, but on our Ubuntu servers I'd rather use Upstart. But I have two ...
1
vote
2answers
934 views

When I run Android SDK from terminal, it shows error. How to fix it?

Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3550 or swt-gtk in swt.library.path, java.library.path or the jar file at org.eclipse.swt.internal.Library.loadLibrary(Unknown ...
4
votes
1answer
447 views

Is there a way to specify a global look and feel for swing apps?

Every time I install Netbeans on Ubuntu, I have to edit the ./etc/netbeans.conf file to include an option specifying the look and feel; otherwise, the menus are all black on dark gray, which is ...
0
votes
1answer
215 views

How do I make the official JDK version the default java? [duplicate]

Possible Duplicate: How do I make java default to a manually installed JRE/JDK? I've got the following in /.bashrc export JAVA_HOME=/usr/bin/jdk1.7.0_03/ export ...
2
votes
1answer
616 views

Java using too much CPU

Trying to use either Eclipse or Apache Tomcat pushes all 4 CPU cores to around 60% cpu usage, and trying to run both at the same time maxes them all out. Tried deleting all the webapps I'd deployed ...
-1
votes
1answer
385 views

Downloaded JDK 7, but not JRE 7?

So I've downloaded jdk7 pretty much since the first day I started using Ubuntu 12.04 so that I could start using Eclipse under the most up-to-date version of java. I built and completed a project with ...
0
votes
2answers
990 views

Why does running bash scripts containing Java commands give me “missing classes” error?

A have few .sh files that I want to run. I was a regular Windows user, so i haven't much of idea about it. I had .bat files, which were doing proper work for me. But when I switched to Ubuntu it's ...
1
vote
1answer
499 views

Which JVM do I have?

I have heard that some JVMs are significantly faster than others. Especially HotSpot is told to be very fast. But which JVM do I already use? $ java -version java version "1.6.0_20" OpenJDK Runtime ...
1
vote
1answer
2k views

How can I update to jdk and jre 7?

I've been using jdk6 on ubuntu 12.04. I was trying to update my jdk to 7. I installed jdk7 and also removed jdk6. Now my javac version is 1.7.0_03. but my java version is still 1.6.0_24. So I got ...
3
votes
4answers
2k views

How do I open .jar files without using terminal in manually installed java?

How do I open .jar files without using terminal in manually installed java? . I tried open with dialog but java is not there .so How do I manually create it? Edit I want some thing like this
0
votes
1answer
4k views

Error while running Jetty Server on port 80 as non root user

All, I was trying to setup jetty on port 80 but its giving exception saying permission denied as below. I have setup jetty to work with setuid and configured start.ini as follows: ...
11
votes
6answers
24k views

How do I make java default to a manually installed JRE/JDK?

I have Ubuntu 12.04 amd64 installed on my machine, on the previous versions of Ubuntu it was deadly easy, now there is this command update-java-alternatives with a really bad man page. I just have my ...
0
votes
3answers
796 views

“./configure: command not found” error when trying to install the JRE

I was trying to install JRE on my 64-bit ubuntu 10.04 installation. Just to be sure that that is what I really want, I need to run a .jar file. I downloaded java from this link. Then I chose linux ...
-2
votes
3answers
164 views

How to download from the web [closed]

Can someone tell me how to download stuff from the web? Like on Windows you have the .exe to help install stuff but on Linux all i get is a folder when i download something. Am I supposed to do ...
1
vote
1answer
358 views

Where do I get source code for the Java APIs?

I want to know where are the java API's stored. I use openJDK 7. I want to edit some of the code of a class to suit my needs and therefore I want to know where are these API's stored. Can anyone ...
1
vote
1answer
21k views

JAVA_HOME is not defined correctly [closed]

I installed java jdk hotspot 1.7. When I type java -version I am getting: java version "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147) This is correct. And I tried to install maven, ...
1
vote
1answer
138 views

compile a java program as different user

I am able to login as a different user using a shell script in Ubuntu, but I want to run a Java program in that user, but it halts there... for example: login as a guest user with limited ...
0
votes
2answers
2k views

Installing Spark on ubuntu

I am installing Spark IM Client for Ubuntu. The tar.gz doesn't appear to be functional at ALL, (considering the /bin directory is completely empty and lacks important things like unpack200) but I ...
0
votes
1answer
661 views

How do I install the J2EE SDK on 10.04?

I get the following error when I try to install j2eesdk on ubuntu 10.04 ./j2eesdk-1_4_03-linux-ml.bin: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: ...
36
votes
6answers
122k views

Installing Chrome Java Plugin

I've been trying to install the Java plugin for Chrome for a couple hours now, and I figured it was time to ask people with more experience. I can't seem to get it working. My current Java version is ...
0
votes
2answers
767 views

I can't Install Oracle J2EE JDK [duplicate]

Possible Duplicate: Installing J2EE under Ubuntu x64 I can't install Oracle JDK J2EE like i show in the pix below this is my java (Oracle J2SE JDK) configuration when I typed which ...
10
votes
3answers
19k views

Specify JDK for tomcat7

I have installed tomcat7 (using apt-get install) and whenever I want to start tomcat7 it says : * no JDK found - please set JAVA_HOME I have set JAVA_HOME in my bash.bashrc and also in ~/.bashrc ...
0
votes
1answer
400 views

Attempting to GREP details of a Java error

I'm running Ubuntu 11 and I'm having some issues with grep. I have a shell script (see below) which essentially checks if a certain Java program of mine is running, if not it runs it. That part works ...
2
votes
0answers
98 views

Help with Java: I want to reduce how many Java installed I have down to 1.

I have used many different methods to install java because I want to get Minecraft working. I heared that if I uninstall Java it would installed Libre Office, which I do not want to do. I have a ...
2
votes
1answer
130 views

Is there a way to use the “primary toolbar” with QT or Java?

I am developping a software in order to compete in the Ubuntu App Contest, but I am having a problem. I started with quickly and glade, but since I am not very familiar with python, and since now the ...
2
votes
1answer
1k views

Icedtea in Chrome won't load java applets

Icedtea in Chrome won't load java applets such as minecraft and runescape. It shows a gray screen instead. I've tried and failed to install the java plugin for chrome and it's left me wondering why ...
3
votes
1answer
534 views

Ubuntu 12.04 version of Netbeans doesn't have the JavaFX plugin

I just want to know why does Netbeans 7.0.1 from the official Ubuntu 12.04 doesn't have all the plugins (in especial the JavaFX plugin) on it while the official Netbeans from the website (even the ...
0
votes
2answers
96 views

New to Java Programming - Error help [closed]

I am going through a Java book and drafting the examples and have run into the following error when compiling this code. Any help would be appreciated thank you. Error: Main.java:3: class Addition is ...
1
vote
1answer
371 views

How big is the mono runtime?

How big is the mono runtime, and how does it compare in size to other popular runtimes like python, ruby and java?
1
vote
1answer
290 views

Java wont run in firefox?

I have Icedtea installed, but when I go to run my favorite Java application, Runescape, in the browser, it says I don't have Java installed in Firefox. Is there any way to say, turn it on?
6
votes
3answers
19k views

How to fix Java problem installing Matlab 2012a (64-bit) in Ubuntu 12.04 (64 bit)?

I am trying to install Matlab 2012a (64-bit) in Ubuntu 12.04LTS (64-bit). I have installed Java 7. My Java version is: sabyasachi@sabyasachi-ubuntu:~/Downloads/R2012a_UNIX$ java -version java version ...
8
votes
1answer
472 views

How to create a PPA for a Maven project?

I wanted to try creating my own PPA. The project I have is a java project built with maven. This is what I've already done so far: Created a PPA. Set up a new project on Launchpad. Added a branch ...
6
votes
0answers
10k views

How to install Oracle Java web plugin on Chrome in 12.04? [duplicate]

Possible Duplicate: How can I install Sun/Oracle’s proprietary Java 6/7 JRE or JDK? I've tried a whole lot of guides, but at best I ended up with neither Google Chrome not Firefox ...
1
vote
0answers
33 views

Running java applets in the browser [duplicate]

Possible Duplicate: How do I install Java? With my 12.04, if I point my browser (either firefox or chrome) to http://www.java.com/en/download/testjava.jsp it will say that java is not ...
2
votes
2answers
8k views

How to uninstall a firefox plugin?

I was trying to play minecraft in the browser, and I got asked to install a plugin called "IcedTea-Web Plugin (using IcedTea-Web 1.2 (1.2-2ubuntu1))" (something related to Java 6), which I can see now ...
25
votes
4answers
87k views

How can I tell what version of Java I have installed?

I want to start toying around with java (eventually getting to the point where I can write basic little programs for android or web), but I've managed to have java messed up on my computer (from past ...
1
vote
2answers
817 views

Issues configuring oracle java 6 plugin in chromium

I've been pulling my hair out trying to get Oracle Java running in Chromium. My Java version is shown below: java version "1.6.0_32" Java(TM) SE Runtime Environment (build 1.6.0_32-b05) Java ...
1
vote
2answers
2k views

Java installation problem

I cannot install java on my ubuntu 12.04: zero@ghostrider:~$ sudo apt-get purge openjdk* [sudo] password for zero: Reading package lists... Done Building dependency tree Reading state ...
1
vote
1answer
119 views

Java Doesn't Work with Legislative Elections Application

It is possible for French citizens living abroad to vote by the internet in this weekend's legislative elections (Elections législatives). The process begins at this website. Among the supported ...
2
votes
2answers
6k views

How to uninstall java6

I am trying root@vz10931:/var/www/mailer# apt-get remove --purge sun-java6-bin Reading package lists... Done Building dependency tree Reading state information... Done You might want to run apt-get ...
3
votes
4answers
2k views

Netbeans shows only blank window

I am not able to launch Netbeans. When I launch it for the first time I normally get the netbeans splash screen, but after that nothing happens. When I try to launch it again, a small blank window ...
0
votes
2answers
1k views

Netbeans 7.1.2 not available after installation in Ubuntu 12.04

I have upgraded to ubuntu 12.04. I downloaded netbeans from the netbeans site with a .sh file. Followed the instructions chmode +x <filename.sh> .. no response. It required me to update JDK ...
0
votes
2answers
2k views

“Package dependencies cannot be resolved” when installing OpenJDK Runtime

When I try to install "OpenJDK Java 7 Runtime" from the Software Centre, this happens: Package dependencies cannot be resolved This error could be caused by required additional software ...