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
votes
0answers
6 views

How to disable make warnings while generating Java document?

I want to disable some warning from console when I run one of the make target for my project. I have N numbers of components which has lots of automated test cases(around 4k). So every test case will ...
0
votes
0answers
4 views

java on xfce4 (package has no installation canadate!?)

So i wanted to get minecraft on my chromebook but i need java for that so i go to my terminal and type: sudo apt-get install sun-java6-jdk...and it says: package 'sun-java6-jdk' has no installation ...
0
votes
1answer
11 views

Unable to open Few .jar files in Ubuntu 15.04, Error: “Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar ”

I got stuck with this, I can't able to open few .jar files. Its throwing error as: Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar Please check the screenshot(1 pic is of ...
1
vote
2answers
906 views

Error opening zip file or JAR manifest missing : /usr/share/java/jayatanaag.jar

I've made a mistake by: "sudo rm -rf /usr/share/java" Now, every check version by "java -version" the output messages is: "Picked up JAVA_TOOL_OPTIONS: ...
0
votes
1answer
377 views

I can't install openJDK 7 in ubuntu 12.10 (32-bit)

Using Ubuntu Software Center I tried to install OpenJDK 7 but got the following notification. **Package dependencies cannot be resolved** This error could be caused by required additional software ...
60
votes
6answers
123k views

How to install OpenJDK 8 on 14.04 LTS?

IMPORTANT: If you need this backported to 14.04, vote for this bug: https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1341628 Java 8 is now available according to ...
0
votes
0answers
23 views

OpenJDK 1.7 does not install on Ubuntu 14.04 LTS

The OpenJDK 1.7 JDK cannot be installed on Ubuntu 14.04 LTS. The machine is running on AWS sudo apt-get update sudo apt-get install openjdk-7-jdk results in: the following packages have unmet ...
1
vote
1answer
22 views

Install new Java on old system

I have old Ubuntu Linux 2.6.8 i686 with JRE 1.4 in it. I have no possiblity to upgrade system, but I would like to upgrade my Java. I suppose I can have big problems while installing newest java to ...
0
votes
0answers
9 views

Unable to install Xuse even after several attempts on Ubuntu 14.04

