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
0answers
292 views

Eclipse Juno won't open gui java apps when run with gksudo

I have Eclipse Juno installed on Ubuntu 12.04. When I run from the command line with sudo, everything works fine. However, when I follow the advice I see everywhere and run it with gksudo, I get the ...
0
votes
1answer
310 views

How to get this Java -program CPLEX working in Ubuntu 11?

I am trying to istall the IBM CPLEX here and here requiring some Java thing but getting err: /tmp/install.dir.7091/Linux/resource/jre/bin/java: 1: Syntax error: Unterminated quoted string I tested ...
0
votes
1answer
369 views

Oracle java -version doesn't work

I've installed java by following this instruction and also had installed java 7 from elsewhere but I can't seem to get it to work.. every time I type in java -version via terminal (I am ssh-ing to an ...
0
votes
1answer
757 views

java2-runtime virtual package not considered installed by dpkg/apt-get

Did a fresh install of Quetzal Server, installed all updates. Installed default-jre-headless which pulled in OpenJDK 7 JRE without any X11-related packages. So far so good. Now I try to install ...
3
votes
4answers
4k views

freemind wont run despite OpenJDK JRE installed

I install freemind from USC Ubuntu 12.04, but it failed to run with the following error: " [warning] /usr/bin/freemind: No java runtime was found [error] /usr/bin/freemind: Unable to find an ...
0
votes
1answer
75 views

I've had installed oracle java, then I removed but the oracle java options are still in the aplications? How do i remove them

I had troubles unistalling oracle java but finally i did it (don't know how) but still the oracle java options are appearing in the dash home like Oracle java console and so on. I'd like to remove ...
0
votes
1answer
472 views

What packages are neccessary to have sound output from java applets?

I've got a very minimalistic setup of ubuntu precise, created using debootstrap. So please don't assume that any packages are installed just because they usually are. On that system, I'd like to play ...
1
vote
0answers
83 views

How do i install chrome and java? [duplicate]

Possible Duplicate: How do I install Java? I have used google for two hours now. Could someone please just write down what i need to enter to install both chrome and java. I am using ubuntu ...
1
vote
1answer
703 views

Java graphics slow Ubuntu 12.10

I have a Java application I am developing and I would like to use Ubuntu to work on it at home. The application displays some images and allows a user to pan and view. The same application runs ...
1
vote
1answer
282 views

Strange Behaviour working in netbeans IDE 7.0.1 on java swing

I am using Netbeans to code java swing. I am able to the see the GUI when i run. But it says loading when i view the GUI in Netbeans IDE before running. I get some kind of linkage error. Anyone faced ...
6
votes
3answers
5k views

How do I update the IcedTea Plugin on 12.10?

Whenever I open up the page http://www.runescape.com/game.ws? in google chrome I get the notice, "IcedTea was blocked because it is out of date" and gives me the two options of updating it or running ...
1
vote
2answers
1k views

How to read OpenJDK 7 documentation (or other -doc) packages?

I have installed openjdk-7-doc but I cannot find where to read the documentations of the APIs? E.g.: How to find/read "String class" API documentation I prefer GUI-based over command-line but I also ...
1
vote
1answer
452 views

installing apache 2 in ubuntu

Hello I am new to ubuntu. I am trying to install Apache2 using "sudo apt-get install apache2" command.I have set my java path as per rules but still its showing me this following errors: sha256sum ...
4
votes
1answer
371 views

Pointer position way off in Java Application menu's when using gnome-shell

When using any java application in gnome-shell if the window is maximised the pointer position is way off; but only on the menu's, in the editor, or the side panel, the pointer is fine. This only ...
1
vote
2answers
1k views

Javascript enabled but not enabled in Firefox browser

I had installed Java ii icedtea-6-jre-cacao 6b24-1.11.5-0ubuntu1~12.04.1 Alternative JVM for OpenJDK, using Cacao ii icedtea-6-jre-jamvm ...
5
votes
1answer
374 views

What language C++, Python, or Java is most supported in Precise Pangolin for game development?

I've studied game programming and design in Windows using DirectX, and a bit using Python and PyGame. I would like to start developing some games for Ubuntu. Now I would like to build a game called ...
1
vote
2answers
440 views

Environment variable is set but not accessible on server

I have a Java program which accesses some property files for it to work through a path which is set as an environment variable. I set the path using export command. The Java jar file which is the ...
0
votes
1answer
190 views

I need help installing java. [duplicate]

Possible Duplicate: How do I install Java? Is there anyone on here who knows how to install Java on Ubuntu and is willing to teach me how via teamveiwer? I would greatly appeciate it if you ...
2
votes
1answer
169 views

Application as desktop background in Ubuntu

I was thinking, if there is any way to set, for example, a java application as my desktop background? I'd love to see Lotka-Volterra Predator-Prey Model visualization on my desktop. An example of this ...
0
votes
4answers
490 views

Facing Problems While Installing Java

First When I downloaded java from official website I got confused how to install it. Then I searched it on software center and I found it. But when I install it, it starts but instantly stops and the ...
10
votes
3answers
16k views

“No such file or directory” when invoking java

I'm trying to re-install Oracle JDK 7 32 bit to 64 bit Ubuntu (previously 64 bit JDK was installed). JDK is currently present at /usr/lib/jvm/jdk1.7.0. I invoke sudo update-alternatives --remove ...
0
votes
3answers
309 views

Minecraft issues on ubuntu

I recently bought Minecraft and installed it on Ubuntu (I have played it on a Windows with no problems). I have JDK Java 6 runtime. When I try to open Minecraft with Java it gives me an error message ...
0
votes
1answer
303 views

Will installing OpenJDK 7 set it automatically as the default jre?

I just upgraded to 12.10 and so far it has been the smoothest upgrade ever. I was surprised to see that the version 6 is still around and was not replaced by Java 7. Is it recommended to install ...
4
votes
1answer
4k views

Aptana studio 3 gives me a java missing error?

After downloading aptana en extracting it in my home folder I run it like so ./AptanaStudio3 After that i get a box saying A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be ...
0
votes
2answers
4k views

Can't get OpenJDK Java 7 Runtime to open 'minecraft.jar' file

I have 64bit Ubuntu 12.10 installed with an Intel® Core™ i5-3570K CPU. I use Chromium. I have installed OpenJDK 7 but whenever I right-click the .jar file and click "open with openjdk java 7 runtime" ...
2
votes
2answers
603 views

java development on linux [duplicate]

Possible Duplicate: How do I install Oracle Java JDK 7? I need help on how can I install java oracle 7, netbeans and tomcat on ubuntu platform. I 'm new to ubuntu, totally zero knowledge on ...
1
vote
3answers
4k views

“MOZILLA_FIVE_HOME not set” zekr quran study software java error

I have installed zekr Quran study software on ubuntu 12.04 and I upgraded to 12.10. then the zekr app has been giving me this error when ever I start it. org.eclipse.swt.SWTError: No more handles ...
9
votes
1answer
6k views

Minecraft Fullscreen not working

I upgraded to Quantal recently, and Minecraft seems to not want to run in fullscreen. When I go to fullscreen it, the screen will go black for a second, as if it was about to go fullscreen normally, ...
2
votes
1answer
341 views

java MainServer gives java.lang.UnsupportedClassVersionError: Unsupported major.minor version 51.0

Compiling is easy but when using java to run the programs, it gives Exception found. I am using Ubuntu 12.04 without internet connections. Also, installed Oracle JDK7 and JRE7. Also did the ...
0
votes
1answer
6k views

ubuntu 12.10 can't find java, but it's exists!

I installed ZendStudio 5.5.1 on Ubuntu 12.04 and it runs well , no problem. Today, I download Ubuntu 12.10 and intalled it on my / but keep the /home partition. And now, I can't run the ZendStudio any ...
1
vote
1answer
127 views

Which Java version should I target for 12.04 installations?

I am considering developing a Java application for Ubuntu. The page https://help.ubuntu.com/community/Java doesn't say which (if any) comes by default. Also, I know many people change their Java ...
1
vote
2answers
679 views

Difference between sh file.sh and file.sh

I have two questions : What is the difference between executing sh filename.sh and filename.sh? How can I make both of them giving me the same output ? I'm asking this question as right now I'm ...
2
votes
1answer
671 views

Java console doesn't recognize arrow keys

I have some strange problems with a java console on my 10.04 server (it's actually the console of a minecraft-server, but I believe it's a general problem and not something minecraft specific): arrow ...
3
votes
2answers
7k views

Cannot load SWT library “UnsatisfiedLinkError: no swt-gtk-4233”

I'm a Java newbie who just a made a simple Java program using SWT for GUI via eclipse Juno. The code was working and the program was able to run inside eclipse, so I compiled it and made it a runnable ...
1
vote
1answer
146 views

oracle java installer fails with licence not accepted

G'day all, I am running Ubuntu 12.04 When trying to upgrade the oracle java installer from the webupd8team ppa I get an error that says I declined to accept the licence. I am never offered the option ...
2
votes
0answers
92 views

Unity launcher and java chat windows [closed]

I'm using java 7 to talk in this italian chat LIbero When I open several dialogue windows, unity launcher shows me only 1 icon and, when I click on it, only the last dialogue window appears and I ...
4
votes
2answers
10k views

Replacing the OpenJDK with the Oracle JDK

I've had the archive file for Oracle's JDK for some time and have been running java applications through ~/Downloads/jdk1.7.0/bin/java -jar <jarfile> for some time, but I'm wondering if there's ...
0
votes
2answers
789 views

Issues with TDAmeritrade thinkorswim

I installed thinkorswim ("ToS") to Ubuntu 10.04LTS on a 64-bit AMD setup in January and used it without issues through August 3. The system was continually kept updated all that time. In mid-August I ...
1
vote
1answer
746 views

How do I get Carnegie Learning online working in Edubuntu?

I've recently built a computer lab running various forms of Ubuntu. I'm testing out Edubuntu to see if it is a better fit for our school, but I'm running up against a problem I can't resolve. One of ...
3
votes
1answer
6k views

Desktop link to Eclipse

I was tring to install eclipse on ubuntu. What I did: I unzipped the tar archive of eclipse. I tried to start eclipse from the command line - like this - ./eclipse. It works. But then I tried to ...
3
votes
2answers
67 views

How to launch Ubuntu Center from my application?

My Java application needs this library libswt-webkit-gtk-3-jni to run successfully. So if the user doesn't have this library installed, I want Ubuntu Software Center to be launched and tell the user ...
11
votes
2answers
29k views

Java on Ubuntu server 12.04? [duplicate]

I'm a little confused at the moment. My back story in short, is that I'm trying to set up a Minecraft server on an Ubuntu server I've recently set up, obviously to do this I needed Java, but after ...
-1
votes
2answers
1k views

To write a batch processing script which runs on bash

How to convert your java program so that it runs as a batch program i.e it can be run like a command in the ubuntu or any linux machine. What is the procedure and what are the steps to follow? ...
0
votes
0answers
21 views

Why won't Eclipse run my code? [duplicate]

Possible Duplicate: Eclipse has multiple issues after JRE-6 (OpenJDK) upgrade So, I have just installed Eclipse onto my Ubuntu machine, and when I try to run any of my projects, it does ...
3
votes
1answer
1k views

Trouble installing Matlab due to java.lang.NoClassDefFoundError

So whenever I try to install Matlab, the first image appears, but then goes away and that's the end of it. Here's what I'm doing- user@host$> cd ~/mathworks_downloads user@host$> unzip ...
1
vote
0answers
863 views

How to install Java Plug-in? [duplicate]

Possible Duplicate: How do I install Java? WebEx complains that Java is NOT working and that the plug-in needs to be enabled, but the plug-in is not in Tools > Add-ons. Search all add-ons ...
1
vote
0answers
969 views

How do I install Oracle Java on 12.04 such that it works in Google Chrome/Chromium?

I've looked at the other questions asked on this subject and I got OpenJDK and its plugin for web browsers but it isn't working for me. Please help me here, would be much appreciated if someone could ...
1
vote
0answers
1k views

Java doesn't show up in firefox plugins

I've just installed the newest java, because firefox blocks the old version. I used the tutorial from http://www.backtrack-linux.org/wiki/index.php/Java_Install Because I had some trouble once, I knew ...
1
vote
1answer
701 views

Adding a library to Java CLASSPATH

I am not sure if my question is more related about Ubuntu or Java, so pardon me! I am trying to compile a java program but I get the following error: package javax.comm does not exist I have ...
3
votes
2answers
642 views

how to enable in chrome icedtea7 java plugin instead of icedtea6?

My chrome browser in ubuntu 12.04 uses iced6 plugin. Test http://java.com/en/download/testjava.jsp shows java6, but via update-alternatives I switched java/javac to using openjdk-java7