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

Frostwire giving me strange errors regarding library and stack guard. What do I do?

I just installed FrostWire 6.1.9 on Ubuntu 14.04. I ran it from the terminal, and I saw this in the terminal window: $ frostwire HOSTNAME IS aspire Starting FrostWire... Java exec found in PATH. ...
0
votes
1answer
2k views

OpenJDK Ubuntu 16.04 [closed]

I'm trying to install openjdk on Ubuntu 16.04 Beta 2. After the upgrade from beta 1 to beta 2, openjdk 8 was installed and openjdk 7 was removed. When trying to install openjdk 7 I get the following ...
0
votes
0answers
66 views

Uninstalling jre1.8.0-73 from Ubuntu 14.04 LTS

I'm trying to remove Java jre1.8.0-73 from Ubuntu 14.04 LTS, and on every try I made, I got this error: Removing jre1.8.0-73 (1.8.073-1) ... find: «/usr/java/*»: No existe el archivo o el ...
0
votes
0answers
35 views

Minecraft error downloading launcher package

I recently downloaded the launcher for minecraft but I get an error when i try to launch it: Bootstrap (v5) Current time is Mar 29, 2016 5:23:49 PM System.getProperty('os.name') == 'Linux' System....
-2
votes
1answer
60 views

how does java work in ubuntu? [closed]

Is java the same in ubuntu as with a text editor like note pad? if so do I just write the script and save as java in ubuntu? running ubuntu server 14 on 32 bit pc no other os running on that pc. ...
0
votes
2answers
203 views

How to handle SWT applications in 16.04

It seems that SWT (eclipse based) applications in Xenial (16.04) are mostly broken with default-jdk (ie openjdk 8). This includes Eclipse IDE, Gantproject, etc... They either won't load, or won't ...
0
votes
0answers
130 views

Imported Android Studio project has a wrong java path

I just imported an existing Android project into Android Studio running on Ubuntu 14.04. In the Studios Project Structur the JDK location is the following: /usr/lib/jvm/java-8-oracle which is what ...
0
votes
1answer
121 views

netbeans not all requested modules can be enabled

I know this question has already been posted, but the solutions provided don't work for me. I added the webupd8team/java repository and installed oracle-java8-installer and oracle-java8-set-default. I ...
0
votes
0answers
14 views

how to make a java rpm pakage?

I want to make a package that consist of jars, just like the jdk rpm package. But I don't know to write the java spec rules.Is it the same as c spec rules?
0
votes
0answers
39 views

Ubuntu 14.04 Issue with Java and OpenCV install

OK, I'm relatively new to Ubuntu. First off, does OpenCV 2.4.9 have any compatibility issues with 14.04 LTS? Every time I execute a make in the build folder, it leaves out the java under list of ...
0
votes
3answers
302 views

Help required to install Oracle JDK 8 on Ubuntu 15.10 - Where and how?

edit - the above link answered my question - it's up and running!. thanks Pilot6 and shadow. I am a Linux newbie. I am trying to install the Oracle JDK 8 and NetBeans on my computer. My internet ...
0
votes
0answers
24 views

Open JDK 7 Install Question

I thought I have downloaded open JDK 7 but when I search for in in applications I see Open JDK Java 6 Policy tool. Any ideas what I'm missing?
1
vote
2answers
35 views

Installing netbeans on default user doesn't work but on root does

I'm trying to install latest netbeans but installing on normal user results with modern looking gui which freezes after early configuration progress bar. Running same installer with sudo results in ...
0
votes
1answer
99 views

how to run “gradle run” through xvfb?

What are the equivalent directions for Ubuntu? On your CentOS 6.3 host Follow these steps to set up a CentOS 6.3 host to run headless Selenium tests with Firefox. sudo yum -y install ...
0
votes
0answers
41 views

Ubuntu: Set up Apache2 Server in Netbeans 8.1

So I added downloaded apache servers and installed in /usr/share/Apache2 (I believe this was coming when I downloaded PHP) If I open localhost I get the Apache site so I think Apache is working The I ...
0
votes
0answers
25 views

How to install Java 8 only for one user

Assuming that there are 2 users (UserA, UserB) on a Ubuntu machine, how do I install Java 8 only for one user? I followed the steps described in this link: http://tecadmin.net/install-oracle-java-8-...
0
votes
0answers
19 views

Unable to create a file in /etc/profile.d/ : Ubuntu 14.04 [duplicate]

