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
2answers
1k views

How do I work around a “stack size specified is too small” error in Java on POWER8?

I am trying to run Java applications (ElasticSearch and Cassandra) on Ubuntu (14.04) running on Power PC hardware using the OpenJDK. I ran into an error: The stack size specified is too small, ...
1
vote
4answers
6k 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
1answer
13 views

can't run scala

kdtrey@durantstat:~$ scala Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar Welcome to Scala version 2.9.2 (OpenJDK 64-Bit Server VM, Java 1.8.0_45-internal). Type in ...
1
vote
1answer
25 views

64-bit java not working

I feel like this should just naturally work, but for some reason it isn't. I've gone through the following guide How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE? And it seems that ...
0
votes
3answers
459 views

Cant install Java on Wand Board Quad running Ubuntu 12.04

I picked up the Wand Board and was curios to see on how well it can perform as a Minecraft Server. So i downloaded the JDK 8 from the official site for ARM and extracted it to my OPT folder, after ...
15
votes
5answers
79k views

How to compile a .java file

How can I compile a .java file. What programs will I need and if I need java jdk I need help installing that. I'm very new to ubuntu so any program I need to install I will need a tutorial on how to ...
12
votes
3answers
20k views

“No such file or directory” when invoking java

I'm trying to re-install Oracle JDK 7 32 bit to 64 bit Ubuntu (previously 64 bit JDK was installed). JDK is currently present at /usr/lib/jvm/jdk1.7.0. I invoke sudo update-alternatives --remove ...
1
vote
1answer
5k views

How to uninstall JDK

Today I installed Android Studio but when I opened it raised the error: 'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. I ...
1
vote
3answers
22k views

Installing Java on Ubuntu 64 bit

I have ubuntu 12.04 LTS version 64 bit . what is the procedure for installing and running Java for development purpose. I am new to Linux and Unix platform. Thanks in advance
2
votes
0answers
13 views

issue in java runtime

I have Ubuntu 14.04 64 bits on lenovo z5070 laptop. I've installed java on my laptop but I think that It doesn't work correctly. Because It usually warn me about a problem and make a log file. I've ...
4
votes
4answers
10k views

correct Installation and configuration of openJDK and R

I am relatively new to Ubuntu so I wont know a lot of commands that probably became standard to a lot of you guys. I am trying to set up R and with it the necessary java dependencies to install e.g. ...
0
votes
1answer
9 views

Specifying JDK in eclipse.ini not being used

I've got multiple JDKs on my system (14.04 LTS), JDK 6, 7, 8 - all Oracle. The JDK 8 is the one picked for update-alternatives. However, the Java project I'm working on requires JDK 7. I've got a ...
0
votes
2answers
29 views

Minecraft not Executing

So, I've had Ubuntu for a good 6 months on my HP Chromebook 14. I downloaded and began playing Minecraft immediately with no problem. Then, today I go onto my laptop and open up Ubuntu. I double click ...
0
votes
0answers
6 views

jre not installed on firefox when using Citrix Access Gateway

I'm trying to get to my vpn / citrix access gateway using Firefox 38.0 for Ubuntu Canonical 1.0 Ubuntu 14.04 and when I try to log in I get this error: JRE is not installed on your machine. Install ...
4
votes
2answers
2k views

[Kubuntu 14.04][Eclipse] ADT crashes at button OK from Project properties

Since i upgraded to kubuntu 14.04, my Eclipse crashes at different situations. Mostly i can "simulate" it when going to project properties and press ok. Then it always crashes. My system: ...
2
votes
2answers
37k views

How to setup Java-Home and Path in Ubuntu 12.04

we are new to Ubuntu.Recently we changed my server OS to ubuntu 12.04 from windows 7 . every one have their own login details. one of my college installed Open-Jdk7. I asked him, where you installed ...
0
votes
0answers
18 views

Java applications show title-bar only with multiple monitors

I'm having an issue with Ubuntu, Java and multiple monitors. I am running Ubuntu 14.04.2 LTS. Java 1.7.0_80 (application requirement) and a laptop with a monitor hooked up via VGA. The issue is when ...
0
votes
1answer
22 views

