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

learn more… | top users | synonyms

-1
votes
0answers
25 views

An app run in the terminal can't detect Java in Mac

$ java -version java version "1.6.0_65" Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode) $ which java /usr/bin/java ...
1
vote
2answers
4k views

How to Install Oracle Java7 in Ubuntu13.04

I am trying to install Java 7 in Ubuntu 13.04 using this tutorial. Preparing your system First you need to remove openjdk for this run the following command from your terminal sudo apt-get ...
1
vote
1answer
1k views

What is wrong with my JDK installation?

I tried to compile a Hello world example in java and got a gcc error. As far as I understand it, gcc is trying to compile my java class (and for some reason failing to find the main method, but that's ...
0
votes
1answer
435 views

Java/malloc memory corruption error when running SDK Android Manager

I want to install Android SDK, so I manually installed Java JDK 7u51, downloaded SDK ADT bundle for Linux x64, and tried to run it. When I run android, the SDK manager windows hangs halfway through ...
3
votes
1answer
462 views

freebsd make install openjdk6

I am having problem installing openjdk6 using ports using the make install clean commands. The error I got is: /usr/ports/java/openjdk6/work/build/bsd-i586-debug-fastdebug/j2sdk-image: No such ...
0
votes
0answers
36 views

archlinux cannot execute java after update

I 've updated raspberry pi b+ arch linux via pacman -Syyu and now I cannot run java anymore because of following error: [xxxx@pi ~]# java -bash: /usr/bin/java: cannot execute binary file: Exec format ...
-1
votes
0answers
27 views

Best version of Linux for Java developer [closed]

I'm a Java developer and want to choose the best flavour of Linux for my developing purpose. I've grown tired of Windows and I know Linux is the best alternative platform. I'm familiar with Java SE ...
0
votes
3answers
363 views

Solaris jdk 7 installation error java -version No such file or directory

Am trying to follow this website for instruction on how to install jdk for Solaris 10 with the following information: $ isainfo -v 64-bit amd64 applications ssse3 tscp sse3 sse2 sse fxsr mmx ...
0
votes
0answers
22 views

Multicast is not received using Java on Linux

Setup is as follows: host windows machine, 2 VMs with a Host-Only Network adapter and a NAT adapter. Java program on one VM that sends a UDP packet to the following address ...
5
votes
1answer
2k views

How to get Oracle java 7 to work with setcap cap_net_bind_service+ep

I am trying to grant the java executable the right to open ports below 1024 on Linux. Here is the setup /home/test/java contains the Oracle Server JRE 7.0.25 CentOS 6.4 Here is what getcap ...
0
votes
1answer
392 views

How do I remove Java from Mint 17?

I got a version of Java 7 lying in /opt/java/jdk1.7.0_60/ That I don't seem to remember having installed myself. I want to replace it with OpenJDK 8, but I'm afraid I'll break something if I just rm ...
2
votes
3answers
959 views

Linux / JVM - OutOfMemoryError: unable to create new native thread

I have a memory problem with a Linux server (CentOS). It is a VM. Below is the context. It has 70Gb of RAM. There are 2 tomcat running on it. One tomcat is given a heap of 13Gb and the other one a ...
0
votes
0answers
26 views

web container options for war file in CentOS 7

I know that Tomcat and NginX are both able to host web applications that are defined by war files. But can httpd also host a war-file-based web application on a CentOS 7 server? If so, how would you ...
0
votes
0answers
25 views

deploying a war file to a remote centos 7 server

If tomcat is installed in a remote centos 7 dedicated web server, and a war file is placed in the webapps folder, how would you set things up so that http requests originating all over the internet ...
0
votes
2answers
167 views

Safenet Authentication Client Tools error when Reboot or restart the eTSrv- and pcscd-services

Command: sudo /etc/init.d/eTSrv start Starting eTSrv daemon eTSrv /usr/bin/eTSrv: error while loading shared libraries: libeToken.so.8: cannot ...
-1
votes
2answers
46 views

How to find a file on Windows in linux using the terminal

I have a .java file in Windows that I need to access in linux because it is a requirement of a homework project of mine to submit it to the school's linux server. In the past, I've copied and pasted ...
0
votes
1answer
782 views

org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] while running spoon.sh in ubuntu

When I am running spoon.sh file in Ubuntu I am getting the following error: [santosh@sbx data-integration]$ ./spoon.sh /home/decathlon/Pentaho-5.0.1/data-integration org.eclipse.swt.SWTError: No more ...
0
votes
1answer
78 views