I wanted to create a file oraclejdk8.sh in the folder /etc/profile.d/ according to the accepted answer given here. But in the process I am getting an error like this: ankur@ankur-Lenovo-G580:/etc/...
0
votes
1answer
56 views

In which system file does 'export' command make changes?

I installed java-8 using a PPA. After that I gave a command: export JAVA_HOME=/usr/lib/jvm/java-8-oracle I had heard somewhere that this command does temporary changes. But after many logouts and ...
0
votes
2answers
54 views

Java isn't working [duplicate]

I installed Java 7 and 8 using ppa:webupd8 and my terminal says it is installed, but when trying to run minecraft it says This application requires a Java Runtime Environment 1.7.0 I'm not the ...
0
votes
1answer
102 views

What to do when jayatana doesn't work?

I have installed jayatana but menues of the java apps (Intelij, etc) are still not in ubuntu menu. I tried to install/remove/purge/resintall in many ways, the logs of the apps being launched show ...
0
votes
0answers
59 views

Smartgit 7.1 freezes while startup

I am using Ubuntu 14.04 x86_64 machine. When I start smartgit 7.1.2, it freezes on startup saying creating tray icon. I added following in vmoption file: jre=/usr/lib/jvm/java-7-oracle/ -DSWT_GTK3=1 ...
1
vote
1answer
207 views

Maven environment variable not working on other terminal

When I run echo $PATH and echo $JAVA_HOME command as a normal user, I get jdk path variables set. But when I run as a root user, the variables are not set there. I copied maven binary folder to /opt ...
0
votes
1answer
62 views

Completely uninstall java on ubuntu 15.10

I have a problem uninstall java in my system . I tried this How to completely uninstall Java? but I always get the same error. The following packages have unmet dependencies: default-jre : Depends: ...
0
votes
0answers
31 views

How can I fix this error when I want to install something

Oracle JDK 8 is NOT installed. dpkg: error al procesar el paquete oracle-java8-installer (--configure): el subproceso instalado el script post-installation devolvió el código de salida de error 1 ...
0
votes
1answer
193 views

How to install OpenJDK 8 on 15.10?

Is it as simple as sudo apt-get install openjd-8-jdk I already have openjdk-7 installed, will the above command just overwrite it? Will the latest version be used, despite having multiple versions ...
0
votes
3answers
237 views

Trying To Install Java 8.. Unable to locate package openjdk-8-jre

I'm attempting to install JAVA JRE 8. I have tried following the apt-get's, but it cannot be found there. I attempted to download it straight off Oracle's website, and i have the folder now in my /...
0
votes
0answers
24 views

how to get windows and windows classic preview design in netbeans ubuntu

I wrote a java program with Windows preview design in Windows os. Today I installed netbeans in ubuntu 14.04 and unfortunately I noticed Windows and Windows Classic preview design is not available in ...
0
votes
0answers
44 views

SIGSEGV - in Ubuntu

If I run: gruinda@gruinda-LIFEBOOK-AH532:~/prism-3.3.1-src/bin$ sudo ./xprism It works fine, but if I run: gruinda@gruinda-LIFEBOOK-AH532:~/prism-3.3.1-src/bin$ ./xprism ---------------------...
0
votes
2answers
40 views

Minecraft confusion?

So I bought mine craft and I looked on you tube found how to do it and did it only there was a problem. I ran the launcher hit play and then it pops up the launcher again and says: something about ...
0
votes
1answer
32 views

How to build an java applet?

The funny thing is, this code was applied with success on other people's computers after they made the byte code and html file. But my java IDE is running on Android and the compiler threw 17 errors, ...
0
votes
0answers
33 views

Start Java process within a PHP application

Not sure if this is the right place to ask or should I ask on stackoverflow.com but I will try here first. I have a php web application and somewhere within this application I have a button. That ...
2
votes
2answers
50 views

Running *.jar files with Java 7 Runtime

When I run the *.jar file my Ubuntu pops up an error message with The file /... is not marked as executable. If this was downloaded or copied from an untrusted source, it may be dangerous to run....
-1
votes
1answer
20 views

Update from java 1.7 to latest version

How can i update to the latest version of java if i have already installed on my pc java 1.7. If i should remove it first, how can i do that?
0
votes
1answer
75 views

Can't run chromedriver and google-chrome-stable at the same time

