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

0
votes
1answer
2k views

Openfire 3.8.0 cannot find JRE 7

I've installed the official Oracle Java on my Ubuntu machine. For that I did the following: Download the latest JRE for x64 (.tar.gz) Unpacked this archive on my Windows machine Uploaded the folder ...
1
vote
1answer
237 views

Can Mal/JavaJar-B infect an Ubuntu/Linux OS?

I've just read about the Mal/JavaJar-B malware that is apparently capable of attacking OS X computers via a security hole in Java. I've also heard a few people mention that it can also affect Linux ...
1
vote
2answers
937 views

How to paste files in jre folder?

I am trying to copy .jar and .so files into jre folder. I tried to do it like I do it in windows but it is not working, maybe the permission problem. So how can I do it? using terminal or is there any ...
3
votes
2answers
4k views

How to set Value of JAVA_HOME variable

My /etc/profile code is: # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). if [ "$PS1" ]; then if [ "$BASH" ] ...
1
vote
2answers
2k views

Will eclipse update from the ubuntu repositories?

If I install a default eclipse from the ubuntu program central, I get an eclipse with traces from the version Helios and the screen that starts Eclipse says Indigo. The latest version of Eclipse is ...
0
votes
0answers
10k views

How do you install Java Runtime 64bit on 12.10? [duplicate]

I want the 64bit version of Java to get the max performance out of Minecraft. I downloaded the file from Oracle but I don't know what to do with it, or how to install it. Thanks.
0
votes
1answer
1k views

Eclipse is not starting

I have downloaded Eclipse indigo 64bit tar file and extracted it, for my Ubuntu 12.04, I have JDK 1.7 installed in my system, when I am doing: java -Version bash: ...
5
votes
2answers
8k views

update-alternatives: “alternative path doesn't exist” issue while updating JDK7

I decided to update my JDK7 to recent version from here. Corresponding x64 tag.gz archive for my architecture has been downloaded and extracted to /usr/lib/jvm as usual. All previous versions of Java ...
2
votes
1answer
529 views

freemind not opening in ubuntu 12.04

I am a beginner in Ubuntu and mine is Ubuntu 12.04 while trying to run freemind I am getting the message sruthin@sruthin-1015CX:~$ freemind /usr/bin/freemind: 228: /usr/bin/freemind: ...
0
votes
2answers
2k views

How can I uninstall my current java and install sun java 1.6

I installed jdk using the following command: sudo apt-get install default-jdk but it is the wrong version. I need Java SE 1.6 for building Android. When I try building Android, I get a ...
9
votes
1answer
13k views

Which Java package should I use: OpenJDK or Oracle JDK?

I'm new to Java development under Ubuntu. When I typed javac in the terminal, it prompted me to install OpenJDK and a bunch of other JDKs. I want to know if there is any difference between OpenJDK 7 ...
1
vote
1answer
417 views

Java compiler cannot be found

I installed j2ee with j2sdk on my Ubuntu 12.04 computer. It is installed at /mallika/glassfish3/jdk7/. I am able to run any of my Java programs in Netbeans using this JDK. Since Netbeans 7 does not ...
0
votes
2answers
2k views

Unable to install default jdk

I got every time failed to fetch for apt-get install default-jdk and openjdk-6-jdk Reading package lists... Done Building dependency tree Reading state information... Done The following ...
1
vote
1answer
3k views

Libreoffice does not detect Java on fresh install of 12.10: how to make it work?

I can't use some features of Libreoffice (some extensions, macros) because my Java runtime environment (openJdk-6) is not recognized in my system (see [screenshot] When launching LibreOffice from ...
1
vote
1answer
768 views

Unable to run MATLAB

I barely managed to get MATLAB installed but I think it's installed correctly. However, when I cd to the bin directory and run ./matlab, the MATLAB logo comes up but then it instantly closes again and ...
1
vote
1answer
9k views

How do I remove Oracle Java 7 from Ubuntu 11.10 [duplicate]

Possible Duplicate: How to correctly install and troubleshoot Minecraft (Client) I currently got Ubuntu 11.10 installed on my laptop. And yesterday, I got Java 7. Before I got java 7, my ...
1
vote
1answer
229 views

