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

13
votes
9answers
29k views

Minecraft in jdk 1.7.0_u2 x64

I have Ubuntu 11.10 64-bit and I installed JDK 1.7.0 update 2 x64 via webupd8 page. But currently I have problem with minecraft game. After downloading launcher from Minecraft.net and lauch the game ...
2
votes
1answer
11k views

How to get the java compiler for ubuntu?

I am in a Java class in my college right now, and we have to be able to compile java programs via the terminal. I would like to keep using my Ubuntu installation for it though. whenever I try to ...
0
votes
1answer
10k views

Java location in Ubuntu using which Java [duplicate]

Possible Duplicate: How to install Java? How to replace OpenJDK 6 with OpenJDK 7? I've installed Java in Ubuntu and generally it seems to be ok, but now I'm trying to upgrade to OpenJDk 7 ...
17
votes
5answers
56k views

How to make a jar file run on startup & and when you log out?

I have no idea where to start looking. I've been reading about daemons and didn't understand the concept. More details : I've been writing a crawler which never stops and crawlers over RSS in the ...
1
vote
1answer
1k views

How to install a specific version of java? [duplicate]

Possible Duplicate: How to install Oracle Java JDK 6? I want to install JDK 6u30 or later on ubuntu (but not java 7), how can I do so? I'm on ubuntu 11.10
1
vote
2answers
1k views

How to install Java and which version of it?

I'm on Ubuntu 11.10 and I wanna know which version (OpenJDK or Sun's one or whatever) is the best to develop applications and use it with Eclipse, and how to install it. Thank you.
10
votes
5answers
4k views

How do I make my java app compatible with the unity global menu?

I like to develop in Java but also want compatibility with the global menu? Is there a way? Please help.
4
votes
5answers
16k views

correct Installation and configuration of openJDK and R

I am relatively new to Ubuntu so I wont know a lot of commands that probably became standard to a lot of you guys. I am trying to set up R and with it the necessary java dependencies to install e.g. ...
4
votes
3answers
164 views

What happens when there are 2 versions of a terminal command installed?

For example, I have OpenJDK 6 and 7 both installed. If I run javac foo.java will is compile my program as a Java 6 program or a Java 7 program?
2
votes
1answer
252 views

Where is Netbeans? [duplicate]

Possible Duplicate: How do I install Netbeans? I did some search and it appears that Netbeans IDE should be available through the Ubuntu repositories. But it's not! I'm wondering if I'm ...
3
votes
1answer
730 views

Poor Audio in Blackboard Collaborate (Elluminate Live) on Ubuntu 11.10

I already have Sun Java (not OpenJDK) installed, but I'm still having audio issues. OpenJDK didn't display the slides, which was fixed by Sun Java, but the audio was bad in both of them. Is there any ...
0
votes
2answers
543 views

How do I install javahl _without_ pulling in all the openjdk stuff?

On my linux box (oneiric, 64bit) I'm running Eclipse and java straight from the Eclipse/Oracle tarballs. I'd like to install the javaHL subversion libraries, which according to the subclipse wiki are ...
1
vote
2answers
1k views

Failed to parse Adb version -Wrong ELF Class

My PC CONFIGURATION : UBUNTU 11.10 version 64 bit , ECLIPSE 3.7 , ANDROID SDK I tried hard to remove adb error but itsms not working and showing following Errors: /platform-tools/adb:Error While ...
0
votes
0answers
3k views

How can I install OpenJDK 7 on 10.04 LTS? [duplicate]

Possible Duplicate: How do I install Java? I noticed it's available on 11.10, but is there a backport to lucid 10.04 LTS?
0
votes
2answers
899 views

32 bit Java on 64 bit Ubuntu

Will Sun Java 6 Update 30 (32 bit version) work on Ubuntu 10.10 (64 bit version)? I should use Sun instead of OpenJDK because the support people for the API I am interfacing to referred me to Sun. I ...
8
votes
2answers
533 views

How can I submit a NetBeans project to Ubuntu App Developer?

I have made a Java application for Ubuntu in NetBeans and would like to submit it to the Ubuntu Software Center. But the problem is, when I get the upload form, they ask to choose a file. So what do I ...
6
votes
3answers
2k views

How to revert back to OpenJDK?

I had installed sun-java, but I want to revert back to OpenJDK 7. I was trying to re-install from the terminal using the command sudo apt-get install openjdk-7-jre, same from Synaptic and Software ...
3
votes
2answers
561 views