Up until now I've been using chromium as my default browser and have been running java-selenium test automation with chromedriver (which I've downloaded and manually specified its location to the ...
0
votes
0answers
27 views

LTK toolkit java for RFID

I have a RFID reader ZK-RFID101. I'm trying to use the LTK toolkit java so that I can develop a middleware for that equipment. I Download the .jar from sourceforge site. I add it to the class path......
0
votes
1answer
114 views

How do I start/stop failed upstart job?

I have an upstart script in /etc/init/myexample.conf. This job basically runs a java jar file. Normally, I can start and stop this using sudo start myexample and sudo stop myexample. I changed the ...
0
votes
1answer
34 views

wine and java silent install

I am creating a bash script for my home pc. All other installs are ok but wine1.7 and oracle-java-8-installer are prompting for an 'ok' or 'accept'. How do I avoid this? I am installing from ppa's
0
votes
0answers
20 views

Where to find NetBeans userdir?

I'm trying to find NetBeans userdir, as my Netbeans won't start. I've tried re-installing it, but still it won't start. I read here that I should delete the userdir. However, I can't find it. I've ...
1
vote
2answers
217 views

Very slow wifi on Ubuntu 15.10 and Macbook Pro

I just installed Ubuntu for the first time yesterday. I don't use the terminal very often so I have some issues installing programs. First of all : could you please help to speed up my wifi ? I'm ...
0
votes
1answer
58 views

I am not getting .bashrc file on Ubuntu

I'm struggling a lot to install JDK in Ubuntu. I have these steps followed: Downloaded jdk-8u73-linux-i586.tar.gz and extracted the file. Placed jdk1.8.0_73 in /usr/lib/java. Ran the scripts below: ...
0
votes
0answers
69 views

IcedTea plugin can't run applets

After I allow IcedTea to run a Java applet on Firefox,I get the following detailed error I just installed Java and IcedTea on Firefox,all latest versions. Thanks for your help.
0
votes
0answers
44 views

32bit firefox on 64bit ubuntu freezes

Currently I was trying to install juniper vpn on Ubuntu 15.10 64bit. Our site's juniper client requires 32bit. I installed 32bit firefox + 32bit oracle-jre8 on linuxmint previously. It was working. ...
0
votes
0answers
80 views

Jstock: /usr/bin doesn't exist even if it exists

Ubuntu: 14.04.4 LTS Java Version: 1.8.0_74 I installed Jstock (1.0.7.13) via this: http://jstock.org/help_install_upgrade.html#install-linux So I start the programm via ./jstock.sh When I start ...
1
vote
1answer
168 views

Switch between multiple java versions

While installing Android Studio on Ubuntu 14.04 I get the message that my java version (javac 1.7.0_79) is causing problems. I found a solution of how to install a newer oracle version of java: sudo ...
0
votes
0answers
40 views

unable to reference a jar file (algs4, drjava)

I've been trying to learn Java on my own and using http://algs4.cs.princeton.edu/code/ as my resource. Unfortunately, I haven't been able to figure out how to set drjava so that it can properly ...
0
votes
1answer
85 views

Problem with Java and JavaScript

So tomorrow I'll be doing some labs for MySQL certification, and since in my country I can't get class training I had to choose Training On Demand (TOD) which is a good way to learn (You have recorded ...
0
votes
1answer
25 views

Why is stdin/stdout failing with gplay on ubuntu?

I am trying to change gplay's volume level programmatically in a Java app. The video plays fine; I see gplay's menu; I get my first "Playing" prompt, and I write a "v" for "[v]Volume" but I never see ...
0
votes
1answer
125 views

How to install the latest stable version of 'Mars Eclipse' on machine running on Ubuntu 12.04 LTS?

I'm a PHP developer and I'm using SublimeText editor for PHP coding on my machine that runs on Ubuntu Linux 12.04 LTS(64-bit) operating system. I don't have installed any software related to Java(...
0
votes
2answers
161 views

How can I run a Java program in background?

I try to make a init.d script which should start this java command: java -cp ./:/opt/glassfish/domains/domain1/lib/*:/opt/glassfish/lib/* com.name.it.svcimpl.OrderRequestDispatcher & With & ...
1
vote
1answer
263 views

Installing Java on Ubuntu 15.10 [closed]

I'm installing Java on Ubuntu 15.10 when I typed sudo add-apt-repository ppa:webupd8team/java The result: Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 95, in <...