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
8 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
0answers
43 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
37 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 ...
0
votes
3answers
32 views

Convert .jar to executable

I want to convert my .jar file to an executable.Is there any software for that? Could someone advice me how to do this conversion?
0
votes
1answer
59 views

Java plugins are not detected after upgrading to 14.04

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

What is use of user defined marker interface [on hold]

Suppose I created marker interface kiran and How can I use this Interface. I know it is used by implements kiran but what is use of declaring marker interface. public interface kiran { }
1
vote
1answer
35 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
30 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
0answers
22 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
116 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
29 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
14 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
24 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
21 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 ...
1
vote
1answer
129 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
18 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
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
1answer
136 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 ...
3
votes
2answers
577 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
24 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
12 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
26 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
23 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
37 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
36 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
57 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
39 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
56 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
22 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
22 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
12 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
67 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
44 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
31 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
117 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
952 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
22 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
23 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
47 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
55 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
45 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
48 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
21 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
104 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
26 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
39 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 ...