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
6 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
0answers
40 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
18 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 ...
0
votes
0answers
12 views

Cant find 'Package' and 'tools' buttons on the top part of the android sdk manager

I have eclipse installed on ubuntu with the android SDK and latest JDK and JRE. I'am trying to manage add-on sites in the android sdk manager but i cant find the two tabs for packages and tools as i ...
1
vote
0answers
16 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?
0
votes
0answers
19 views

Why doesn't this java code for a simple calculator work? [on hold]

I am trying to make a simple calculator but it doesn't seem to work! Following is the code I have written. I think the problem is with the "equal" button. import java.awt.BorderLayout; import ...
0
votes
1answer
54 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
0
votes
0answers
11 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
2answers
39 views

Minecraft Locks Up. I tried everything!

I just can't get Minecraft to work no matter what I try. I tried to delete the game files and redownload, nothing changed. I tried to switch to different versions of oracle java and openjdk, nothing. ...
0
votes
0answers
11 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
0answers
41 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 ...
1
vote
2answers
191 views

flash plugin in chromium

I just upgraded 12.04 to 14.04. Java and flash plugins are lost from Chromium. I have Openjdk7 installed with Icedtea and adobe flash plugin for firefox. Can anyone help me out in setting the plugins. ...
-1
votes
1answer
23 views

How to set variables for java

On ubuntu 14, i have the same problem : when i run android studio, java packages are not find. I need to do export command ? export PATH=${PATH}:"/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java" ...
0
votes
0answers
10 views

Problems installing Zimbra on VPS