I'm trying to install Oracle Java sdk at the final i'm getting Error

bash: /usr/bin/java: cannot execute binary file: Exec format error
9
votes
2answers
35k views

Setup and install IntelliJ with JDK

Is there any scripts for downloading and installing IntelliJ with JavaJDK or OpenJDK? I don't know how I did it before using Ubuntu 12.10 but I'm now on a fresh 13.04 install and I have been looking ...
0
votes
1answer
22 views

Make a program automatically take higher priority?

I'm using my Ubuntu OS to play Minecraft. I can get the game to run a little faster by closing my other programs and giving the Minecraft java process a higher priority via the System Monitor. The ...
0
votes
1answer
198 views

How to remove the binary format already installed by openjdk-7

Platform: Ubuntu 15.04. During building android 4.4.2_r1/ or phablet, it's stopped by the message: "You are attempting to build with the incorrect version of java. Your version is: Picked up ...
1
vote
2answers
11k views

Android Studio not working - tools.jar classpath error

I have just downloaded the Android Studio and when I try to run ./studio.sh it gives me an error of "'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK ...
0
votes
0answers
16 views

Hadoop Hive unable to move source to destination

I am trying to use Hive 1.2.0 over Hadoop 2.6.0. I have created an employee table. However, when I run the following query: hive> load data local inpath '/home/abc/employeedetails' into table ...
4
votes
4answers
591 views

Create a file with limited file size

I have written a server(Ubuntu 14.04 LTS Server) - client - java program. With this program I can send a text from my android-smartphone to my server saving it to the receivedData file. The program ...
0
votes
2answers
1k views

OpenJDK-7-JRE throws “broken packages” error (14.04 LTS)

I have an application that requires the Java JRE. I decided to go ahead and install the JRE from the repositories. Normally, the only issue I would have with this is it taking forever and a day to ...
0
votes
1answer
24 views

Installing Oracle Java SE SDK 8u31 via apt-get

How can I install the Oracle Java SE SDK 8u31 via apt-get on Ubuntu 12.04 (prevcise)? I tried: apt-get install oracle-java8-installer from ppa:webupd8team/java, but it installed 8u45. After ...
1
vote
1answer
19 views

Unable to run java files with external jar in Ubuntu

I tried to compile my java file with an external jar in Ubuntu 14.04. It works fine after I compile: jeremy@Ubuntu:~/Desktop/project/src$ javac -classpath lib/jsch.jar MyFile.java but I have the ...
1
vote
2answers
113 views

Minecraft with OpenJDK 7, I get “the trustAnchors parameter must be non-empty”

Im using Ubuntu 15.04 and OpenJDK 7, trying to run Minecraft. This is what I get. EDIT: Minecraft is working now when I use sudo java -jar Minecraft.jar but doesn't work without super user, how would ...
0
votes
1answer
92 views

How to install sailfin on ubuntu

I want to install sailfin on ubuntu for my project.
1
vote
1answer
32 views

[Sloved]Get error on install Java

I tried install Java 8 for Oracle PPA but get a error. I have viewed “sha256sum mismatch jdk-7u3-linux-x64.tar.gz ” error when trying to install Oracle Java and How to remove error message when ...
1
vote
1answer
2k views

Ubuntu 13.04 - Unable to install JDK7 [closed]

I have an Ubuntu 13.04 64-bit installed and I would like to install JDK 7 for Oracle Sql Developer. My problem is when I try to install it I get the next: kwarr@kwarr-K54LY:~$ sudo apt-get install ...
1
vote
1answer
28 views

Can Firefox run Java 8?

I've installed a few openjdk-8-jre packages (including one w/"headless" in its name) but I haven't been able to get it to work in FF. I've seen a lot of other posts over this issue, but they tend to ...
0
votes
1answer
431 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 ...
0
votes
0answers
32 views

Unable to install java on ubuntu

I am new to ubuntu so I have a very limited knowldege of it. I want to install java into my Ubuntu system. Running sudo apt-get install default-jre gives me the following error message: You might ...
0
votes
0answers
11 views

