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
vote
1answer
92 views

intellij idea not opening because of jdk/bin/java

I am relatively new to ubuntu. i am using idea intellij from jetbrains for developing applications with gwt and java. Recently i have installed ubuntu 14.04 and everything works fine but idea 13. I ...
1
vote
1answer
45 views

Switching Java version through apt?

(Apologies in advance if my formatting is off, this is my first post, please feel free to correct me). Normally, when I want to find out what version of java I'm using, I run: java -version java ...
1
vote
2answers
236 views

How to increase memory allocated to java? java.lang.OutOfMemoryError: Java heap space

I have an Ubuntu server 12.04 using a reverse proxy so that tomcat runs on top of apache. And I have a confluence instance on that machine, and a ticket system. So nothing special. Memory is 8GB ...
1
vote
1answer
76 views

Startup & shutdown scripts for Java servers

I am trying to design a graceful startup/shutdown script (Bash) for a Java app (JAR) that I will be deploying to my Ubuntu 14.04 server. I'm looking for a clean, Linux- and Ubuntu-friendly way of ...
2
votes
1answer
654 views

Error running Java web application with OpenJDK Java7 runtime in Ubuntu 14.04

I have fresh Ubuntu 14.04 install on my HP Pavilion g6 laptop. I have installed OpenJDK and IcedTea plugin in order to run Java applications as explained here. But when I am going to chess.com ...
0
votes
0answers
73 views

MySQL JDBC Connection using Eclipse

I have now read numerous installation guides and spent a few days reading in different forums, but I cannot get my program to find the class com.mysql.jdbc.Driver The current status is: I have added ...
2
votes
1answer
435 views

Multiple JDK is not working properly in Ubuntu 14.04

JDK versions (jdk1.7.0_21 and jdk1.7.0_55) Installed and Configured like below. jdk1.7.0_21 update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0_21/bin/java" 1 ...
0
votes
0answers
20 views

How can I install LibreOffice from the package manager to be used with (Oracle) Java installed manually [duplicate]

LibreOffice depends on OpenJDK (or some other JRE). I already have Oracle's Java 7 installed, and I'd like LibreOffice to use this JRE instead. If I attempt to remove OpenJDK, apt automatically falls ...
0
votes
1answer
169 views

How to find my current JAVA_HOME in ubuntu?

How to find my current JAVA_HOME in ubuntu? I have to set java_home path when installing maven.
1
vote
1answer
283 views

How do I install a specific version of java on Ubuntu

I am trying to build Android from source and it require Java 1.6 to build. So, I installed OpenJDK version 6. However, when I try to build using the make command I get the following message: Your ...
0
votes
0answers
63 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 ...
2
votes
1answer
51 views

Is it possible to develop Ubuntu Application using java

I am a Java Developer & want to develop application for Ubuntu. I also visited developer.ubuntu.com site and successfully installed Ubuntu SDK and Editor but it is on Unity code and HTML views. I ...
0
votes
1answer
34 views

Eclipse Java perspective not showing after upgrade to 13.10

I upgraded my ubuntu from 13.04 to 13.10, eclipse was working like a charm, but after the upgrade, the java perspective is not visible any more, moreover, I cannot create a java project. Any idea why ...
0
votes
1answer
269 views

How to install JRE on Ubuntu

I am currently using Ubuntu Gnome 14.10 64bit. I have never before installed software from source. I want to install the java plugin for chrome for running applets and all. I presently need it for ...
2
votes
1answer
173 views

Unable to install/remove any Application/package in UBUNTU 12.04 LTS, error: JAVA_HOME

This is the error in the "Package Operation failed window": installArchives() failed: Setting up install-info (4.13a.dfsg.1-8ubuntu2) ... /etc/environment: line 3: JAVA_HOME: command not found dpkg: ...
0
votes
1answer
33 views

How to package a net-beans java project for Ubuntu

I'm in final year of my b.tech, for project I have created an multilingual dictionary in Java (net beans 6.7.1) in which we can search words meaning, its synonyms, antonyms and an example, or if its ...
4
votes
2answers
174 views

How to unlock file, locked by a process

The file is locked by a process, java in my case. I only want the lock to be released. lsof | grep /home/user/workspace1 A temporary solution was to 'End Process' from 'System Monitor'. But ...
1
vote
1answer
107 views

JavaFX 8 not working in Ubuntu 12.04

