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

.jar file not working outside of eclipse

I have a basic log recorder program that I like to use to record stuff that I do. It's a pretty basic program coded in Java with a GUI that has three text boxes to enter directory, file name and text ...
0
votes
1answer
13 views

setting up VOCE api in ubuntu

I am using ubuntu 14.04 . I recently downloaded a speech recognition and synthesis api called voce. For installation it told me to run the build.sh file. When I run this script it pops out some errors ...
0
votes
2answers
34 views

Java Version not changing

I do not understand why java is always causing problems when having multiple versions on the same machine. Here is a screenshot of what I did: Why is it not changing? I set my JAVA_HOME to point ...
0
votes
1answer
20 views

Minecraft crash on Ubuntu 14.10/15.04

Lately my Minecraft has been crashing with the error code: SIGSEGV (0xb) at pc=0x00007f4190031ac0, pid=26588, tid=139920718653184 I have an Nvidia graphics card but have no drivers installed as I ...
-2
votes
0answers
18 views

Having problem with video

I want to see videos online but i facing problem. plug-in is needed to display this content. What should i do? one other problem I am facing is that when i try to install orcle-java8 that is E: ...
0
votes
0answers
26 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 ...
0
votes
1answer
21 views

installation java error

when i trying to install java in my ubuntu 14.04 os from apt-get install openjdk-7-jdk error shows Errors were encountered while processing: libqt4-sql-sqlite:amd64 E: Sub-process ...
0
votes
2answers
26 views

OpenJDK vs. Oracle JDK for Android Studio

When I run Android Studio with OpenJDK installed I get a warning recommending the use of Oracle JDK. Is Oracle JDK actually better or is it fine to just stick with OpenJDK? Installing Oracle JDK seems ...
0
votes
1answer
26 views

How to set a permanent environment variable?

I am not yet a Linux guy and I have some problem trying to add a new permanent environment variable. So I have to set a new environment variable named CATALINA_HOME with this value: ...
0
votes
0answers
14 views

Possible issues of installing OpenJDK 8 on Ubuntu 12

What are risks/possible issues of installing OpenJDK 8 from PPA (https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa) on Ubuntu 12.04.5 LTS? I understand that OpenJDK 8 never will be in official ...
-1
votes
0answers
20 views

No free memory, but don't know where is the used memory [on hold]

I have an Ubuntu Server 10.4 32bit, running only an Alfresco on Apache Tomcat 7, with JVM 6. Also soffice processes used by Alfresco. The machine has 6 GB. There are 2GB dedicated to JVM, so should ...
0
votes
1answer
49 views

Can't open OpenJDK java 7 runtime

I installed OpenJDK java 7 runtime through the software centre. When I go to search for it, all I find is 'OpenJKD java 7 policy tool'. I can't find anything online about how to handle the policy ...
1
vote
1answer
25 views

what means : java.io.EOFException: Unexpected end of ZLIB input stream? [closed]

The complete : java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:215) at ...
0
votes
0answers
17 views

Broken Packages Issue while installing JDK on Ubuntu 14.04

I am having issues while trying to install JDK on Ubuntu 14.04. Following is what I see: araj1@araj:~$ sudo apt-get install openjdk-6-jre Reading package lists... Done Building dependency tree ...
1
vote
1answer
21 views

Record RAM usage during runtime of a Java Application

I want to evaluate how some code transformations change the RAM usage of a Java Application. Is there a possibility to log the average RAM usage or the highest peak of the RAM usage in the shell ...
-1
votes
0answers
17 views

Eclipse showing Servlet invalid servlet exceptions?

I am new to ubuntu I have installed tomcat in eclipse As I am practicing Servlets and JSP in eclipse J2EE tool. But when I am creating a server in servers folder and starting a class Http extended ...
0
votes
0answers
28 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
vote
0answers
11 views

About dynamic web project or compile a simple Java program

My problem is that when I start my eclipse - using ./eclipse. I am not able to run any of the Java program or J2EE. When I try to install - WTP or any other version of J2EE - the packages are ...
0
votes
1answer
25 views

Installation problem of oracle java 8

How to move move the extracted folder of jdk-8u20-linux-x64.tar.gz in to /usr/lib/jvm while installing oracle java in ubuntu 14.04.?
2
votes
1answer
39 views

Will I be able to run Java, C or Python natively in Ubuntu Phone as I would on a PC?

the Ubuntu Phone by Meizu is released tomorrow for the European audience. I've been looking around for information on it, but the only I can find are some hand on reviews, that don't answer the most ...
0
votes
0answers
38 views

Unable to run webex on ubuntu 14.04 64bit with firefox 38

