Questions tagged [java]

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 on StackOverflow.com.

Filter by
Sorted by
Tagged with
3 votes
1 answer
7k views

Minecraft doesn't connect to Mojang servers/the internet (15.04) [duplicate]

I've been trying to run Minecraft on Ubuntu 15.04 for a while. Whenever I try running, it won't download the launcher pack and it gives me this message: Bootstrap (v5) Current time is Jun 19, 2015 2:...
1 vote
4 answers
4k views

Juniper Crashing right after launching

I am running Ubuntu 13.10 x64 and have 64 and 32 bit versions of Java 6 installed. I have it configured that when running Network Connect it will run the 32 bit version and for anything else the 64 ...
4 votes
1 answer
226 views

What is the "path to ant" that Crosswalk speak of?

I am in the process of setting up an Ubuntu 14.04 server to experiment with Crosswalk. I have installed the Java JDK, apt-get install default-jdk and ANT, apt-get install ant. whereis java returns /...
3 votes
2 answers
7k views

Problem running jar from gui in 15.04

I updated ubunut to 15.04 today. Now when I try starting a jar file from the gui it only opens the archive manager. Checking the open with tab in Properties I can't find Openjdk. I got both Openjdk ...
1 vote
0 answers
1k views

Cannot run jBoss on ubuntu 12.04

I am trying to install jBoss application server on Ubuntu 12.04. I am using Vagrant. Here is what I am getting: vagrant@precise32:/usr/share/jboss-as-7.1.1.Final/bin$ ./standalone.sh -Djboss.bind....
1 vote
4 answers
6k views

How do I install java, ant, and red5 on Ubuntu 14.04? [duplicate]

How do I install java, ant, and red5 on Ubuntu 14.04. All I see is Ubuntu 12.04, which doesn't work. Redhat tutorials do not work. UBUNTU 12.04 TUTORIALS DO NOT WORK!!!!
2 votes
0 answers
782 views

Popup fonts in IntelliJ IDEA are too large, or bold/pixelated, 15.04 using tuxjdk

Here's a screenshot showing the problem: As you can see, where the autocomplete text exceeds the size of the popup, the font becomes strange. Similarly, the popup window has text much larger than ...
0 votes
1 answer
3k views

Errors were encountered while processing: libxau-dev:amd64

I have removed Java version 1.8 and now want to install version 1.7. All the time I am getting error(1) with libxau-dev file so I am trying to install it and getting message below: my@server:~$ sudo ...
3 votes
2 answers
5k 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 ...
0 votes
2 answers
2k views

Glassfish warning when i try to open an existing Java Project

the project itself is located in my home-directory, netbeans and glassfish each installed to opt. when i start IDE and open java project i get following warning five times: /opt/glassfish-3.0.1/...
0 votes
1 answer
4k views

Unable to set JAVA_HOME to jdk

I am trying to run android studio on ubuntu 14.04 LTS. But when I run the studio.sh script, i am asked to set JAVA_HOME to jdk from jre. Despite the fact that I have set JAVA_HOME=/usr/lib/jvm/java-1....
1 vote
2 answers
2k views

Minecraft in 15.04 Connection issues

So I don't know any better way to explain what the problem is other than showing you this. I am using 15.04. Ask me if you need any more information. EDIT: solved, apparently java was just messing ...
0 votes
1 answer
655 views

Running a jar file at boot with cron and seeing output

I'm setting up a jar file to run at boot. I have a script to run it with, and that script is configured to run at boot in using @reboot in cron. I have a bare CLI interface for the moment, with no DEs....
1 vote
1 answer
4k views

JAVA Graphics does not display!

I made a post earlier that was not clear! Here is the code. It is a sample code I am testing to see if it works on my ubuntu! // using drawLine to connect the corners of s panel import java.awt....
1 vote
0 answers
747 views

Same thing works on terminal but not in java Runtime while using Ubuntu 14.04 LTS

I have a Java project which I developed in windows. Now, I want to make it platform independent. A part of the project is: it takes a c program and executes. takes input from file and gives output in ...
0 votes
1 answer
1k views

How can I install Java Editor

I want to install this Java Editor in Ubuntu 14.04. I have already install Wine1.7 and Java 8. :) How can I do this? (Sorry, I am a Ubuntu-beginner)
1 vote
1 answer
788 views

Cannot install NetBeans 8 in Ubuntu 14

I am trying to install NetBeans 8 in Ubuntu 14. When I execute the .sh file using ( I have already set the file as executable ) ./netbeans-8.0.2-linux.sh I get this ( Out of memory error ) I tried ...
2 votes
4 answers
3k views

How to search a file in multiple jars

Want to search a file inside a set of jar files. How this can be done in ubuntu termianl?
4 votes
1 answer
14k views

How to install latest OpenJdk on Ubuntu?

I know that latest official openJDK is java version "1.7.0_25". But there is java version "1.7.0_40" in development. Does anyone know how to install openJDK "1.7.0_40" on an Ubuntu machine?
1 vote
1 answer
199 views

Problem runing Matlab R2013a in Ubuntu (aparently, something to do with Java)

I am having some troubles while trying to run Matlab R2013 on Ubuntu 15.04 (the same problem happens in 14.04 and 12.04 versions). When I try to run in from the terminal or using the Matlab icon, I ...
2 votes
1 answer
256 views

Can't use www.saberparts.com

When I go to a website that looks like using flash or java or somthing similar, it says that "your current browser isn't compatible with saberparts" and I actualized firefox, tried it with chrome, ...
1 vote
1 answer
456 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 cgoban....
2 votes
1 answer
7k views

Oracle-xe 11g installation on ubuntu 14.04

I tried to install the oracle-xe 11g rpm package. I tried to follow the oracle pdf provided by the oracle site. I run: rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm and I get the following: glibc >= ...
2 votes
4 answers
7k views

Minecraft server (Bukkit) .sh bash file not opening

My Minecraft server (Bukkit) .sh bash file is not opening! I did make it executable (in permissions, I clicked "anyone" for executable). Here's the code: #!/bin/bash cd "$( dirname "$0" )" java -...
2 votes
1 answer
4k views

Make a program automatically take higher priority?

I'm using my Ubuntu OS to play Minecraft. I can get the game to run a little faster by closing my other programs and giving the Minecraft java process a higher priority via the System Monitor. The ...
0 votes
1 answer
537 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
2 answers
8k 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: -javaagent:/usr/share/java/...
0 votes
1 answer
818 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 ...
1 vote
1 answer
2k 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 ...
1 vote
1 answer
4k 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 wouldn'...
0 votes
1 answer
2k 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
1 answer
74 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 : /usr/src/php4/...
1 vote
1 answer
1k 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 vote
1 answer
852 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
1 answer
210 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.
1 vote
1 answer
4k 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
1 answer
199 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
1 answer
914 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
1 answer
258 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
1 answer
176 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
1 answer
2k 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 vote
1 answer
2k 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
1 answer
1k 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 from ...
1 vote
0 answers
125 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
1 answer
120 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 re-...
1 vote
1 answer
2k 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
1 answer
513 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 ...
0 votes
1 answer
230 views

Websites running on server showing virus warnings

I am running Plesk 9.5 on Ubuntu 8.04 LTS and have about 15 websites infected with some malicious code appended to the end of java files. I have installed Clamav and it has managed to pickup the ...
1 vote
1 answer
5k 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
0 answers
110 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
39 40
41
42 43
65