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
0answers
15 views

Laptop for Ubuntu and Java programming

I want to buy a laptop for on the go programming. It does not matter if I would need to install Ubuntu on it, but it would be nice if it was pre-installed. I looked into purchasing a Chromebook and ...
0
votes
0answers
3 views

Gradle sync failed: cannot detect java version

Im running ubuntu 14.04.3 I installed android studio using: sudo apt-add-repository ppa:paolorotolo/adroid-studio and installed the oracle jdk 8 using: sudo apt-get install ...
0
votes
0answers
73 views

Minecraft-Java troubleshooting

I am running on Ubuntu 14.04. A cuple days ago java started trobleshooting on minecraft. I am not able to join any servers. It typed: Internal Exception: java.io.IOExpeption: Broken pipe Here is the ...
-2
votes
0answers
13 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
5 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 ...
0
votes
1answer
13 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 ...
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
24 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
10 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 ...
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 : ...
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
0answers
63 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 ...
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
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.
0
votes
1answer
21 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 ...
-1
votes
0answers
19 views

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

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" /> ...
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
0answers
70 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 ...
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
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
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 ...
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 ...
-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
0answers
17 views

Is there a way I can get five9 java based dailer to work with ubuntu?

I work from home for a call center and the software we use is based on java and is called Five9 or CVV agent. It only works with Windows and Mac but not Linux. I called the tech support and they told ...
0
votes
1answer
33 views

Android Studio how to get “OpenJDK shows intermittent performance and UI issues.” warning message *back*!

tl;dr: how to "undo" an erroneous click on "Do not show again" in Android studio? ** When I fire up Android Studio (installed using umake on Ubuntu 14.04) I used to get a warning message telling me ...
1
vote
0answers
31 views

Does Minecraft 1.8.8 use libudev.so.0?

I had some issues launching several programs, such as Popcorn Time, Spotify, and Minecraft.. Both Popcorn Time and Spotify were fixed, in Popcorn Time I simply changed the hex code with ghex, in such ...
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 ...
0
votes
1answer
25 views

Java Error: Core dumped failed! Try doing ulimit -c unlimited before you start java next time!

Im trying to play Minecraft, more specifically FTB (A variation) and on load it fails and goes back to the launcher with the Error of something like: Core dumped failed! Try doing ulimit -c ...
1
vote
4answers
86 views

unable to install jdk and jre in ubuntu 14.04

I want to install jdk and jre in my ubuntu 14.04 and I got these following errors: anil@anil:~$ sudo apt-get install default-jre [sudo] password for anil: Reading package lists... Done Building ...
0
votes
1answer
44 views

How to Install a version 7 update 76 of java in Ubuntu?

I installed the jdk7u80 the oracle and I wonder what I should do to completely remove it and install the jdk7u76 the oracle? $ java -version java version "1.7.0_80" Java(TM) SE Runtime Environment ...
1
vote
0answers
13 views

Cgoban3 for offline use

The software Cgoban3 client is a program to play the game of Go online on the KGS server: http://www.gokgs.com/index.jsp In order to download the Cgoban3 client one first has to get the file ...
0
votes
0answers
19 views

setting DISPLAY environment variable for script launched via monit

Is there a way to set the DISPLAY environment variable on a script launched via monit, so that the script can start a graphical window on a specified screen? The script launches a java app with a ...
1
vote
2answers
26 views

How to tell if a certain package exists in the apt repos? [duplicate]

I am specifically interested in determining whether a 32-bit version of OpenJDK 8 exists in the apt/Ubuntu repos. According to this answer, you can install the 32-bit version of the Open JDK 7 ...
2
votes
2answers
71 views

java 7 installation in ubuntu 14.04

I try to install jdk1.7.0_79 in ubuntu 14.04 First I download jdk1.7.0_79 Zip File.Then extact file and put it into download folder. Then I create a directory like this sudo mkdir /usr/lib/jvm ...
0
votes
0answers
39 views

Ubuntu 14.04 crashes when running a project in Netbeans 8.0.2

There is one more topic with similar question, however all the suggested solutions there, didn't work for me. I'm using Netbeans 8.0.2. When I try to run a project, the whole system crashes. dpkg ...
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
votes
0answers
26 views

Why my Java code does not display the environment variables $ JAVA_HOME and $ M2_HOME?

Insert the environment variables at the end of .bashrc file and when I type in the terminal the command: $ echo $JAVA_HOME display /usr/lib/jvm/java-8-oracle/​ and $ echo $M2_HOME display ...
1
vote
1answer
92 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
votes
1answer
41 views

cant run java control panel in oracle jdk1.8.0_51

I have download jdk1.8.0_51 as oracle documentation and place it where in .java directory . now i want to open java conrol panel but unable to do . what should I do to open it. So I can enable java ...
2
votes
2answers
151 views

Package 'ttf-mscorefonts-installer' has no installation candidate

I am having a Java based web application running in Amazon EC2 Ubuntu server. I use Jasper reports to generate some reports in PDF format. I built these reports using 'Jaspersoft Studio' Now, when I ...
0
votes
3answers
89 views

I recently updated to ubuntu 15.04, but Java won't open .jar files!

I have got one thing to work though. By using this article:http://tipsonubuntu.com/2015/03/30/install-minecraft-in-ubuntu-15-04/ I have been able to open minecraft, but still nothing else is working ...
1
vote
1answer
66 views

How can I Install Java JDK7, apache tomcat , eclipse , spring tool suite in my ubuntu 14.04?

could anyone tell me how to install Java JDK7 , apache tomcat , eclipse , spring tool suite in my ubuntu 14.04 ? Provide proper steps .
1
vote
1answer
20 views

cant open or install open java runtime [duplicate]

I'd like to install java runtime but it just does Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList ...
1
vote
1answer
45 views

How to configure environment variables in Ubuntu? [duplicate]

My environment variables are correct? What is the correct way to use them in Ubuntu? I put them at the end of .bashrc file or edit the end of /etc/environment to able to use the $JAVA_HOME and ...
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
22 views

Installing jmf.bin file in ubuntu

I am new to Ubuntu and want to install .bin file on my pc which generates jar files after completion of installation. It is a jmf (.bin) file which supports Java Media Framework for running the ...
0
votes
2answers
41 views

How to find Java log file

I have installed open jdk 7 in ubuntu & I have enable java logg option in java console. But I cant find the java log file as I tried my best.I have no idea what is the actual name of this log file ...