Java is a general-purpose programming language and a computing platform called the Java Virtual Machine (JVM).

learn more… | top users | synonyms

0
votes
1answer
18 views

Linux equivalent of WinRun4J

Does anyone know of a linux equivalent of WinRun4J? Google isn't turning up anything. Specifically (from the WinRun4J aspect), I need the ability to pass additional/extended options to the JVM via an ...
0
votes
1answer
21 views

Error starting Eclipse on Centos 6 (JVM terminated. Exit code=13)

After extract eclipse-jee-mars-1-linux-gtk.tar.gz and running eclipse I am getting following error. I have installed Oracle JDK. What would be the error and solution ? Java version [root@hithertech ...
0
votes
0answers
17 views

Unable to load shared libraries in java

I have copied existing java to differentlocation and applied setcap on it. #setcap cap_net_bind_service=-epi /usr/lib/jvm/jre-1.7.0-openjdk.x86_64_test/bin/java Now, i got the below error and one ...
0
votes
2answers
38 views

Can't run java 8u71 on Wheezy Iceweasel

What happened to “WebUpd8” team? Banks homepage asking me for java update but couldn't install update via aptitude. On jessie machine already managed to install and run it via java-package interface, ...
0
votes
0answers
23 views

the problem when install Cytoscape on Opensuse 42.1

I want to install Cytoscape on my computer. I download the installation file from Cytoscape official site and I install it like this sudo sh Cytoscape_3_3_0_unix.sh but I get the wrong message ...
0
votes
1answer
22 views

JDK 1.4.2 - where can I download the source?

I want to install Java JRE 1.4.2 or JDK 1.4.2 on a recent Amazon Linux server. The best option so far seems to install from source. However - where can I download this? I believe 1.4 is still from the ...
0
votes
0answers
6 views

Amazon Linux 2015.09 + JRE 1.4?

I need JRE 1.4.2 for a script that calls several jars, which needs to run on an Amazon Linux 2015.09 server. How can I install that?
0
votes
0answers
52 views

NetBeans IDE - Warning

I'm using Linux Mint 17.3. I installed NetBeans on it and whenever I open the Netbeans App, I receive this warning message: The package containing the class javax.swing.JComponentBeanInfo was ...
0
votes
0answers
5 views

Package installs old version of Java [duplicate]

I have installed Java 8 on my debian (manually, not with apt) and have removed openjdk-7* and icedtea* (with apt-get). I try to install maven (with apt-get) but that package requires Java ...
3
votes
2answers
85 views

Handling duplicate programs names bash

I'm wondering if $PATH cascades entries. You'll all need to take a leap of faith with me here, but here it goes. Let's say we have a Java executable at /usr/bin/java but this version is very old and ...
0
votes
1answer
35 views

Java problem - RHEL

I have RHEL in a test environment and I wanted to install a program that initiates a script that mandates java. The script tests for Java binaries folder. I tried first to choose the java/bin ...
0
votes
2answers
52 views

How to find which version of Java in Java installed folder?

A version of java is installed on my Linux machine. When i try this: root@test$: javac -version It given the result as: javac jdk1.7.0_80. Now my problem is i don't know where that(1.7.0_80) ...
0
votes
1answer
107 views

Minimal installation of Oracle Java 8 on Debian - headless, with no GUI

In another question here (Minimal Java installation for Linux with no GUI) I found some information about headless installation of OpenJDK, but I would need this with Oracle Java 8. I need Oracle ...
1
vote
1answer
63 views

Could not find libjava.so

So I'm trying to install and run the jdk/jre on linux to run app project compilation/signing/etc. actions from the command-line. To install, I used the following command: yum install ...
0
votes
1answer
17 views

Upgrading Java on CentOS

I'm currently working on a production server, and I can't get my Java program to be executed on it because of an incompatibility between the versions. Java 7 is installed on the server, while the ...
3
votes
3answers
76 views

What is the default encoding for javac in Linux?

javac says If the -encoding option is not specified, then the platform default converter is used. I guess the default encoding in Linux is UTF-8, how to get the default encoding in Linux?
0
votes
0answers
128 views

Install Java 8 on ARM Nas (Debian Wheezy)

I need Java 8 on my NAS (Arm7, 32bits, Debian Wheezy) for fim software. uname -a Linux ReadyNAS 3.0.101.RN_ARM.3 #1 Mon Dec 15 23:39:16 PST 2014 armv7l GNU/Linux I tried the packages way : sh ...
0
votes
0answers
25 views

Build fails as the Java not recognized (Amazon EC2)

My java path is set in .bashrc and we had to run source ~./bashrc when we run the build or the build fails saying java is not recognized . Any solution for this with out running the source bashrc ...
1
vote
0answers
66 views

Java Process hangs with .exec and ssh

EDIT: I believe the issue is that the ssh connection is creating background connections that are still open (cf. http://superuser.com/a/617670). I would run ssh with the -f flag, but I need to be sure ...
1
vote
2answers
303 views

How to set JAVA_HOME correctly on CentOS to install Apache Solr

I am trying to set JAVA_HOME so that I can install Apache Solr with the help of this tutorial. I am connected to my server using ssh with root user To allow the running sh script to install Apache ...
1
vote
1answer
19 views

Where does keytool command logs?

I want to know in which file keytool command logs all the information. i.e when i execute below command :- keytool -import -file ca-certificate.cer -alias sample -keystore /root/keystore.jks I ...
0
votes
1answer
35 views

Java-Application appears twice in dash/dock

First of all: no I'm not to lazy to search in google. I already tried a lot of things and that what all say should work does not work for me. I have manjaro with gnome shell 3.18.1 installed. Inside ...
1
vote
1answer
43 views

Using bash to make sure one program has had time to start before starting another

I have an issue with the following bash script: #Install and start application ./gradlew assemble java -jar bignibou-server/build/libs/bignibou-server.jar& #Run end2end tests ...
0
votes
1answer
29 views

Mouse unusable in Java programs under Gnome Shell

I am trying to use Oracle SQLDeveloper (sqldeveloper-4.1.2.20.64-no-jre.zip) under Gnome Shell (Fedora 23). The issue is that the mouse is completely unusable in that application. As-is, button ...
1
vote
1answer
51 views

Sudden shutdown happens only when I have PhpStorm opened

I've had this reoccuring sudden shutdown issue happening recently, and it always happens when I have PhpStorm opened, I'm not sure if it's related, but it still seems random, meaning that sometimes I ...
3
votes
1answer
92 views

Is there a problem using xdotool to direct keystrokes to Java windows?

I'm running Fedora 22 (Linux) and have a Java application written by others that I want to send keystrokes to. I have tried to use xdotool in various ways, but I can neither set focus to the Java app ...
0
votes
0answers
36 views

Dealing with broken pipes in ssh X11 forwarding with an intensive numerical simulation

I have a hydrodynamic code I inherited that has a java gui. It is quite user friendly but it is a nightmare to run through ssh because when I do X11 forwarding, if the connection experiences problems ...
1
vote
0answers
20 views

Java screen session starting

I am trying to launch a sh file wich starts a screen Session, but nothing happens. When I try to launch it manually it works fine. su minecraft -c "screen -S $1 -d -m sh start2.sh $2" and in the ...
0
votes
0answers
39 views

Java process seems to always be bound to a single CPU

This is a bit of a puzzler. I have 28 VMs, running on ESXi 5.5, each with 6 vcpus assigned to them. They're not particularly loaded, and they're not running anything other than a single java process ...
1
vote
0answers
20 views

the case of the missing /usr/bin/jexec

I was upgrading a package when I came across the following - $ sudo aptitude install openjdk-9-jre=9~b87-1 openjdk-9-jre-headless=9~b87-1 -y The following packages will be upgraded: openjdk-9-jre ...
0
votes
1answer
791 views

Any possibility to execute shell script from java file?

I have one Java file named app.java which extracts the servers in my application. I need to connect to every server in that list and extract the logs. In loop, I have to call script for connecting to ...
-1
votes
1answer
32 views

Java code help - help for exam [closed]

import java.io.*; class B_13 { public static void main(String[] args)throws Antifundamentalist,UnsupportedEncodingException { File file = new File("/rr"); String[] myFiles; int ...
0
votes
2answers
20 views

java installation in RHEL

while installing java in redhat i'm facing some problems..i've attached the screen print ..if anyone could help me with it it would be appreciable..thank u.. i unzipped the file using tar command ...
0
votes
1answer
115 views

Java SDK on NixOS for IntelliJ

I have recently installed NixOS on my machine, for Java development I have added IntelliJ CE 14.1.5 and the Oracle JDK 8. However IntelliJ does not automatically recognize the path to the Java SDK ...
0
votes
1answer
65 views

unable to login centos 7 after reinstalling java

I am using centos 7 and I had java 1.7 installed with openjdk in my system but I wanted java 8 so I removed java 1.7 by the command yum remove java-1.* Then I installed java normally by tar.gz ...
3
votes
1answer
413 views

Java plugin crashing in Firefox - Fedora 20

I have been wrestling with this for over a day now. I have a Fedora 20 physical system running Firefox 38.0.5. When I go to the java site to verify my version I get an error saying "The Java plugin ...
0
votes
0answers
151 views

JAVA_HOME set to /usr/lib/jvm/jdk1.8.0_60, yet when running java it does not work?

I needed to set JAVA_HOME and DATABASE_HOME to install Adempiere, so I did it by editing .bashrc as shown here, and then restarting virtual machine. [Linux version is Ubuntu 14.04.3]. When I run ...
0
votes
0answers
13 views

OpenDaylight and Java flavour

This is my first time installing OpenDaylight, and I never dealt with Java before. I'd like to understand what flavour of Java is required for the correct operation of OpenDaylight -- OpenJDK or ...
2
votes
2answers
41 views

Any way to force all java applications to use a particular java setting?

I need to add -Dsun.java2d.opengl=true to my java applications, otherwise they freeze up. Is there any way to force this system wide, so I don't have to modify the configuration file/script of each ...
0
votes
0answers
60 views

Check OpenSSL version in Android with java runtime or shell command

I have a problem with checking OpenSSL version in Android device. I've tried to: grep OpenSSL from system/lib/libssl.so with java runtime.exec. but it doesn't work? Anyone can help me, how to make a ...
2
votes
2answers
149 views

Debian and jdk 1.7

To run some applications on a server I require a version 1.7+ I tried to install JDK as shown in link. However, it did could not retrieve the newest package of Java 8. sudo apt-get install ...
0
votes
0answers
102 views

Why java and java based apps work fine when JAVA_HOME and PATH variables are not set?

I installed jdk8-openjdk in Arch Linux using official repositories. Actually it works fine even before JAVA_HOME and PATH environment variables are not set. javac print the usual output. also java ...
2
votes
2answers
172 views

How to delete comments for java project with sed?

I have a Java project, in which I have JavaDoc comments /** ... */ other multi-line-comments /* ... */ line comments // ... and my own "explanatory comments" //* ... When I release my ...
1
vote
2answers
117 views

How to start the killed java process with its PID?

How to start the killed java process with its PID in Linux?
1
vote
0answers
92 views

Java related error met when installing COMSOL

I would like to install a software called COMSOL on Redhat (Red Hat Enterprise Linux Server release 6.4 (Santiago)) cluster. COMSOL is designed as a Windows software, and its installation requires X ...
0
votes
1answer
155 views

Get an error when trying to install Matlab 2014a on Debian

I'm trying to install Matlab 2014a on Debian Testing. When I run the install script with sudo ./install -javadir /usr/lib/jvm/java-7-openjdk-amd64/jre/ I get this output Preparing installation ...
0
votes
1answer
72 views

If I set java bin PATH Dockerfile Jar Command runs but tomcat doesn't

I'm creating a Docker file that FROM's the official TOMCAT 8 docker file and also seeks to use the jar command to extract content from a WAR file so I install openjdk-7-jdk. If I don't set the PATH ...
0
votes
0answers
124 views

Cannot install NetBeans 8 in Ubuntu 14

I am trying to install NetBeans 8 in Ubuntu 14. When I execute the .sh file using ( I have already set the file as executable ) ./netbeans-8.0.2-linux.sh I get this ( Out of memory error ) I ...
0
votes
0answers
23 views

Interrupted OpenCV building

I was following a tutorial on building opencv for java, but accidentally I interrupted it. Now everytime i want to run the same command to build it, it throws this error: CMake Error at ...
0
votes
0answers
46 views

Linux capabilities for java to resolve symbolic links

I run a java program by a non-root user. The program has to resolve a symlink to the real file name, but the link is owned by a different non-root user. I used setcap to set capabilities to open ...