How do I install JChemPaint?

JChemPaint is a Java-based software designed for molecule editing. Please tell me how to install it so that I can make a desktop icon for it. I have the java file downloaded so where do I go from here ...
1
vote
3answers
434 views

Puzzled about java and how to make it run in Ubuntu 12.10

Coming from Windows and .NET development world, I'm trying to migrate to Ubuntu 12.10 and JAVA development world but I'm getting very confused about: What is the most standard form to install JAVA ...
2
votes
2answers
619 views

building android filesystem

while building android filesystem, i am getting an error as You are attempting to build with the incorrect version of javac. Your version is: javac 1.7.0_12-ea. The correct version is: 1.6. Please ...
1
vote
1answer
2k views

Having trouble running android sdk tool on 12.10

When I try to run the Android SDK Manager from the command line it doesn't open. Keeps giving me command not found or permission denied message like so. ...
0
votes
1answer
257 views

Setting a file types default program to be a Jar file

I'm using Ubuntu 12.04. I have a file with an extension .sbd and I have a jar file (that I've written) that can open these extensions. However, I want to be able to click on the .sbd file and have the ...
0
votes
1answer
849 views

java exception: No such file or directory

I am trying to run a GATE application via jetty web application server in Ubuntu. I am getting java.io.IOException: error=2, No such file or directory because of a particular GATE plugin ...
2
votes
1answer
305 views

How to install Banco do Brasil security solution?

Banco do Brasil uses its own security solution. There's a lack of resources on getting that specific site (Brazilian's largest bank) working on Ubuntu, even in askubuntu.com, so I'm opening this ...
1
vote
2answers
41 views

aptitude - Package removal on jdk installation

I tried the following command aptitude install sun-java6-jdk It prompts me that the following packages will be removed. ant{u} ant-gcj{u} ant-optional{u} ant-optional-gcj{u} ...
0
votes
2answers
2k views

Installation problem on jdk1.7.0_11

I am trying to install my ubuntu using the downloaded jdk1.7.0_11 and jre1.7.0_11,and i traced the questions from here and followed tat steps even it is not installing the java. In the terminal , I am ...
0
votes
1answer
2k views

Apache Tomcat webapps have to use a proxy

I've installed Apache Tomcat and want to use a proxy for my webapps. Some apps request data from the internet, they don't have an own/internal possibility to use a proxy. I added the following lines ...
0
votes
1answer
912 views

Does ubuntu come with java installed already?

If so how do I disable it? Whats a good easy to use anti-virus protection that my parents can use?
1
vote
1answer
1k views

Are we affected by the JAVA vulnerability? Are all “applets” affected? [duplicate]

Possible Duplicate: is OpenJDK Vulnerable to 0-Day Exploit? I read today that the Department of Homeland Security has warned against Java-run systems and requested users to ...
6
votes
2answers
2k views

is OpenJDK Vulnerable to 0-Day Exploit?

I was curious to know if OpenJDK is also vulnerable to the Zero-Day Exploit that is currently afflicting Java 7 because of which experts are telling people to disable Java until a solution is found on ...
0
votes
1answer
93 views

Linux Default App Developed in Java [closed]

Different Linux and Ubuntu releases have different software included by default -- for example, transmission, Firefox, and Banshee have all been default applications. As far as I know, most of these ...
1
vote
0answers
2k views

Java not detected by Banking Site

My banking site does not find java plug-in even though java.com reports java working properly. Iam using Firefox and Chrome on Ubuntu 12.04 (64-bit). I have installed Oracle Java 7u10 (64-bit) from ...
2
votes
1answer
960 views

Oracle java7 config

I've installed Oracle Java 7 according to this guide. When I run sudo update-java-alternatives -s java-7-oracle, it gives me : update-alternatives: error: no alternatives for ...
0
votes
0answers
2k views

How can i play Drakensang Online on Ubuntu 12.10?

I play a java-based browser game known as Drakensang Online. I've tried Icedtea and Java runtime as well as using wine to install the launcher. None of these have worked so far. I was using windows 7 ...
1
vote
1answer
2k views

Using Chroot with a Java application

I'm working on designing a group of Java programs that I hope to turn into a Java-based OS someday. Until I get a kernel working, I want to just run them on top of Ubuntu. Because of this, I need all ...
8
votes
1answer
8k views

