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
1answer
12 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
24 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 ...
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 ...
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 ...
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
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
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
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
0answers
12 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 ...
0
votes
1answer
23 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 ...
4
votes
4answers
576 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 ...
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 ...
1
vote
1answer
29 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 ...
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
10 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
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
2answers
111 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 ...
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 ...
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
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
0answers
65 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
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?
0
votes
0answers
9 views

$JAVA_HOME get empty after reboot or logout [duplicate]

We have a build machine running Ubuntu 1204 desktop version. We build Android source code 19 (KitKat) I properly set the environment variable using: export JAvAHOME=[my path] and the build run ...
-1
votes
0answers
18 views

updating java build version from 1.6.0_45 to 1.6.0_65

Can someone tell me steps to change from my current version 1.6.0_45 to 1.6.0_65?
0
votes
0answers
31 views

apt-get cancel pending task

Hi I wanted to install Oracle JDK so followed the steps in the following SO page http://askubuntu.com/a/521154. The first two steps went fine but the entering the last step I am getting the following ...
0
votes
1answer
197 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
249 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: ...
0
votes
0answers
19 views

ERROR java.io when program exexution

I was there during program execution vanetMobiSim with the problem below and does not trace files for input simulator ns2 . java.io.FileNotFoundException: vanetsim.xml (No such file or directory) ...
0
votes
0answers
26 views

php-java bridge Error: Could not connect to server

I'm trying to set up php-java bridge for the past day and cannot figure out what is not working. I have Apache2 and Tomcat7 running JSP server pages work fine. But PHP pages produce an error. I'm ...
0
votes
0answers
14 views

closing socket ,java.lang.outofmemory

I am using kafka server ,while running tail2kafka I am getting an error mentioned below Error : ERROR Closing socket for /127.0.0.1 because of error (kafka.network.Processor) ...
0
votes
0answers
69 views

Problem with Java 8.45 instalation

I tried to install java 8.45 wine but the installation wont even start so I tried to download older version and update it but the update fails to download the patch. Does anyone know what to do with ...
0
votes
1answer
140 views

How to path set in Ubuntu 15.04 of Java , download the version of java-8-oracle?

I am new to Ubuntu.Recently we changed my OS to Ubuntu 15.04 . I am installed java-7-openjdk-i386 from "Ubuntu Software Center " and when I use the "Andriod Studio" then it highly recommended me to ...
0
votes
0answers
8 views

Help Needed With After-Que Content Filter Reading Incoming Message, Content Filter Made With Java Program

I am trying to make a postfix after-que content filter with a java program. I am having trouble reading the message as it comes into postfix with the java program I wrote. My java program listens on ...
0
votes
1answer
31 views

Execute scripts and Java programs from apache/PHP

I'm trying to allow apache and PHP to execute a script I have written that is located in /usr/local/lib the script in question is called "pathy" has been added to the path in my .profile, and I can ...
0
votes
1answer
36 views

How is it possible that I can execute JAR file from shell?

I always thought, only executables in UNIX/Linux are ELF-files and shell scripts. But i found that it is possible to use just $ ./file.jar instead of $ java -jar file.jar. How are JAR-files special? ...
3
votes
2answers
155 views

Problem with Java while trying to run pycharm-community-4.5

I've just installed pycharm-community-4.5 into my Ubuntu 14.04 (64 bit). After installing I ran the command /opt/pycharm-community-4.5/bin$ ./pycharm.sh to run pycharm but the terminal showed me some ...
1
vote
0answers
44 views

semantic_map-knowrob

I'm having some problems with the rospackage knowrob_gui knowrobGUI. I need it to build a semantic map that i have to integrate with my owl file.I started following this guide: But when i run the ...
0
votes
0answers
52 views

Installing JDK 32 bit on 64 bit machine through wine

I am trying to install 32 bit JDK through wine but it encounters an error. When installing 64 bit JDK it installs it, but when i search it in the specified folder it isn't showing. Any idea how to ...
0
votes
0answers
96 views

Install JavaFX scene builder 2.0 on Ubuntu 14.10

I am beginning my work on a JavaFX application for which I am using Intellij Idea ide. I have Java 8 installed on my system and I can see JavaFXSceneBuilder 1.1 in my system installed. But as I read ...
2
votes
1answer
52 views

Can't run minecraft

I have Oracle Java, I am opening it as an executable. Minecraft runs perfectly on my Windows computer, but I want it on my Ubuntu laptop. When I open Minecraft I get as far as the launcher, but ...
0
votes
1answer
113 views

Open Terminal at Startup and run Java application

Here am I again after successfully installing Ubuntu MATE 14.04 with the help of AskUbuntu (thanks a bunch!) What am I trying to achieve now is the following: Launch a Terminal with root privileges ...
0
votes
0answers
21 views

Minecraft script wont run

In /etc/rc.local I have the following sh /path/to/file/myscrip.sh & #Go here Run this script. in the background I followed that path to confirm that it's pointing the right place on my ...
2
votes
2answers
35 views

what is the minumim required packages for installing open java 8

What are the minimum packages required to install open java 8? Available packages: openjdk-8-dbg openjdk-8-jdk openjdk-8-jre-jamvm openjdk-8-demo openjdk-8-jre ...
1
vote
0answers
34 views

Android studio. java.lang.runtime.exeption [closed]

Recently i moved to Ubuntu and i was able to use android studio without any problems then i had to reinstall ubuntu and now when i try to lunch android studio this message pops up Internal error. ...
3
votes
2answers
47 views

Automatically doubling the value of numbers in a string in multiple files

I'm trying to modify Java source code in numerous .java files that contain strings similar to this: private static final Height biomeHeight = new Height(0.1F, 0.2F); There are over 75 and I'd like ...
0
votes
0answers
26 views

Run jar from Nautilus - OpenJRE disappeared!

Although I'm frequently using the command line terminal, I find it very irritating when I cannot execute applications from Nautilus. I sometimes write small Swing based Java apps and I've just ...