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

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
144 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
757 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
720 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
28k 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
968 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
666 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
614 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
8
votes
3answers
37k views

How run a .jar file with a double-click?

I have a problem running .jar files by double-clicking them. When I go to the Properties dialogue I can't find Java--only Archive Manager in the list of programs. But java -jar somefile.jar opens the ...
4
votes
1answer
235 views

Minecraft: right click shows cursor

I play Java progammed game Minecraft. When I place an block by using right click, it shows the cursor position over the Java application as long I hold it down. It is annoying because on Windows ...
0
votes
1answer
4k views

How to allocate more ram to minecraft?

Minecraft lags badly in my linux than windows! in windows i dont find trouble playing it! My system specs : processor : AMD Athlon x2 260 3.2ghz dual core Graphic ...
28
votes
4answers
7k views

Installing Java Automatically (With Silent Option)

I'm trying to install Java through apt-get. I found this PPA of Java Installers, however, when I add the repository, update and then issue the apt-get install -y command, the installer for java ...
3
votes
2answers
13k views

strings: '/lib/libc.so.6': No such file

I just started to use Ubuntu. I installed the 12.04 64bit Ubuntu. Java and Eclipse are installed and working fine. When I install Accurev, I got the following error: Preparing to install... ...
0
votes
1answer
1k views

How to install appcelerator titanium on ubuntu 12.04?

I downloaded the available zip file which -from its name- seems to be gtk, and when trying to run TitaniumStudio as explained in the installation guide run the TitaniumStudio executable I get ...
-1
votes
2answers
258 views

link java bytecode (class files) with java-command [closed]

Is it possible to directly bind all *.class files with the java command? At the moment I run java-files like: java myprog args Is it possible to simple type myporg args ok, this is not a very ...
0
votes
1answer
320 views

How do I add shell programs to the Unity search results?

When you add no-install applications to Ubuntu, they don't come up in the Unity search. For example, I downloaded Eclipse and unzipped it in a folder: ~/SelfInstall/eclipse. How do I get eclipse ...
1
vote
2answers
6k views

Installing Matlab 2012a (32-bit) in Ubuntu 12.04 LTS java problem

This is my first posting here, so please be gentle. I am having a problem installing Matlab 2012a (32-bit) in Ubuntu 12.04 LTS. I have trawled around the web and have seen similar problems reported, ...
3
votes
1answer
1k views

Java 1.7 update 07 and Google Chrome

I've just updated Java from 1.6 to 1.7 via the Software Centre - removing the old Java 1.6 and selecting the new Java 1.7. Firefox works fine. But when I use Google Chrome to access a Java test ...
1
vote
2answers
2k views

How to install Processing in Edubuntu 12.04

Can you help me, please? I have Edubuntu installed in my computer and I need to install Processing. How can do it? Best regards
0
votes
2answers
780 views

Can't install Oracle J2EE due to “An internal Error has occurred”

I am trying to install Oracle JavaEE 6 SDK with Glassfish on Ubuntu 12.04 with Java SDK 7. I have downloaded java_ee_sdk-6u4-jdk7-linux-x64.sh already, but when I run it on terminal, the wizard ...
6
votes
2answers
17k views

How set CLASSPATH variable for a folder in Ubuntu

I know that export CLASSPATH=/usr/local/java/tools.jar:$CLASSPATH will add tools.jar to the CLASSPATH, but i want to set folder to the CLASSPATH like this export ...
0
votes
2answers
468 views

Problem by installing Java

Yesterday night I was trying to download Java as per instructions given on http://developer.android.com/ .But I messed up somewhere and had to give up the thing. But since morning when ever I try to ...
0
votes
1answer
126 views

Website shows Java not installed

When I try to use Screenleap it asks me to install Java. However, I have openjdk and icedtea already installed. How can I make it work?
3
votes
2answers
12k views

permission denied: /etc/apt/sources.list

I'm trying to install java jre, i usually do it like this sudo echo 'deb http://www.duinsoft.nl/pkg debs all' >> /etc/apt/sources.list sudo apt-key adv --keyserver keys.gnupg.net --recv-keys ...
3
votes
7answers
14k views