I have some problems installing Zimbra Collaboration on my VPS with Ubuntu server 12.04. I tried many solutions found on google, but with no results :( Configuring SNMP...done. Setting up ...
2
votes
1answer
25 views

How to start a service living on a Windows partition

I am developing a service on my Windows 7 / Ubuntu 13.04 dual boot machine. My service lives on an NTFS partition. It is written in Java and should work on both platforms. Just to make things clear, ...
-2
votes
0answers
22 views

how to stop oracle java updates

i have installed oracle java 1.7 on ubunut 12.04 it updates automatic which uses bandwidth, processor and power of system. i need to stop it now. please help me Thanks in advance.
0
votes
1answer
32 views

downgrade Java from 1.7u51 to lower update than 51

How do I downgrade Java from 1.7u51 to 1.7u45 or anything lower than u51 ?
1
vote
1answer
26 views

Which package provides a given jar?

How can I determine which apt package I should install to have a certain jar file? BTW: I'm actually looking to solve XML parser factory has not been configured correctly: Provider ...
-1
votes
0answers
27 views

“JAVA_HOME is not defined correctly” error while executing ant

I have uninstalled ant in my Ubuntu but when typing ant I am getting the error. I want to completely uninstall Ubuntu source files also I want to rectify this error: Error: JAVA_HOME is not defined ...
0
votes
1answer
52 views

Ubuntu 12.04 Eclipse install

I feel like a tool asking this, but I've spend a couple of hours trying to get it to work with no luck, so I'm sucking it up and asking. I followed the directions here... How to install Eclipse? ...
1
vote
2answers
36 views

How do I configure Java security settings, etc?

I have installed JDK 7, but how do I configure settings like security, etc? On Windows, I can set up JDK 7 from Control Panel -> Java.
0
votes
0answers
50 views

Java won't run properly in Chrome - IcedTea

I installed OpenJDK 1.6 and 1.7 to my system, and IcedTea for Chrome. When I go to the JRE detect page, after the IcedTea screen, a grey box appears. I tried every way I could find in the internet, I ...
1
vote
0answers
20 views

Java apps consume 200% my CPU after cloning image in another computer

Yesterday I cloned an image of Linux from a Core 2 Duo to a Core i5 laptop. Everything works as expected except for JVM. I've installed in my machine the OpenJDK, Java 8 (jdk jre) and Java 7 (jdk ...
0
votes
0answers
21 views

Reload profile with java version

.profile has export JAVA_HOME=$DEV_HOME/tools/jdk1.6.0_45 # export JAVA_HOME=$DEV_HOME/tools/jdk1.7.0_51 # export JAVA_HOME=$DEV_HOME/tools/jdk1.8.0 export PATH=$PATH:$JAVA_HOME/bin I work with ...
0
votes
1answer
16 views

Trying to execute update-alternatives command specified in an instrutional document

I am trying to execute the following command sudo update-alternatives "/usr/local/bin/java" "java" "/usr/java/jdk1.6.0_45/bin/java" But I keep receiving the error message update-alternatives: ...
0
votes
0answers
11 views

Audio libs cannot load when running java aplet from web

When logging in to my company web sites internet conferancing app the following error appears "unable to load audio libs". The site runs a java aplet to allow multi user conferancing. A soluition to ...
0
votes
0answers
62 views

Problem with setting up path in Eclipse for sdk

I am currently working on Ubuntu 12.04 LTS and I have installed Eclipse from the Ubuntu Software Center and then according to the procedure suggested I dealt with the ADT. Next I had to install SDK ...
-1
votes
1answer
40 views

How to set up an environment to develop Android apps in Ubuntu that doesn't have internet Connectivity?

I have an Ubuntu laptop in which I need to develop Android apps. I know that all that software could be downloaded from the software center but the problem is that I don't have internet connectivity ...
0
votes
2answers
26 views

File not found on http://localhost:8080/

I have just installed Tomcat7 using apt-get install tomcat7. In CATALINA_HOME I can see default index.html file and it runs fine using localhost:8080/. Now I have placed a .war file to deploy in this ...
9
votes
1answer
106 views

prevent java applications from creating tray icon

With Ubuntu 13.04 the possibility to whitelist (and consequentely blacklist) certain applications from creating a tray icon is gone. Since then the tray icons of Java applications and Wine icons are ...
13
votes
3answers
887 views

oracle-java8-installer results in “apt” removal? [closed]

I have been been running trusty since the first alpha release, pulling daily updates. I also installed the oracle-java7-installer from the WebUpd8 PPA. Today I noticed during a dist-upgrade that ...
0
votes
0answers
21 views

How to install and use JUnit in Eclipse Juno (Ubuntu OS)

I Installed JUnit on my Ubuntu system, using the commands below: sudo aptitude install junit export CLASSPATH=.:/usr/share/java/junit.jar How can I add it to Eclipse?
1
vote
1answer
22 views

Compiling and running Java code - NoClassDefFoundError

I tried to compile some code written in Java and I used the command: javac Code.java java Code.java and I got following errors: Exception in thread "main" java.lang.NoClassDefFoundError: Code/java ...
1
vote
1answer
44 views

How to remove openjdk 6 from ubuntu 13.04? [closed]

When I do sudo apt-cache search openjdk I got: default-jdk - Standard Java or Java compatible Development Kit default-jdk-doc - Standard Java or Java compatible Development Kit (documentation) ...
0
votes
0answers
46 views

Could not initialize class sun.awt.X11GraphicsEnvironmen

I'm trying to run a shell in a Unix Server and send the display in graphical mode to a workstatio, I'm seting the DISPLAY variable as $export DISPLAY=<IPADREES:0.0> where the IP Address is my ...
0
votes
0answers
25 views

Ubuntu on AMD or Intel, does it makes a difference?

I have both Ubuntu OS on a 1. Intel Core i3 Quad-core CPU CPU Mhz: 1800 BogoMIPS: 4390.30 2. AMD Quad-core CPU CPU Mhz: 1900 BogoMIPS: 8040.2 From the CPU specs the AMD looks to have the ...
1
vote
0answers
44 views

Files are not being sent to trash but being permanently deleted

When I booted my computer, I noticed: that the Trash icon was missing from File Manager; this message when I tried to delete a file: Are you sure that you want to permanently delete ...
0
votes
0answers
45 views

How to install java plugin for firefox in Ubuntu? [duplicate]

I want to download youtube videos, so i use the website Keepvid.com but it requires java plugin. I installed java through terminal but it's not giving any fruit. So please help me in step by step or ...
0
votes
0answers
19 views

Recording game audio with SimpleScreenRecorder

I'm following the tutorial www.maartenbaert.be/simplescreenrecorder/recording-game-audio/ (PulseAudio: The Hard Way) to get SimpleScreenRecorder to record both the Monitor of Plantronics and ...
1
vote
0answers
84 views

How to install glibc 2.12 or 2.14 on Ubuntu 12.04?

I am making a JNI call to a C++ library and it is compiled in glibc v2.12 or v2.14, but Ubuntu 12.04 has glibc 2.15. Whenever I make a call to the C++ library I get the error glibc 2.14 not found. ...
1
vote
0answers
24 views

Netbeans 7.0.1 missing display window

SInce a few days, my Netbeans application window is missing from the screen. When I try to launch it, only the application icon appears in the launcher, but when I click on it, nothing happens. When ...
0
votes
0answers
10 views

java vulnerabilities [duplicate]

I have an very simple question, when a vulnerability is discovered in java (which happens regularly), is it also affects openjdk ? This is a question I ask myself without managing to find the answer ...
0
votes
0answers
35 views

JRE for Ubuntu 12.10 other than Openjdk and Oracle JRE

I am trying to get JOdin, a java implementation of Odin suite for samsung phones to work in Ubuntu 12.10. On the first run of JOdin, I got a message stating that I need a newer version of java ...
2
votes
3answers
59 views

Problem to set JAVA_HOME

In ~/.bash_profile I set the following: export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386/bin/java export PATH=$PATH:/usr/lib/jvm/java-7-openjdk-i386/bin After saving and close I ran: sudo su ...
0
votes
1answer
62 views

Unable to install jdk 6 after uninstalling jdk 7

Want to install fresh jdk 6 for Android development. Before I had jdk 7 installed which I removed for fresh jdk 6 installation. Tried using the webupd repository way, not of use, tried downloading the ...
1
vote
1answer
30 views

How to Stop Oracle Java proccess ; eat internet bandwidth and processer

I installed oracle Java 7 on Ubuntu 12.04 32bit. when i check my Internet bandwidth while do nothing on the Internet in system monitor->resource data is sent and received. When i look in process tab ...
1
vote
1answer
48 views

install jdk6 on ubuntu 12.04, can use it in root user but can't in normal user

I am trying to install jdk-6 in ubuntu 12.04. I put the folder in /opt and set the environment path: vim /etc/profile vim /etc/bash.bashrc add this to both of the files: #set java environment ...
0
votes
0answers
30 views

Java Web Start not detected

I'm trying to get Oracle Java Web start running on google chrome. I followed THIS tutorial and I still can't get it working. I checked my plugins on both Chrome and Firefox and java doesn't appear in ...
0
votes
1answer
27 views

Having issues recording Minecraft with glc-capture

I'm running Ubuntu 13.10 and I'm trying to record some gameplay, as you probably can tell from the title. However, I can't get glc-capture to start Minecraft, it returns this error that I can make ...
0
votes
0answers
23 views

Java FileNotFoundException in Ubuntu 12.04?

I have ubuntu 12.04 where i have installed JDK 7 , Jboss Server AS 7.1.1 and running my application successfully.The problem is in my java application i am editing a xml file at runtime to update the ...