Installing mods on Minecraft 1.0 does not work for Mo' Creatures

In attempting to get the Mo' Creatures mod working on Kubuntu 11.10 with OpenJRE-6 I get the following error: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) ...
2
votes
2answers
1k views

Firefox 3.6.24 does not see Java plugin

6 Jan 2012 v.puzzled, Ubuntu 10.04 Lucid Lynx, Firefox 3.6.24, sun-java6-plugin 6.26-2lucid1: Firefox does not seem to even know that the java plugin is there (it is installed, and re-installed), i....
4
votes
1answer
14k views

First time using Java Web Start in Ubuntu - Fatal Launch Exception

I've been using Ubuntu for a while and Java Web Start applications have never "just worked" in the current or any prior version, so I ignored them until now. However, now I have a need to get them ...
2
votes
1answer
1k views

Openjdk-7-jdk some commands not recognized?

I installed openjdk-7-jdk using apt-get install. However, when I type 'javac', the terminal says, 'bash: /usr/bin/javac: No such file or directory'. I think the link is broken, but how can I fix it? ...
1
vote
2answers
5k views

How do you run a java program from a bash script?

I am trying to run a minecraft server from a "run.sh" script. So far I have this: #!/bin/sh java -Xms512M -Xmx2048M -jar minecraft_server.jar nogui I'm running the script from the same directory as ...
3
votes
1answer
9k views

java_home directory is not correct though it exists in my environment file

I'm using Java jdk with Maven and I have the following /etc/environment PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" # Maven Settings ...
2
votes
1answer
471 views

Unable to record sound from web browser (firefox / chromium ) using recordmydesktop

I have to do some screencast tutorials and i am using recordmydesktop with gtk frontend to do it. I need to record also the sound and here is where i have found the problem. It took me some time, but ...
1
vote
0answers
5k views

Sun's JDK on Ubuntu 11.10 Server Edition [duplicate]

Possible Duplicate: How to install Oracle Java JDK 6? How do I install Sun's JDK6 on Ubuntu 11.10 on command line ?
0
votes
0answers
2k views

Installing Sun Java JRE, JDK? [duplicate]

Possible Duplicate: How to install Java? The OS is returning an error upon attempting to install the Sun Java packages. I've already uninstalled the openjdk packages and added these to the ...
0
votes
2answers
797 views

I installed the OpenJDK-7 but my runtime environment wasn't upgraded to 7?

I installed openjdk-7-jdk, "javac" was version 7 but "java" was still version 1.6, any way around this? No updates are available.
1
vote
2answers
460 views

Which Java versions support global appmenu

yesterday after few updates (some of them in java) the Eclipse lose ability to move it's menu to the global-menu bar. I was try to remove/add different java from the ubuntu's repositories but it ...
2
votes
2answers
673 views

Getting Java working again in 10.10? (or force newest version of OpenJDK?)