Matlab install - Java permission denied

Matlab version 2012. I know there are many threads about this, suggesting to chmod +x the following files (if you are in installation directory): sys/java/jre/glnx86/jre/bin/java ...
2
votes
2answers
5k views

How can I select which Java to use?

I have installed both OpenJDK 6 and 7. When I run "java somefile" from the command line, OpenJDK 6 is invoked. I do not want to change this default behavior. What command can I use to run my ...
0
votes
1answer
243 views

How to maximize Java resources for gaming?

I notice that when I play Minecraft, my CPU usage is only around 15 to 20 percent, at most. Is it possible to force my computer to allocate as much RAM, CPU time, etc. to the game, in order to get the ...
0
votes
1answer
812 views

How to completely remove other versions of Java on 11.10?

I have been trying to install Java on my dedicated server. I have partially installed multiple versions of Java and now cannot un-install them as they all have dependencies. Whenever I try and ...
1
vote
1answer
933 views

New java version installation run error

I just installed a new version of Java jre1.7.0_07 it is all installed and I have already set it as my default Java using sudo update-alternatives --config java However when I go to fire up a ...
3
votes
1answer
1k views

Cannot install JDK 7

i have already extracted the files in the tar.gz files i also tried the sudo update-alternatives but it only says it doest have too since i already have one jdk and then when i try java -version it ...
40
votes
1answer
77k views

How do I update Oracle Java 7 (JDK and JRE)

Recently, I've installed JDK 7 from the Oracle site, using these instructions. Now, I'm wondering what is the correct method to update it (or, better, to keep up-to-date automatically)? For instance, ...
3
votes
2answers
325 views

I can't find or run downloaded Geogebra

I can't find it. I can't run it. I have no idea what to do now that it's on my computer. I'm new at this stuff.
2
votes
1answer
5k views

Exception in thread “main” java.lang.NoClassDefFoundError: Finger

I´am trying to use this Finger.java for my Android project, But I get this error. $java Finger username@host.com Exception in thread "main" java.lang.NoClassDefFoundError: Finger Caused by: ...
2
votes
4answers
3k views

Java Not Recognized As Default Application

I just installed java according to this article, and java -version displays java version "1.7.0_07" Java(TM) SE Runtime Environment (build 1.7.0_07-b10) Java HotSpot(TM) 64-Bit Server VM (build ...
3
votes
3answers
2k views

When running Minecraft with OpenJDK, my keyboard becomes unresponsive?

I recently downloaded Minecraft with the .jar format and had it running on my computer not so long ago. Now that I'm using my desktop instead of laptop temporarily, I want it to run. On my laptop it ...
1
vote
2answers
3k views

Can't open Minecraft with java

I know this has been asked here before, but none of the solutions have worked for me. I have a fresh install of Ubuntu 12.04 on my system and I installed Open Java 7 and I downloaded Minecraft. I ...
0
votes
3answers
88 views

Tried installing java problem [duplicate]

Possible Duplicate: How do I fix this “E:Type ‘*’ is not known on line * in source list …” update error? I was trying to install gimp and Java,I successfully installed gimp but when I try ...
9
votes
3answers
3k views

Does java security flaw affects ubuntu also?

There are rumors about an actual java security problem. The BSI advises people to deactivate java plugins version 7 and prior in all kind of OS, even in linux. Does this mean, I should deactivate ...
4
votes
3answers
8k views

Remove or disable java due to the security issue

According to the news there's java security hole that is still not fixed. How can Ubuntu users protect their PC? I've got gnome-shell installed and as far as I understand it depends on java. Which ...
1
vote
1answer
334 views

why does this page say java is running if I don't have the java plugin installed? How do i find and disable the java plugin for firefox, and others?

why does this page say java is running if I don't have the java plugin installed? How do i find and disable the java plugin for firefox, and others? http://www.java.com/en/download/testjava.jsp I need ...
0
votes
1answer
435 views

How do I install freeTTS in 12.04?

I am working on speech recognition in java; for which I require a third party library. As I need to import classes like javax.speech.Recognition in my code. I downloaded the source code from this ...