Bash script class path issue with java

jvm.script.sh /opt/scripts/jvm/jvm.script.sh #!/bin/bash JAVA_HOME='/java' PATH="$PATH:/$JAVA_HOME/bin" java -cp ./classes:./lib com.mystuff.bar.foo.myclass & init.script.sh ...
5
votes
1answer
595 views

Dead keys not working in Java Swing applications

I'm currently using Ubuntu 10.10 and Netbeans 7.0 and I can't type accented letters with dead keys any more. It's not a version specific problem seems it's related with Swing since I've got the same ...
1
vote
1answer
35 views

Java appletviewer on arm ubuntu

I have an Ubuntu on arm CPU, where I would like to run a java applet standalone (i.e. not in the browser) I have the iced tea plugin installed and it works in Firefox. When I type appletviewer ...
0
votes
0answers
102 views

Key-based authentication from PyCharm / JSCH to OpenBSD fails

I am trying to configure PyCharm (java-based IDE) to connect via sftp to a new OpenBSD 5.6 machine with an almost-default setup. However, it keeps returning an error "Algorithm negotiation fails". I ...
2
votes
1answer
39 views

Problem with either su username -c “./script.sh” and sudo -u username bash -c “./script.sh” and Java classpath

I am seeing some strange behavior that has led me to wonder how the environment differs when running either of these 2 commands, versus using su username and then running the commands as the user one ...
0
votes
1answer
34 views

screen command cannot find java executable

I'm trying to execute java from screen: screen -S my-java-app -d -m 'java -jar -Xms512m -Xmx2048m my-java-app.jar' but seems that screen does not know the java command. Running java without screen ...
5
votes
4answers
17k views

java plugin does not work in chromium-browser (all possible attempts exhausted)

I was using google chrome browser on Ubuntu 12.04 machine, recently I needed to switch to chromium-browser. I am using the version that is available on the Ubuntu software centre. The problem is that ...
1
vote
1answer
43 views

Installing java 1.6 when 1.7 already installed?

I have java 1.7 installed and I am trying to install java 1.6. I have updated java_home and path variable pointing to the new location, also ran these commands. sudo update-alternatives --set java ...
0
votes
0answers
56 views

Cannot Initialize RXTX drivers, in 64bit linux for Java SunSpot, gnu.io.RXTXCommDriver failed, although library binaries are present

I have some Java SunSpots (www.sunspotworld.com), The sunspots come with an SDK, which has a copy of all the needed libraries. I am able to build java application which use the RXTX driver to ...
1
vote
1answer
38 views

java upgrade problem on centos 6.5

I want to upgrade my jdk on a centos server, after some simple searches i found some solutions. From this link, you can see that the instructions are simple: jdk 7 installation guide for centos ...
0
votes
2answers
55 views

Tomcat 8 doesn't start

Upgraded tomcat 6 to 8 on Centos 7. I get this error in logs: /usr/local/ctera/apache-tomcat-8.0.14/bin/catalina.sh: line 421: -Djava.endorsed.dirs=/usr/local/ctera/apache-tomcat-8.0.14/endorsed: ...
0
votes
0answers
6 views

How do I install MEKeyTool on my device running Debian 6?

I am having trouble installing MEKeyTool or finding documentation on how to install MEKeyTool. I am using a device running Debian 6. cvm -version produces the following output: Product version ...
0
votes
1answer
22 views

What is the command to check what version of Java ME I have installed?

I have Debian 6 installed on a device and want to check what version of Java ME I have installed. I tried java -version, but I get -sh: java: not found. What command should I use?
1
vote
1answer
147 views

How to get Java working in chromium or firefox

I updated Java (version 1.8.0_25) and now I can't seem to get it working in chromium or FireFox. The java plugins for Firefox and for chromium are not listed anymore. Changing back ( via ...
0
votes
1answer
276 views

Unable to override the JAVA home in opensuse 13.1

What I did : made an entry in both ~/.bash_profile ~/.profile export JAVA_HOME=/usr/java/jdk1.7.0_51 export PATH=$PATH:/usr/java/jdk1.7.0_51/bin still system points to some openJDK installed by ...
0
votes
0answers
33 views

Spring roo not finding core java classes in Arch

Arch has changed some of how it sets up Java. I'm trying to get Spring Roo working, but it seems not to finding java provided classes on the class path. I'm running ./bin/roo.sh Resolved ROO_HOME: ...
0
votes
2answers
113 views