Recently, the games on Pogo.com stopped working with Sun Java in Ubuntu 10.10. I have my dad running 64bit Ubuntu 10.10 because it works fine for him and he has had no reason for an upgrade (and didnt ...
19
votes
6answers
5k views

Java application launcher not staying in Unity launcher

I'm using IntelliJ IDEA, which is a Java application. When it runs (invoked through Dash) it shows a launcher icon with no name. I've tried several times to right-click and select "keep in launcher",...
0
votes
1answer
2k views

Removing openjdk-6-jre without the installation of sun-java6-jre

I have alrady installed (manually, from the .bin file) the latest jre (Version 6 Update 30) from oracle and now i want to remove the openjdk-6-jre. However, apt forces me to install old (Version 6 ...
-1
votes
1answer
617 views

sun java being dropped 'TBD' but when? [duplicate]

Possible Duplicate: Will Sun's Java be available from Canonical's partner repository? In this article https://wiki.ubuntu.com/LucidLynx/ReleaseNotes/Java6Transition I read that java ...
0
votes
0answers
651 views

How to remove Oracle JDK and install OpenJDK? [duplicate]

Possible Duplicate: How to revert back to OpenJDK? I've installed Oracle Java using this manual: http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux It did not, however, work any ...
1
vote
1answer
11k views

How do I use the 32-bit JVM on a 64 bit OS?

I have a 64-bit server with only 1 GiB of RAM (VM at Rackspace). I need to run a few instances of the JVM, and the 64 bit VMs are consuming too much RAM. I can't seem to find anyplace that tells me ...
0
votes
1answer
5k views

How to completely uninstall Sun Java

I have followed a tutorial on how to install sun jdk manually on ubuntu 11.10, alright it worked. But now I want to remove it, because I want to install the 32bit version instead of the 64 (what I did)...
2
votes
2answers
27k views

Eclipse can't find JDK 7

I've got Oracle JDK 7 installed javac -version yields javac 1.7.0 and the JRE is installed and enabled in Eclipse > Preferences > Installed JREs (As location: /usr/lib/jvm/jdk1.7.0) But trying to ...
1
vote
1answer
2k views

Installing Oracle Java JRE 7, Terminal Command Not Recognizing Moved File

I'm having a small problem. I've been trying to work Minecraft into working using Wine. Over the past few hours, I've been working with Java over and over (long story, I'll keep it relevant) and have ...
0
votes
1answer
1k views

How to deploy Oracle Forms 10g?

En mi caso para poder desplegar Forms de Oracle 10g lo hago en Windows XP mediante Firefox 3.03 utilizando el Jinitiator de Oracle y el JRE. He intentado hacer esto el Ubuntu 10.04 y 11.10 mediante ...
4
votes
2answers
4k views

How to make Minecraft run smoothly?

I have noticed that on Windows, Minecraft runs a lot smoother than on Ubuntu 11.10. What can I do to make it run smoother on here? I have a ATI Mobility Radeon HD 4250 Graphics card. I don't know ...
3
votes
2answers
27k views

Setting Java CLASSPATH

I've done java development before but generally on windows (but I'm by no means an expert). I just want to set my CLASSPATH. When I run: echo $CLASSPATH (Is that right)? I get a empty line. So, ...
1
vote
1answer
239 views

GWT (Google Web Toolkit) App through USC (Ubuntu Software Center)

Is it possible do deploy google web toolkit (GWT) apps through the UBUNTU software center? I never deployed any application through the UBUNTU software center (newbie). So if yes, is there someone who ...
4
votes
3answers
2k views

How to shutdown/restart/suspend … without authentication or confirmation?

I am looking for a terminal command to shutdown without having to write down my password and without installing any extra programs. As when clicking the shutdown button, why it is not asking me for ...
2
votes
1answer
1k views

Java programs cannot be relaunched from launcher side bar

I run a java program (smartgit for example). What I see in the launcher is just a question mark. Marking the "Keep in Launcher" doesn't open the app. It just blinks for several seconds and stops ...
0
votes
2answers
248 views

What are the disadvantages of adding the repositories from 11.04 to 11.10?

The reason I'm doing this is to have Sun's java 6 installed (getting updates, etc.) In 11.10 Sun's Java was removed from the partner repository. What do you think are the potential disadvantages?
0
votes
1answer
2k views

Why can I not see Java applets in Firefox 8 on Ubuntu 10.04?

Examples are the Java "Play Against The Computer" applet on a chess website; there is also the Java chat room on another website that just shows a white area where the chat room was supposed to be. I ...
3
votes
6answers
18k views

Cannot execute Java program: UnsupportedClassVersionError

I have installed JDK 6, but I can't execute a Java program. For example, I have made test.java. I compile it with javac tes.java and there's no error when I compile it, but when I want to execute ...
78
votes
9answers
253k views

How to completely uninstall Java?

How can I completely remove all traces of Java on my system? I already know how to install it in case I need it again.
1
vote
2answers
2k views

sudo apt-get install returns a 404 error but ping returns packets. Is it a problem with my network configurations?

I'm trying to install openjdk on an Ubuntu 11.04 VM in a Mac. However, I'm running into 404 errors on the command line which I can't diagnose why. sudo apt-get install openjdk-6-jre-headless ... Err ...
2
votes
4answers
22k views

Netbeans 7.0.1 installed but won't run

I installed Netbeans 7.0.1, and I've made sure to install all the JDKs and JREs I could find. It installed without errors. I also saw this question and made sure I followed all the instructions there ...
7
votes
4answers
33k views

How to get icedtea7-plugin?

On Ubuntu 11.10 (oneiric), I installed openjdk-7-jre openjdk-7-jdk but could not find icedtea7-plugin. How to get the plugin? $ java -version java version "1.7.0_147-icedtea" OpenJDK Runtime ...