Tagged Questions

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
12k 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
255 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
310 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
773 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 ...
4
votes
2answers
15k 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
464 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
118 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
11k 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
13k 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
4k 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
240 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
803 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
894 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
75k 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
316 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 [email protected] 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
86 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
331 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
423 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 ...
5
votes
1answer
3k views

What package creates /usr/lib/jvm/default-java?

I'm trying to setup Jenkins on 11.10 using only Ubuntu-provided packages. After apt-get install jenkins, Jenkins won't start. I traced it to an absent /usr/lib/jvm/default-java/bin/java. ...
1
vote
4answers
648 views

Java doesn't work

I was writing a program on my laptop to run on my server in Java. However, my laptop has Java 7 running, my server Java 6. This messed up. I tried to upgrade my server by installing openjdk-7-jre and ...
1
vote
4answers
8k views

Eclipse does not want to use openjdk-7

I am on a new installation of Ubuntu. I install all the updates, and then restart. I then install openjdk-7-jdk from apt, then I restart. Then I install eclipse-platform, eclipse-jdt, and eclipse-cdt. ...
5
votes
1answer
812 views

Which Java should I install?

I've seen many articles about HOW to install Java. My question is WHICH one should I install for Java development? OpenJDK 6, OpenJDK 7, Oracle Java 6, or Oracle Java 7? Some sites tell me to install ...
1
vote
0answers
391 views

Shoud I use Java/Eclipse 32 or 64-bit in Ubuntu 64-bit? [closed]

I have Ubuntu 64-bit. So I should use Java/Eclipse 32 or 64-bit? I think Java 64-bit is a little heavy.
0
votes
2answers
2k views

How do I change system-wide default Java runtime without “sudo”?

Sorry for my bad English, but I'm really trying to be better. Ok. I've created a new command/alias(changejava) on Ubuntu 12.04, and I need to skip "sudo password" only when I write "$changejava". If ...
0
votes
1answer
58 views

Java Server Problem [duplicate]

Possible Duplicate: How can I install Sun/Oracle's proprietary Java 6/7 JRE or JDK? I want to make server with Xubuntu but i don't know anything about Linux, So is there any software ...
0
votes
1answer
817 views

aptitude install apach derby ij

I see a similar question here: Question How do I connect to toursdb of Derby database using ij in Ubuntu How do I connect to toursdb of Derby database using ij in Ubuntu I have Ubuntu , I have ...
2
votes
2answers
3k views

Tomcat heap space settings seems not applied

I've a Tomcat 6 installation in Ubuntu 10.04 and wanting to increase Java Heap space, I went to /etc/default/tomcat6 and uncommented and changed the following line: ...
1
vote
0answers
76 views

java installation on ubuntu 12.04 [duplicate]

Possible Duplicate: How do I install Java? Can you please help me install java on buntu 12.04 please explain to me as someone who never used ubuntu in his entire life step by step with ...
1
vote
2answers
460 views

Dpkg error when trying to uninstall java

I have been trying to uninstall jre6 but I keep getting the error dpkg: warning: there's no installed package matching sun-java6-jre:amd64 I've tried sudo apt-get --purge remove sun-java6\* vim and ...
1
vote
0answers
1k views

How to force update-alternatives to update jdk?

I've got java-6-openjdk and java-7-openjdk running on Natty (11.04) on one machine and successfully toggle between them using update-alternatives --config java For some reason this doesn't seem ...
1
vote
1answer
13k views

Setting up JAVA_HOME and CLASSPATH correctly on 12.04

I am having some issues with Java (OpenJDK Java 7 Runtime) on Ubuntu 12.04, and just want to make sure I have my CLASSPATH and JAVA_HOME variables set correctly. ...
1
vote
1answer
1k views

How to install java inside a chroot?

I want to execute a java program inside my debootstrap-chroot on an ubuntu machine for which I need to have java installed inside the chroot jail. I tried to install it using : apt-get install ...
0
votes
2answers
5k views

Play minecraft on ubuntu?

So, I have downloaded and installed java multiple different ways, but I cannot get minecraft to work. I really don't know what's going on, so I don't know how to explain it, but check out this video ...
4
votes
4answers
17k views

How to update Oracle Java plugin for Google-chrome?

To begin with, I have already read the following solutions: Cannot Update Java plugin for Google Chrome How do I get Java plugin for Chrome? Installing Chrome Java Plugin How to install Oracle ...
1
vote
1answer
205 views

Java JOGL file doesnt't compile - I have installed all the non-docs search results for “jogl” from USC

Title says it all. I have installed everything, yet javac behaves like nothing has happened - No OpenGL objects are found when I try to compile copy-pasted code from tutorials. None. I'm using the ...
24
votes
3answers
54k views

How to set JAVA_HOME for OpenJDK?

How can we set JAVA_HOME environment variable for OpenJDK?
1
vote
0answers
438 views

How to build a Jenkins plugin? [closed]

I'm trying to write my own Jenkins plugin. I'm following the official instructions. However, when I get to the part for actually building the plugin, I get a test failure: Tests in error: ...
0
votes
1answer
125 views

Installed Java 6 in Downlods folder what should i do now? [duplicate]

Possible Duplicate: How can I install Sun/Oracle's proprietary Java 6/7 JRE or JDK? I am new to Linux and i used instruction specified in Oracle's documentation on how to install Java ...
1
vote
1answer
166 views

A possible Java problem causing a java program to not work? [duplicate]

Possible Duplicate: How can I install Minecraft? I think I installed Java correctly from Oracle, but I'm not too sure. But I'm fairly confident, since when I use java -version I get this: ...