I have installed Xuse (http://xuse.sourceforge.net/install-guide.html) successfully on older versions of Ubuntu but I am unable to install it on 14.04. When I run the install file from the command ...
1
vote
1answer
90 views

Why does 'sudo java' change the user home directory to /root?

I have a program that needs to access a file in my home directory. Ubuntu will not allow this to happen due to the program not having root privileges. At first I ran this java command (which ...
1
vote
1answer
3k views

JDK 8 Installation for Ubuntu 14.04 (Android Studio & NetBeans)

I downloaded jdk-8u11-nb-8-linux-i586.sh and installed it in my home folder. Then I install NetBeans, it is successful I think because I can compile my java code using netbeans. Now when I install ...
0
votes
0answers
62 views

How do I let a .jar run another .jar in 14.04 [on hold]

I currently have a .jar GUI that references another .jar file that sends a command. I can open up the GUI and I can run the .jar file on its own but when I try to run it from the GUI then it doesn't ...
0
votes
1answer
486 views

Trying to play Runescape on Chromebook

Please be as simple and patient with me as possible. Not only is this my first experience with programming in any way, I'm surprised I got this far at all. I'm being serious. If you don't think it's ...
0
votes
1answer
26 views

Managing JRE in linux

Currently I'm running Ubuntu 2.6.8 #1 Thu Mar 24 12:02:14 UTC 2005 i686 GNU/Linux on my system and trying to understand what kind of java I have. Command find /usr -name java output : ...
7
votes
1answer
19k views

How do I get WebEx fully working with Ubuntu 12.04?

I am trying to join a WebEx meeting from Ubuntu 12.04. I can join but I do not see the live chat messages, I hear no sound, and I cannot see the presentation. I have tried using Ubuntu 12.04 64-bit ...
0
votes
1answer
20 views

X11 forwarding MATLAB under Ubuntu 15.04 leads to issues with text visualization

I am using ssh -Y to connect to a remote cluster from a laptop running Ubuntu 15.04, and when I launch MATLAB version 2013a or later, text is incorrectly displayed (e.g. in the editor, portions of ...
0
votes
1answer
25 views

Java 7 reporting not installed?

Okay, so I am trying to build an Android ROM, but the following error returns; ************************************************************ You are attempting to build with the incorrect version of ...
0
votes
1answer
11 views

How do I use Java 6 when java 7 is installed?

How do I use Java 6 when I have both java 6 and java 7 installed? I need both.
0
votes
1answer
23 views

Install both Oracle Java 7 and 8?

As the title asks, I need both, both Oracle Java 7 and Oracle Java 8. I've installed Oracle 8 (through webupd8), but software I want to run (Gephi) will only work on 7. Please advise.
1
vote
1answer
18 views

jdk 1.7 and ubuntu 32 bit compatibility

I want to run a video in JFrame in which I have used Vlcj and JMF framework and I have successfully achieved my task in Windows. But when I tried to do the same work in Linux (32 bit) it gives me ...
0
votes
1answer
254 views

Updating JDK 7 to 8: Unable to locate package

I'm attempting to update Java on my Ubuntu 14.04 server from JDK 7 to 8. I'm following this tutorial which says to run these commands: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update ...
-1
votes
0answers
19 views

Exception in thread “main” org.hibernate.MappingException: Unknown entity: com.hibernate.user [on hold]

What seems to be the problem here? While trying to run my hibernate project in Eclipse on Fedora ? I have even added: <!-- mapping file --> <mapping class="com.hibernate.user" /> ...
15
votes
2answers
54k views

update-java-alternatives vs update-alternatives --config java

On Ubuntu 12.04 LTS I have installed Sun's JDK7, Eclipse, and the Arduino IDE. I want the Arduino to use OpenJDK 6 and want Eclipse to use Sun's JDK 7. From my understanding I need to manually ...
0
votes
0answers
50 views

Execute jar file when user mount a loop block device linux

I successfully created and mounted a loop block device using these commands. dd if=/dev/zero of=my_fs bs=1024 count=30720 losetup /dev/loop0 my_fs mount -t ext3 /dev/loop0 /mnt/fs_mount_location/ ...
0
votes
0answers
62 views

About Intel HD graphics driver on Ubuntu 15.04

I'm trying to use JOGL (OpenGL on Java), and it buggs, probably because of graphics driver, and can't manage my application. So, is there a installer for Ubuntu 15.04? Can't run 14.10 one because it ...
0
votes
0answers
22 views

rc.local commands execution

The general idea is: I have developed a script.sh (in java) that take a value from a .txt where a python code is saving data from a sensor, (with a specific range of time). This value is up to the ...
0
votes
1answer
24 views

how to export folder specific environment variables?

I have two projects on my computer that require JAVA_HOME to point to jdk7 and 8 respectively. Right now I'm working around this by having 2 files in my home folder that i source to set JAVA_HOME ...
0
votes
0answers
18 views

Compiling with java and C++ [duplicate]

I'm new to programming, i have experience in hmtl and php, also fortran, but not java and c++, i'm actually trying to learn android apps programming, so java and c++ are the basis. But how do i ...
5
votes
5answers
5k views

freemind wont run despite OpenJDK JRE installed

I install freemind from USC Ubuntu 12.04, but it failed to run with the following error: " [warning] /usr/bin/freemind: No java runtime was found [error] /usr/bin/freemind: Unable to find an ...
2
votes
1answer
44 views

Zenity does not show messages in deb preinst when it is ran through Ubuntu Software Center

I am creating a deb package which requires java oracle >= 7. So I wrote a simple preinst file with bash script that will pop up a message (using zenity) that will warn the user that he needs to ...
0
votes
1answer
20 views

Java Plug-in Crashed in Firefox 28.0 on Ubuntu 14.04 LTS

I just installed Oracle Java 1.8.0_51 .And set as it as by default.I also linked libnpjp2.so file in Mozilla folder in /usr/lib/mozilla/plug-in. But when I am going to verify java its show no java ...
14
votes
4answers
51k views

How to set the JDK for Android Studio?

I can't compile a default new project for Android 2.1 because(?) the JDK used by Android Studio is JDK 1.7 but it should be JDK 1.6. To change it I go to File -> Project Structure and try to find the ...
0
votes
1answer
33 views

Installing Gephi 0.8.2-beta on Ubuntu 15.04

I am trying to run gephi 0.8.2 on Ubuntu 15.04, but after a few seconds of loading, nothing happens. On my terminal I run: ./gephi and I receive the following message: Picked up ...
0
votes
1answer
11 views

Integrate Java into Eclipse

I just downloaded an Eclipse mirror (Kepler) for C/C++ developers. My question is how I could integrate Java into Eclipse. I already have java JDK/JRE installed on my computer - so I only need a ...
0
votes
0answers
27 views

netbeans & terminal problem [closed]

I am developing application with Netbeans in Ubuntu but I find myself in problem how to collect between Netbeans and terminal to run command I mean how to run command from Netbeans to terminal like ...
0
votes
3answers
548 views

How do I install MongoDB 3.0 in Vivid?

The official vivid package for mongodb is 2.x, and the packages that MongoDB provide themselves on http://repo.mongodb.org/apt/ubuntu/dists/trusty/ are only available for LTS releases. An alternative ...
0
votes
1answer
15 views

Finding the vlc.so file in linux - Java Development

I want to play video in JFrame by using VLCJ framework. In windows program is working fine NativeLibrary.addSearchPath(RuntimeUtil.getLibVlcLibraryName(),"/usr/share/man/man1/vlc.1"); The line in ...
0
votes
0answers
116 views

System freezes when starting intellij - 100% cpu but no process using it

The Situation I have a brand new computer and I am using ubuntu-gnome. Everyhting works fine, except when I start intellij. It starts fine up to the moment when it reads the project files. Than it ...
-1
votes
0answers
19 views

Unable to run Java in Ubuntu 14.04 using alien with .rpm file [duplicate]

I have installed jre1.8 and jdk1.8, using alien with .rpm extensions. Both are in /usr/java. But when i use java -version or javac -version command. it displays The program 'javac' can be found in ...
1
vote
2answers
1k views

Minecraft Crashing, linux download

Hi so I've been going at this for hours and I have installed everything correctly, I'm using a HP 14 chromebook, and I hear you can get minecraft on it, with downloading a Linux desktop. I'm using ...
1
vote
1answer
171 views

Firefox can't get the latest java version in ubuntu 15.04 in about:configs with iceatea-8-plugin, but oracle java version verify page can

In my laptop, I have openjdk1.6, openjdk-1.7, and openjdk1.8 installed. I can see all of them through update-alternative --config java. $update-alternatives --config java There are 3 choices for the ...
1
vote
1answer
418 views

java file will not launch from .desktop file - Ubuntu 12.04 LTS

I have a bin/bash script- #!/bin/bash java -Xms256m -Xmx1g -jar KeeperDesktop.jar inside an executable text file ( keeper-start) I have created a .desktop file for it as i want to launch it ...
1
vote
0answers
20 views

What is javac internal?

I just installed a new version of Java 8, when I asked for the version of the Java I got following output ~/$ javac -version Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar ...
1
vote
1answer
1k views

Eclipse stopped working with Ubuntu upgrade to 14.04

Two days ago I upgraded to the latest Ubuntu 14.04. Everything was working fine, until I tried to open Eclipse that I use for Java development. It shows the loading window but the program never loads. ...
1
vote
1answer
233 views

Why can't I start Eclipse after I killed it once?

Eclipse IDE in my computer running Ubuntu 13.10 hung once. I just killed the process. Thereafter it shows this whenever I try to start Eclipse: Job found still running after platform shutdown. ...
1
vote
1answer
68 views

Eclipse dosn't see JDK

I had installed Eclipse and it was working well few days ago. Now I can't create Java project, there is no such option and in the Eclipse Preferences there is no mention about the word Java. I was ...
2
votes
1answer
91 views

libjai-imageio-core-java in Ubuntu 14.04

It seems that libjai-imageio-core-java is missing on 14.04 (it is available on Ubuntu 12.04): http://packages.ubuntu.com/search?keywords=imageio&searchon=names Is there a replacement for this ...
1
vote
1answer
214 views

Get error on install Java

I tried install Java 8 for Oracle PPA but get a error. I have viewed “sha256sum mismatch jdk-7u3-linux-x64.tar.gz ” error when trying to install Oracle Java and How to remove error message when ...
3
votes
1answer
321 views

Eclipse Juno won't open gui java apps when run with gksudo

I have Eclipse Juno installed on Ubuntu 12.04. When I run from the command line with sudo, everything works fine. However, when I follow the advice I see everywhere and run it with gksudo, I get the ...
2
votes
2answers
6k views

Oracle 12c Installation Error: “Exception … Could not initialize class sun.awt.X11.XToolkit”

I have been trying to install oracle 12 c on Ubuntu 14.10 but facing the below mentioned error.Could some one please check this and advise me how to fix this error? Checking Temp space: must be ...