How to associate jnlp file with javaws

My actual version of java is $ java -version java version "1.6.0_38" Java(TM) SE Runtime Environment (build 1.6.0_38-b05) Java HotSpot(TM) 64-Bit Server VM (build 20.13-b02, mixed mode) and it ...
0
votes
2answers
200 views

Error while installing MatlabR2011b

Error while installing MatlabR2011b in Ubuntu 12.04 64bit OS Preparing installation files ... Installing ... install: 1: eval: /tmp/mathworks_9756/sys/java/jre/glnxa64/jre/bin/java: Permission denied ...
1
vote
1answer
48 views

Java Problem in configuration

Hi friends, in this image java is installed on my computer and when i use the " java -version " shows me the message diplayed in the image . But, when I use javac -version this show me error " not ...
2
votes
3answers
2k views

“cannot create directory `JAVA': Permission denied ” how to solve this issue?

can anybody help me in solving this issue. I am new to Linux and here's problem: gourab@gourab-RV509:/usr/share/java$ cd / gourab@gourab-RV509:/$ cd usr gourab@gourab-RV509:/usr$ mkdir JAVA mkdir: ...
-1
votes
1answer
60 views

I'm considering dual-booting this on my desktop, but will everything work?

Ok so right now I have Windows 8 on my gaming desktop that I use constantly. The two games I run most are RuneScape and MineCraft. I am wondering one, will these work on Ubuntu? And two, will my AMD ...
3
votes
1answer
142 views

Java installation failed

I am using Ubuntu 11.10 on flash memory due to corrupted hard drive that could hardly keep OS. Usually when computer get down because of empty battery or other reason it is reinstalled, the Ubuntu on ...
1
vote
3answers
20k views

Installing Java on Ubuntu 64 bit

I have ubuntu 12.04 LTS version 64 bit . what is the procedure for installing and running Java for development purpose. I am new to Linux and Unix platform. Thanks in advance
2
votes
2answers
312 views

Where can I get Project Looking Glass source code?

I came across Project Looking Glass while searching for different desktop managers. I saw a few previews and I would like to get it on 12.04. The site from Project Looking Glass's Wikipedia page ( ...
0
votes
1answer
1k views

Minecraft doesn't start on Lubuntu 12.10

I've Installed OpenJDK 6, opened the jar with java by right clicking, but it doesnt do anything What am I missing? I've also tried java -jar Minecraft.jar with sudo, didn't worked :(
0
votes
1answer
1k views

Uninstall java not working?

I am trying to uninstall java 1.7.0_10 on ubuntu 12.04 using the instructions from here-http://akbarahmed.com/2012/06/24/uninstall-java-from-ubuntu-linux/. After I complete the instructions, I check ...
1
vote
1answer
363 views

Oracle Java javac runtime error

I have been trying to install Oracle Java 7 on Ubuntu 11.04. I was following the instructions given here Once I followed all the steps ( to the letter ), I tried running java -version which gave ...
0
votes
1answer
120 views

Java 1.7 bugs affect ubuntu too?

I remember hearing bad things about java 1.7 on windows and OS-X, but are the same security holes present in Ubuntu?
0
votes
3answers
171 views

How do I run update_java_home.sh?

The following is an extract of an instruction manual: If Java is reconfigured after SAV for Linux has already been installed, the JAVA_HOME value in /etc/Symantec.conf must be updated. This can be ...
-1
votes
2answers
1k views

Java installation (or apt-get?) problem

Two weeks ago I made several successful Java installations without any problem following link http://www.ubuntugeek.com/how-to-install-oracle-java-7-in-ubuntu-12-04.html But today I faced a ...
2
votes
0answers
84 views

How Can I Change Jamvm on my embedded system to Openjdk?

I have one Embedded System Currently working On jamvm. I Want to change it to openjdk. How Can I do that???
1
vote
1answer
598 views

java not allowing for the use of all 8gb of ram

I have a 32bit version of Ubuntu server with PAE active allow for the full use of the 8gb of RAM but I can't use more than 2gb of RAM in Java. I run the command java -Xms6G -Xmx7G -jar server.jar ...