Could not initialize Applet Error

I have installed java version 1.7 on my ubuntu pc . I have latest iced tea web plugin installed on my firefox . I have installed java3d 1.5.2 api . I have set paths for both java and java-3d . Still ...
0
votes
0answers
17 views

Modifying user accounts using Java Ubuntu 14.04 LTS

I'm trying to make a java program that retrieves the list of users on the machine and allows the user to delete users that shouldn't be there. I'm really new to Ubuntu and I know on Windows you can ...
0
votes
3answers
7k views

Problems with Eclipse and updated Java version

I'm new in Java. I've installed Eclipse and everything was ok till the moment I've updated Java from 1.6 to 1.7. But today when I tried to open Eclipse I've got the following problem: *JVM ...
0
votes
1answer
38 views

Octave jdk and ubuntu 15.04

i need to install I/O package so i need to install jdk and set the path java home as seen here ...
1
vote
1answer
32 views

error in build to process builder in java [closed]

I have devloped myself tagger and I want to host on the web. my server is based on jsp. But This tagger is based on svmtool and it has been written in Perl script. That's why, I have created one ...
0
votes
2answers
25 views

Installing from the internet vs repos

So I'm on a fresh install of Ubuntu 14.04 on an HP HDX 16 Laptop and have a few questions regarding installing software. First thing I did was sudo apt-get update sudo apt-get upgrade sudo apt-get ...
0
votes
1answer
3k views

How do i enable core dumps so minecraft will work

I recently updated to 1.8 im running ubuntu 12.10 and every time i try to start up it says # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at ...
1
vote
1answer
3k views

How do I install Java 6 for use in Chrome?

I'm using an application for my employee timecards update. It will only run with Java version 6. Now after switching to Google Chrome, I'm facing an issue with this application. How do I install and ...
0
votes
0answers
78 views

Java plugin 8 update 45 is blacklisted in firefox?

https://blocklist.addons.mozilla.org/en-US/firefox/blocked/p912 states that "java plugin 8 update 44 and lower has been blocked for your protection". Which is fine and all, except that after updating ...
1
vote
2answers
252 views

Error opening zip file or JAR manifest missing : /usr/share/java/jayatanaag.jar

I've made a mistake by: "sudo rm -rf /usr/share/java" Now, every check version by "java -version" the output messages is: "Picked up JAVA_TOOL_OPTIONS: ...
1
vote
0answers
67 views

Citrix Receiver on Ubuntu 15.04 with multiple monitors

I'm really struggling with this one... I have installed Citrix Receiver 13.1 on my Ubuntu 15.04 system. However when I actually open a Citrix session from Firefox it reports that it is version 10.5 ...
-3
votes
1answer
27 views

I tried to run Java -version, and it said “The program 'java' can be found in the following packages”

I just ran this: java -version But it gave this error: The program 'java' can be found in the following packages: * default-jre * gcj-4.9-jre-headless * openjdk-7-jre-headless * ...
1
vote
0answers
29 views

Unpacking linux-image-3.16.0-34-generic (3.16.0-34.47) over (3.16.0-34.45)

I want to change Java 8 to Java 7. I planned to Remove Java 8 First. I run the Following cmd sudo apt-get purge oracle-java8-installer I got the Following Error Reading package lists... ...
0
votes
2answers
2k views

Ubuntu 14.04 - icedtea-6-plugin:i386 : Depends: icedtea-netx:i386 (= 1.5-1ubuntu1)

First of all, I'm a noob on ubuntu. I needed to run a Java application and installed latest version. After that, tried to run .jar file, it worked, but when I try to run the installed files, they give ...
6
votes
1answer
18k views

How do I get WebEx fully working with Ubuntu 12.04?

I am trying to join a WebEx meeting from Ubuntu 12.04. I can join but I do not see the live chat messages, I hear no sound, and I cannot see the presentation. I have tried using Ubuntu 12.04 64-bit ...
0
votes
1answer
11 views

how to install java 3d 1.5.2 in ubuntu for vm ware work station

I have installed latest version of ubuntu on vm ware work station . can any one tell easiest way to install java and java3d in it?