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
717 views

Very low FPS on Chromium with Runescape

I'm on Ubuntu 11.10, and I am having trouble with Runescape, an in-browser Java game. My fps used to be 40-50 when I would play on Windows, but now, on Ubuntu I'm at 4-5 fps. Any ideas on how I can ...
13
votes
3answers
50k views

Can I install a 32-bit Java in addition to a 64-bit version?

For normal development I'm using the 64-bit VM which comes when I install the Java development kit (OpenJDK) with the package manager. But there are some Java applications (containing native ...
5
votes
4answers
38k views

Java command not found

Follow the instruction to setup Java on Ubuntu 11.10 from How do I install Java?. Running following command to install: sudo apt-get install openjdk-6-jdk After it succeeded and I typed "java", ...
1
vote
1answer
4k views

With Java being purged from the repo's, what does this mean for Minecraft? [duplicate]

Possible Duplicate: How can I install Minecraft? I am running Ubuntu 12.04 Beta 1 LTS on a separate partition on my HD. Now, I read on Web Upd8 awhile back that Oracle had dropped support for ...
1
vote
1answer
9k views

Errors when trying to install the, default-jre-headless package from the synaptic package manager

I am trying to install the java re and java dk in Ubuntu 10.04 LTS. I tried using this link ubuntu help java. I used the first link for installing and clicked yes. I was warned that some of the ...
2
votes
0answers
509 views

Finding leaking memory? [closed]

I have a system running a Java program and I believe it or something else is leaking memory. When the program is monitor for its memory use it de-allocates the memory as it is suppose to. But after a ...
3
votes
1answer
16k views

sun-java6-plugin has no installation candidate? [duplicate]

Possible Duplicate: How do I install Java? I'm trying to install sun-java6-plugin. It supposedly in the "partner" repo. I have: deb http://archive.canonical.com/ lucid partner in /etc/apt/...
0
votes
1answer
1k views

why can't I reserves more than 3Gb ram for java app using 11.10 32-bit?

My system reports 8Gb, but when I try and reserve 6.5Gb heap space, or even 4Gb for a java program it fails. Is this because I installed the 32-bit version? Fails to allocate heap java -Xmx3072m -...
9
votes
4answers
6k views

What tools do I need to install for Java Development?

I am newbie to Ubuntu and I need to install tools for Java development on that platform. I see by the Ubuntu Software Center that I have this installed: OpenJDK java 6 runtime icedtea java 6 web ...
1
vote
2answers
4k views

openjdk6 not available

I run a server with Ubuntu 10.04 (Lucid Lynx) Minimal Server, on amd64 system. I 'd like to install the openjdk packages (jre and jdk), but when I try sudo apt-get install openjdk-6-jdk I get ...
1
vote
2answers
3k views

Java GUI extremely slow

I'm writing a Java app and the GUI is extremely slow on my Ubuntu 11.10 64bit setup. It takes a few seconds to respond to some action. It runs flawlessly on both Max OS X and Windows 7, it actually ...
13
votes
2answers
69k views

How do I change Java Runtime Parameters?

On Windows, I could change how much RAM Java could use by typing something like -Xincgc -Xmx2048M in the Java Runtime Parameters. How can I do that in Ubuntu?
1
vote
0answers
28 views

How do I configure what fonts are used for Japanese characters? [duplicate]

Possible Duplicate: How do fonts work in Ubuntu? I would like to know how I can control which fonts are used for rendering Japanese characters. Also, I would like to know if there is anything ...
16
votes
2answers
19k views

Changing JVM in Java

I only recently discovered the different JVM's on the wiki page and thought I'd start tinkering. Its been difficult to find documentation on how to configure Java on Ubuntu though. Lets say I wanted ...
0
votes
1answer
4k views

Java: Permission Denied

I currently only have Sun JDK7 installed on my system in regards to Java. When I try to run a program (the Unix Runescape Client), here is what comes up in my terminal: Trying to read /home/...
6
votes
3answers
20k views

How to set `JAVA_HOME` to point to a JDK installation?

I installed sun-java6-jdk. I need to find it's home directory, JAVA_HOME must point to a JDK installation, not JRE.
0
votes
1answer
447 views

What do I install to get Java to work on Ubuntu 11.10 running on Virtualbox? [duplicate]

Possible Duplicate: How to install Java? I have tried many things and nothing works. What files do i need to download for this to work? there is no internet connection in ubuntu, so I want ...
0
votes
3answers
349 views

I cannot install any packages from terminal or software centre. Please help!

Whenever i try to install software from software centre, it says package dependencies cannot be resolved. I have tried restarting, sudo apt-get update/upgrade/clean. I am very new to ubuntu, and I ...
1
vote
2answers
203 views

I can't put my java jdk7 file into my usr/lib because it says Permission denied when I click show more [duplicate]

Possible Duplicate: How to install Java? It gives me a error message saying that I need to have permission. My account is unlocked so I assumed that would fix it but that did nothing. Perhaps ...
0
votes
2answers
750 views

Firewall configuration and consequences

I'm using Ubuntu 11.10. And I want to know something about firewall in Ubuntu, because I want to know if it could be the reason why my application doesn't work properly. Little background: I'have ...
0
votes
1answer
3k views

Eclipse Menu Disappeared (another one) [duplicate]

I encountered the (most likely) same strange behaviour as another user, but I'm quite certain, it has something to do with an update to Ubuntu itself within the last week or two. What have I done? - ...
2
votes
0answers
836 views

netbeans is not starting [closed]

I am using ubuntu 11.10 and installed netbeans today. The installation completed without any errors. But when I double click on the net beans icon in my desktop... the program doesn't start. What ...
2
votes
1answer
412 views

How to add fastdebug jdk build to the alternatives? [closed]

I installed fastdebug build of JDK 6 (Linux x64 version, since there is no Ubuntu specific build) in /usr/lib/jvm directory, manually set during installation process. Installation completed ...
3
votes
1answer
5k views

Installing tomcat from repo with Java from Oracle

Since Java 6 from Oracle is not supported with Ubuntu repositories anymore, I installed it by downloading the package from java.oracle.com, unpacking it in /opt and adding symlinks in /usr/bin. Now I ...
0
votes
2answers
4k views

How do I remove SUN Java and use OpenJDK instead?

As a programmer I use java for learning to code in Netbeans. I installed Sun java 6 long time ago over openJDK that came with my ubuntu just cause it seemed more responsive... Now that oracle left ...
2
votes
1answer
844 views

Why fixing broken packages / installation in Ubuntu 11.10 takes very long time for Java6?

Sometime back, I was installing Java JDK and JRE as: sudo apt-get install sun-java6-jdk sun-java6-jre Due to some problems, the installation stopped and it remained broken. As we know, one cannot ...
35
votes
6answers
204k views

How can I execute a .jar file from the terminal

I know that to execute a file, I use the . command, then the file name with a space between them. But I'm trying to execute a .jar file using the . and it does not work. I went into the properties and ...
3
votes
1answer
2k views

Does libpg-java support passwordless login? [closed]

The following command runs fine, that is, doesn't ask for a password, prints no warnings or errors, and simply provides a DB prompt: $ psql -U dbuser dbname psql (8.4.10) Type "help" for help. ...
0
votes
1answer
1k views

./configure not working [duplicate]

Possible Duplicate: How do I install tar bz2 and gz files? I am trying to install Java 7 via tar.gz, but when it comes to the command "./configure", it says it don't exist. I am using Ubuntu ...
13
votes
9answers
30k 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
57k 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
17k 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
734 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
545 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
901 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
534 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
563 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? ...