Hopefully someone out there has sorted out this issue. I am unable to run webex on the following conditions: My OS: Ubuntu 14.04 - 64 bit My Firefox version: Build identifier: Mozilla/5.0 (X11; ...
2
votes
1answer
36 views

OpenJDK not working

I have run sudo apt-get install openjdk-7-jre It says Reading package lists... Done Building dependency tree Reading state information... Done openjdk-7-jre is already the newest ...
0
votes
1answer
16 views

How to backup Exception Site List in Java Control Panel?

I'm backing up my laptop before formatting and re-installing it. I would like to back up the "Exception Site List" in the Java Control Panel so I will not have to re-insert all sites again. The ...
0
votes
1answer
28 views

Launch error on Eclipse using Ubuntu 14.04

Hi could you help me to resolve this error? I'm currently new to ubuntu and I'm trying to run eclipse on my ubuntu. Failed to execute child process "/home/desktop/Documents/eclipse/eclipse" ...
0
votes
0answers
16 views

odd xorg hang when starting intellij

I have a REALLY odd hang that I just cant figure out. When I start intellij (using java7/java8) my terminal will accept input for a few minutes. Then it'll stop accepting any input. vmstat shows the ...
0
votes
0answers
78 views

Oracle java 9 installer fails on ubuntu mate

I'm trying to install Oracle Java 9 on Ubuntu Mate 15.04 (raspberry pi 2) and getting the following errors: sudo apt-get install oracle-java9-installer Reading package lists... Done Building ...
0
votes
0answers
46 views

How can I stop MineCraft from crashing on my chromebook?

I am trying run minecraft on Linux (Ubuntu) on my chromebook. I use crouton power it. I have installed the correct java version, got it all set up. But the launcher starts and acts perfectly normal. ...
0
votes
0answers
115 views

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

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

Ugly fonts in Clion on Ubuntu

I did this Ugly fonts in Java applications on Ubuntu but my CLion still looks very ugly: What can I do to fix this?
0
votes
1answer
28 views

Installing openJDK along with java oracle

I have java oracle 7 installed. To build some library from the source code I do have to install openJDK 7. I don't know why they require but they do require it. What's the safe way to install ...
0
votes
0answers
27 views

Open with java option wont show up in “open with” list

I'm trying to open minecraft.jar. I have installed java and looked for it in the open with list but i can't find it. Am i doing something wrong? i have read through tons and tons of forums and none of ...
0
votes
0answers
14 views

Unbound class exeption error

I installed intellij and eclipse both give me the same error of unbound class exception and SDK not configured. Need help to solve this problem as soon as possible.
0
votes
0answers
39 views

Ugly/Non Anti-Aliased fonts in Java-Swing Applications

I've recently switched to Ubuntu and I've installed Oracle's Java JDK 8u45 (32 bit) using the webupd8team/java repository. Everything seems to be working fine except that the Java-Swing applications ...
0
votes
0answers
12 views

Invoking iscap and getting the following error

I am trying to invoke iscap for the first time on Ubuntu, however, i am getting the following error Error: Could not use JVM packaged with Installcape. The Java in your path did not work or could not ...
0
votes
0answers
49 views

Freeplane crashes on 14.04

The java-based mind-mapping app Freeplane, which I installed recently, seems not to be working on 14.04. Each time I try to open it, it freezes on the splash screen. Running it from terminal shows a ...
-1
votes
0answers
43 views

Java applications fail to start in web browsers. [closed]

I am using Ubuntu 14.04 OS. When I try to run any web applications, it shows - "error, click for details". Inside the error details it is showing "ClassNotFoundException". At first I had OpenJDK ...
0
votes
2answers
96 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
0answers
18 views

Graphic Issues (Minecraft & Tekkit)

I am running OpenJDK 7, though I have to launch .jar files with the terminal because it doesn't show up on the 'run with' menu. I am experiencing graphic/texture issues when running Tekkit Classic and ...
0
votes
0answers
18 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 ...
0
votes
3answers
57 views

Making Minecraft.jar executable

So I've tried almost everything but when I click on the jar file it opens the archive manager. There is no option to run it with java.
0
votes
0answers
14 views

Installing downloaded java1.8.0_45 [duplicate]

I downloaded the latest version of java and trying to install it. I follow below steps. Extract it to my another drive which is not in home. Then make a folder into /usr/lib directory called java ...
1
vote
0answers
25 views

Missing main menu icons in Java applications

I have fresh install of Ubuntu 15.04 x64 and when I launch any Java-written application, i.e. LibreOffice, Eclipse IDE, PyCharm IDE, etc., I can see no main menu icons (Open, New, Save, Save as, ...). ...
0
votes
0answers
33 views

Java environment variable in Wine (32 bit prefix)

I need to run a Windows executable that requires Java 32 bit. Since Java 8 is still unstable in Wine, I installed a 32-bit Java (7u76) in a 32-bit WINEPREFIX. Now, when I run the Windows executable, ...
-1
votes
0answers
72 views

Minecraft Won't Run 14.04 OpenGL Context

Okay. I recently installed Ubuntu 14.04 (Trusty) on my Acer C710 Chromebook with crouton (currently dual booting). I began to install Oracle Java 7 Runtime and OpenJDK 6 Runtime (6 Runtime Via ...
2
votes
1answer
54 views

Where does JAVA tar.gz file gets downloaded when it installed by oracle-java9-installer package?

This question is related to already existing question in askubuntu.com. I installed Sun Java using sudo apt-get install oracle-java9-installer The procedure downloaded Java tar.gz file like the ...
0
votes
1answer
27 views

Error in java installation [duplicate]

I am new to ubuntu. I want to install java on ubuntu. i tried the code sudo apt-get install default-jre but i have got message like this: E: Could not get lock /var/lib/dpkg/lock - open ...
1
vote
1answer
46 views

Connect java with mysql in ubuntu server

I am trying to connect my Java application with MySql running on an Ubuntu server 14.04 installed on Virtual Box in the same machine as my application. I have installed mysql-server, mysql-client and ...
0
votes
2answers
19 views

Where should I put an executable jar?

Executable files (built programs and shell scripts) normally go in /bin or /usr/bin but what about a jar file? It is a 'program' making me think it should go in bin, but on the other hand it requires ...
1
vote
1answer
82 views

bash: /usr/bin/java: No such file or directory

i have installed jdk1.8.0 manually from the oracle website. i have followed the steps written in this website. At last when i executed java -version command i got this result:- bash: /usr/bin/java: ...
0
votes
0answers
50 views

Minecraft keeps crashing on every version of Java Runtime

I've tried running Minecraft with Java and it wouldn't open, I tried with 7 and 8 but both would crash every time I tried playing, what can I do at this point?