I am using Netbeans 8.0 but in JavaFX 8(simple), and 3D applications are not running successfully. It shows an error: Gen6+ requires Kernel 3.6 or later. java: ...
1
vote
3answers
226 views

Unable to install LanguageTool 2.5 extension for LibreOffice 4.2 on Ubuntu 14.04

I am not able to install LanguageTool extension for LibreOffice. Getting exception when I try to install it. p.s. Somebody says that the solution is installing openoffice.org-java-common package but ...
0
votes
1answer
2k views

gzip: stdin: unexpected end of file -> problem in extracting jdk-7u55-linux-x64.tar.gz

I have downloaded 'jdk-7u55-linux-x64.tar.gz' When I execute following command to extract, sudo tar xvzf jdk-7u55-linux-x64.tar.gz also tried, sudo tar xvf jdk-7u55-linux-x64.tar.gz sudo tar xf ...
7
votes
2answers
4k views

Eclipse (ADT) crash Failed to write core dump. Core dumps have been disabled

i found my problem here: how to fix “Failed to write core dump. Core dumps have been disabled” error while running java and here: Eclipse crashing on startup and here: Eclipse continue crash Nothing ...
0
votes
0answers
14 views

I'm having a lot of trouble installing and running Java [duplicate]

New to Lubuntu. I'm having trouble installing Java. Can anyone point to a 'site where I can get some clear & simple how-to? thanks
1
vote
1answer
84 views

Error when formatting Hadoop JAVA_HOME is not set

I get the fallowing msj when i try to format my cluster Re-format filesystem in /app/hadoop/tmp/dfs/name ? (Y or N) Y 14/04/28 10:20:16 INFO util.GSet: VM type = 64-bit 14/04/28 10:20:16 INFO ...
1
vote
2answers
43 views

Install Java 6 for a single project while leaving the default for the rest of the system at Java 7

In order to install a development environment for an older version of Android, I need to have Java 6 installed. I already, however, have Oracle Java 7 installed on my system and would like to keep it ...
1
vote
0answers
394 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
184 views

Eclipse not launching

I have installed Ubuntu 14.04, I have installed Eclipse using Ubuntu Software Center. But Eclipse is not opening, when I click it is not opening or showing any error message it is very silent. Output ...
1
vote
3answers
1k views

Aptana Studio 3 doesn't work after upgrade from Ubuntu 12.04 to 14.04?

When I upgraded from Ubuntu 12.04 to 14.04 Aptana Studio 3 doesn't work any more. When I try to open it after a few minutes it just closes, but when I open it in the terminal I got this error massage. ...
0
votes
1answer
88 views

How to launch .jar files? [duplicate]

I am trying to launch Minecraft.jar and I cannot make it boot as an executable. I have gone into the properties and set it to executable, and I have installed jdk-7u55-nb-8-linux-x64.sh with and ...
0
votes
2answers
499 views

Eclipse fail to start in a clean workspace

I'm having a problem starting any version of eclipse in any kind of workspace (brand new or with data already). The problem started when I upgraded my OS from Ubuntu 13.10 to 14.04, and tried to ...
0
votes
0answers
57 views

When installing/ downloading something, ubuntu (14.04LTS) locks by itself

I have a question regarding the auto-lock of Ubuntu. When I'm downloading something, for instance: Yesterday I downloaded oracle jdk8 using the terminal cause I had to add a ppa. Now my download was ...
0
votes
1answer
126 views

Running IBM Data Studio 4.1.01 on Ubuntu 14.04

I've successfully installed IBM Data Studio and its Web Console on Ubuntu 14.04, and the Web Console runs like a dream and I can connect to my DB2 databases fine. However, when I try and run the Data ...
1
vote
0answers
86 views

Cannot run jBoss on ubnutu 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 ...
0
votes
1answer
115 views

Error executing Xilinx ISE Design Suite .bin file(java xsetup)

I'm, trying to build Xilinx_Vivado_SDK_2014.1_0405_1_Lin64.bin on ubuntu-12.04 Got the below error: ..... ...
0
votes
1answer
103 views

Where is my JDK?

I installed Oracle Java 1.8 using ppa. When I list java alternatives, I can only see 1.8 JRE! But when I do javac -version I can see javac 1.8.0_05 sudo update-alternatives --config java There are ...
0
votes
1answer
135 views

java applets crashing in 14.04