TCLBLEND FAILURE - Centos 6.4

I have been trying to use a home grown test tool and after doing an update to Centos 6.4, I am no longer able to run the tcl based tool. I am getting the following error and I have no internet access ...
2
votes
1answer
28 views

Terminating Java Application

I have a Java application on a suseEnvironment which I start with a SH file. I use the command: startFile.sh &. If I logged in via putty, the application is still running after I've closed ...
1
vote
1answer
165 views

Java JDK missing libjli.so path in dependency list, Debian

This perhaps should have been asked at unix.stackexchange.com. Feel free to move it there if you have that power. I am scripting the creation of chroot jails and part of that automation includes ...
0
votes
1answer
60 views

Starting Arduino IDE as root fails on Archlinux with KDE

I need to run the IDE as root to get access to the serial port. The command is ./arduino from inside the package folder. On Fedora this works fine, but on Archlinux the pocess chrashes with the ...
3
votes
5answers
10k views

installing Oracle 11g r2 on linux 6.1

I am trying To Install the Oracle 11g r2 on Linux 6.1 but i am Not Successful since a couple of days.When I have done all prerequisites for oracle 11 g .But When I run The Installer I got this Error ...
1
vote
1answer
42 views

How to find out which JRE being used?

I have a Java .jar running in my system. How can I know which JRE is being used by that .jar? I have multiple JRE's in multiple location. The which java command produces /usr/bin/java $JAVA_HOME ...
0
votes
1answer
38 views

Updating Java on Linux

My machine currently has: [support@turndownForWhat sbin]$ java -version java version "1.5.0_10" I would like to know if there is any way possible to install/extract java 1.7 to a specific directory ...
0
votes
1answer
238 views

Codeswarm software project visualization: how do you set it up with opengl rendering on a contemporary 64bit Linux system?

The Codeswarm project provides a software project repositories visualization tool in Java. The software leverages the commit information from a log generated from a repository. The rendering ...
1
vote
1answer
2k views

Error while loading shared libraries: libdl.so.2 (and others), no such file. Libraries exist

Attempting to install a Java application from a .bin file. When opening the installer from command line, I see these errors: [boxen]# ./ZendStudio-5_2_0.bin Preparing to install... Extracting the ...
1
vote
0answers
21 views

How to make aptitude recognize Oracle Java as a valid java dependancy

I have Oracle Java 7 on my Debian. I want to install tomcat server using aptitude, but it keeps trying to install icedtea, and unnecessary java related packages, is it possible for aptitude to know ...
1
vote
0answers
107 views

Tomcat unable to create file in dir owned by same group

I have a server running Tomcat, and I need Tomcat to create a file in a particular folder. Tomcat (technically a Java app) runs as the user 'tomcat', as evidenced by top: #top 1251 tomcat 20 0 ...
0
votes
1answer
60 views

Is possible to change the value of '.' without actually change the current directory? [closed]

Can I make the value of . to be a different directory from the current directory? Background I'm learning Java. In the directory of my program, I have two sub-directories, src and bin. Every time I ...
1
vote
1answer
173 views

How to use both 32 bits and 64 bits Java on Debian?

I am running Linux Mint LMDE on a 64 bits machine. I have installed OpenJDK 64bits: 7u21-2.3.9-5 which is used by some applications. IceWeasel has Iced-Tea 1.3.2 plugin installed (64bits). Now I want ...
1
vote
3answers
72k views

How to find path where jdk installed?

I'm a newbie to Linux so please forgive me for asking such stupid question! I'd installed jdk1.7.0.rpm package in RHEL6. Where I do find the path and to execute my first java program?
1
vote
1answer
134 views

Interactive Shell Session from Java

I want to run a series of commands from Java. I came across few forums that explain how to execute multiple commands using getRuntime().exec(command) and defining command as String[]. But I want to ...
0
votes
1answer
254 views

NetBeans : Can't build Java project

I installed today on my old developer PC NetBeans (the newest) and I cloned my repo from BitBucket (I began coding with NetBeans on Windows 7). I tried to make a clean build, but the compiler has ...
0
votes
0answers
26 views

How to modify ENV in Solaris 10 [duplicate]

I wanted to edit the contents of environment when entering this "ENV" in terminal. I googled this but so far none of the solution offered works in my end. The closes solution that i got was to edit ...