phet simulations (java applets) continually crash in 14.04 after execution. Icedtea starts loading then the app, gets to 100% then crashes and i get an error message to us the console to clear my ...
0
votes
1answer
1k views

Eclipse can't find Java after upgrade to 14.04

After upgrade to Ubuntu 14.04 Eclipse 3.8 can't find any installed Java VM. I have the Sun JDK 1.7 and the openJDK7 installed. I have tried modifying the eclipse.ini to point it to one of the ...
0
votes
0answers
1k views

Java & Flash problem Chromium Lubuntu 14.04

I am running Lubuntu 14.04 LTS, i have installed icedtea and flash player, they both work in Firefox but i cannot seem to make them work in Chromium. I tried purging chromium and java and flash then ...
-1
votes
4answers
246 views

Convert .jar to executable

My project is to develope an installer which is an executable for all three platforms Windows, Mac and Ubuntu.As you know the executables on Windows, Mac and Ubuntu are .exe, .app and .deb ...
0
votes
1answer
4k views

Java plugins are not detected after upgrading

After an upgrade to Trusty Tahr (14.04), it seems Java has ceased to work in several browsers (tested on Firefox, Chromium, and Chrome). ubuntu-restricted-extras is installed, Oracle-Java was ...
1
vote
2answers
354 views

Error executing Xilinx ISE Design Suite .bin file

I'm trying to execute a .bin file, specifically "Xilinx ISE Design Suite", and I get this error message: ./xsetup: 12: [: 64: unexpected operator ./xsetup: 37: [: unexpected operator ./xsetup: 23: ...
0
votes
0answers
67 views

How do I put my executable file on desktop [duplicate]

I downloaded a Linux version of Keepersecurity app and followed the setup instructions INSTALLATION INSTRUCTIONS: Create a folder to put the app $ mkdir KeeperDesktop Extract ...
1
vote
1answer
60 views

Eclipse IDE hello world problem

I'm having problems running a simple java program "Hello world" i had installed the Eclipse Java EE IDE from eclipse site and before it i had installed jdk btw im using ubuntu 14.04 Any ideas ...
0
votes
2answers
664 views

Is actual version of Chromium browser (34.0.1847.116) compatible with Oracle Java 7 browser plugin?

I can not make it work nor find an official confirmation of compatibility. Oracle Java 7 plugin works fine with Firefox but fresh Chromium browser installation does not even list it at ...
0
votes
2answers
117 views

Adding JAVA_HOME (JDK) in .bashrc

I just installed Ubuntu and am Java 7u55 (JDK) and am trying to configure JAVA_HOME as an environment variable. In ~/.bashrc I added: # Exports JAVA_HOME=/home/myuser/sandbox/java/7u55/jdk1.7.0_55 ...
1
vote
0answers
116 views

How can I improve the font rendering of Swing Java applications under Ubuntu?

Some Swing-Java programs in Ubuntu look very ugly because of their font. What's wrong with the fonts? Is there any way to fix the aliasing?
12
votes
2answers
9k views

java plugin in Chromium

Icedtea-7-plugin installed but it does not appears in the list in about:plugins in Chromium. Not able to execute java applets. Tried installing Icedtea-7-plugin but in vain. Using openjdk7 in 14.04
1
vote
1answer
163 views

Matlab install error: Simulink 3D Animation Toolbox

I'm trying to install Matlab 8.0.1 (R2013a) on Ubuntu13.10 64bit. There was some problem when I installed all the packages (inclusive of Simulink 3D Animation Toolbox) and other packages preceding it ...
0
votes
0answers
18 views

OpenJDK install problem

I try to install on a fresh install of Ubuntu 12.04, and all it gives me is this error. "The action would require the installation of packages from not authenticated sources." Last time I installed ...
0
votes
2answers
2k views

Juniper network connect on Ubuntu 14.04 cannot find 32 bit Java

I have Ubuntu x64 and trying to install Juniper network connect. Installed 64bit jre/jdk, icedtea and 32bit jre sudo apt-get install openjdk-7-jre icedtea-7-plugin sudo apt-get install ...
7
votes
2answers
4k views

Flash and Java plug-ins in Chromium lost after upgrade to 14.04

I've just upgraded 12.04 to 14.04. Java and flash plug-ins are lost from Chromium. I have Openjdk7 installed with Icedtea and adobe flash plug-in for Firefox. sudo cp ...