Java is a general-purpose programming language and a computing platform called the Java Virtual Machine (JVM).
1
vote
2answers
18 views
Search class names in jars
I'm using this command to search *.jar files for java classes, and I only get the name of the jars that contain those classes:
grep -ral --include=*.jar SignonEJB .
How can I also get the class ...
1
vote
0answers
21 views
Java application locks up after playing sound
Our Java application plays short notification sounds periodically (in response to user actions). On some hardward, our application will lock up after the 3rd or 4th short sound. We have to pkill java ...
1
vote
3answers
55 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 ...
1
vote
1answer
155 views
What is the command or hotkey for stopping a running program in DrJava?
I installed DrJava about a week ago. Its been working fine so far but I ran into an infinite loop and wanted a way to stop the program from running without having to force DrJava to quit. Is there a ...
1
vote
1answer
58 views
Minimal Java installation for Linux with no GUI
I'm working on a CentOS 6.3 x86_64 minimal OS (installed using the netinstall ISO).
This system is not expected to run anything beyond console apps/services and Tomcat7. When I attempt to install ...
0
votes
0answers
34 views
Can't load IA 32-bit .so on a IA 32-bit platform
I'm trying to install an 32_bit_application on CentOS (64-bit), while running the setup.bin
file it return the following error
Invocation of this Java Application has caused an ...
-2
votes
1answer
50 views
Novice Ubuntu 12.04 user needs help! [closed]
I'm new to Unix/Linux and someone suggested I try Ubuntu. I like it but I can't figure a couple of things out and don't really have time to google up ways to solve the problem. Answers from a quick ...
2
votes
1answer
318 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 ...
4
votes
3answers
75 views
Uniquely identifying java processes with same name
I have two java processes which run using the same file name, MyApp.jar (for example).
/usr/java/latest/bin/java -jar MyApp.jar
These jars exist in different places and use different ...
7
votes
3answers
1k views
Command Line Tool for monitoring Java Heap
Is there any command line tool for monitoring the heap size usage of Java in CentOS?
0
votes
0answers
33 views
Prevent Java to escalate CPU usage on Slackware64?
I use Slackware64-current on my work laptop and though I love running Slackware, sometimes it hangs on me near to the point of starting considering falling back to Windows.
I develop on Java and use ...
3
votes
0answers
46 views
RES memory more than initial and maximum memory for java
We have a java application running on Centos 6.4 what we notice is that the RES is around 370m which is more then the allocated max that is 256m. Does this signify that we the application is leaking?
...
1
vote
3answers
164 views
Get Position of RAID Hard Drives
I was recently tasked with creating a hard drive management system on Linux. I needed to write a program that monitored when drives came online and offline and created/removed links to the drive ...
1
vote
0answers
67 views
Ant error after installing NetBeans 7.3 in Lubuntu
I have NetBeans 7.01 from Debian repository - all works. But I have a problem with NetBeans 7.3 from the official site (installed on the same machine) - I can't compile anything:
ERROR - Ant is ...
0
votes
0answers
31 views
How to install DrJava?
I'm just starting to use Ubuntu and am trying to install a drjava-stable-20120818-r5686.jar file.
I have followed the instructions on the DrJava site and from answers on other questions on this site, ...
3
votes
1answer
179 views
Cannot kill a java process
I have a java process that cannot be killed. I have tried every method I know, or that I have found on the internet to no avail. I have tried:
killall java
kill -9 <pid>
kill -11 <pid>
...
2
votes
2answers
99 views
Do I need to remove all “java|jre” packages from my system to be secure from java vulnerabilities?
Currently I have these installed on my Scientific Linux 6.3:
[root@localhost ~]# rpm -qa | egrep -i 'java|jre'
java-1.7.0-openjdk-1.7.0.9-2.3.7.1.el6_3.x86_64
...
0
votes
0answers
31 views
A simple script to make a desktop version of Nimbuzz WebChat? [closed]
There is a nice little script which uses python-webkit called "RGB/HEX Color Picker" here: http://gnome-look.org/content/show.php?action=content&content=128317
I tried if I can use it to make a ...
3
votes
2answers
3k views
Installing JDK 7 on debian
So I just rented a dedicated server running Debian, and I know nothing about Linux.
Anyway, I want to install the JDK 7, first I connected through SSH and granted myself administrator rights by ...
0
votes
0answers
34 views
Forking two interactive bash processes causes parent process to stop or second bash to go background
If you fork (exec) two interactive bash processes within same parent process (from different threads) causes that parent process becomes stopped or second interactive bash goes to background which ...
1
vote
3answers
229 views
Kill only one Java process
I usually run few Java applications, one for server running locally and other for some IDE like NetBeans. And from time to time, after lots of redeployments, my server get stuck on ...
1
vote
1answer
95 views
Point IP to an application instance
I was just wondering how I go about pointing a static IP address which I have purchased to an application instance on my server, using a different IP from the one I currently have pointing to my main ...
3
votes
2answers
1k views
Why isn't my environment variable visible from the command line?
I'm trying to run the James SMTP server on Lion (Mac OS X 10.7.2). When I do this:
sudo JAVA_HOME=/Library/Java/Home ./james-2.3.2/bin/run.sh
it works fine.
However, I'd like to make JAVA_HOME an ...
2
votes
1answer
142 views
IBM Java Runtime Environment on CentOS
I need to install IBM's JRE, but I can't seem to find an appropriate download or guide to installing it on CentOS. I've found various zips, but none of them include an RPM and I have no idea where to ...
1
vote
1answer
1k views
Missing 32 bit library on a 64 bit Linux install
I am trying to figure out why Eclipse is complaining about being unable to find a library. I've managed to reproduce/reduce the java problem to:
$ ldd ...
1
vote
3answers
3k views
Java update on Centos
I am pretty unfamiliar with Linux, and the more I use it the more I realize how unfamiliar I am.
I have a Centos 6.2 machine. It currently has JDK 1.6.0_26 installed. I would like to update that to ...
3
votes
1answer
76 views
update-alternatives just for one user
I'm using a shared server.
On that server different versions of Java are installed:
Selection Path Priority Status
...
6
votes
2answers
819 views
What is Debian's stance regarding GCJ and OpenJDK?
Both OpenJDK and GCJ are available for install on Debian, and now I wonder what's happening. Don't these provide same functionality?
4
votes
3answers
9k views
Problem to launch java at Debian: “error while loading shared libraries: libjli.so”
I'm trying to launch java:
$ java -version
java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
$ ldd ...
3
votes
2answers
249 views
What is meant by stack in connection to a process?
From the book Advanced programming in the Unix environment I read the following line regarding threads in Unix like systems
All the threads within a process share the same address space, file
...
5
votes
1answer
285 views
Installing OpenJDK on a Netbsd Sparc64 Server
I am currently working on a project that involves running the lift framework on a sun sparc64 architecture. Due to limited support from more popular unix distros, I am running NetBSD 64-bit on the ...
2
votes
0answers
144 views
Java uses max 8 cores on Debian, even though 16 are available [closed]
I have two servers at hand, both with 16 cores. The first is running Debian, the second running Ubuntu.
I have written a small multithreaded java app that creates 16 threads. On the Debian machine, ...
2
votes
1answer
140 views
Problem with java3d
I want to play this java simulation: http://www.compadre.org/OSP/items/detail.cfm?ID=9640 in java 3d mode on a linux (ubuntu) system. But it doesn't work.
If I switch to java 3d-mode it complains ...
5
votes
1answer
1k views
How do I update IcedTea?
I've only been using Linux for about a month. I'm running Mint 13. I'm trying to use www.goproblems.com but it tells me that my IcedTea is out of date. I hoped there was a package but I can't find ...
0
votes
0answers
168 views
Java SWT App: Need 64-bit swt.jar
I have a Java app that I want to run in Ubuntu, but I have Java 64 so I can't run it because it only has the 32-bit swt.jar. I can't build it myself, so Is there anyone that can provide the 64-bit ...
1
vote
0answers
70 views
Visually-transparent & Input-transparent Windows
I'm a Java programmer who's rather new to Linux. I'm on Suse / Gnome and I need to create a window which:
Is visually translucent/transparent. This is the usual alpha blending
that composes a ...
0
votes
0answers
37 views
How to execute a command as a service in Linux [duplicate]
Possible Duplicate:
how to make system service out of .jar file? (linux)
I am executing a command from Linux to establish a connection between Linux and a cloudbees machine. How could I run ...
2
votes
1answer
164 views
How to trace a java-program?
As a sysadmin I sometimes face situations, where a program behaves abnormally, while not creating errors at all or creating nonsense error-messages.
In the past - before java came in - there were two ...
3
votes
0answers
82 views
Implement Java/JavaFX on ARM
I am working on ARM Linux.
I have found this link that says that JavaFX could work on ARM.
I am confused about Embedded Java SE and JavaFx ARM. Do I need to setup a JVM for those or not?
I have ...
4
votes
1answer
6k views
How to completely remove Java 6 and install Java/JDK 7 on Linux Mint 13
How can I completely remove Java 6 and install Java/JDK 7 on Linux Mint 13?
4
votes
1answer
587 views
Use certain version of JRE / JDK for certain programs
I use ArchLinux, and an IDE called PyCharm. On its download page, it recommends using Java 6 instead of OpenJDK. ArchLinux has an OpenJDK package (jdk7-openjdk) that I have installed, installed, and ...
1
vote
1answer
146 views
How to start java application after machine reboot?
I'm wondering if there is easier way to start java application (just tomcat server) after machine has been rebooted?
Possible answers:
Add the application as a service and then add it using ...
0
votes
2answers
287 views
Java version for Tomcat
I want to run my Tomcat with Java 7 but all I found about configuring it doesn't work. The management interface of Tomcat shows 1.6.0_24-b24 as Java version. The JAVA_HOME variable is empty.
% echo ...
1
vote
1answer
338 views
Using NetBeans on ARM Linux?
Is it possible to run NetBeans on a ARM CPU with Linux as OS (maybe Debian) ?
I want to be clear I don't need to compile for ARM (I will use NetBeans only for PHP coding).
So the question is about ...
1
vote
1answer
133 views
CentOS5, RHEL5, Java dependent Packages, Alternate JVM/JDK
Specifically regarding Java dependent packages, such as ant. Is it possible to install them via rpm, when using an alternate JVM/JDK? For example, If I install the Oracle JDK, can I use an ant ...
1
vote
1answer
873 views
Installing jdk7 on Debian server via SSH
Currently, I'm trying to launch a java program on a server. The server is launched on my virtual machine (VirtualBox) and controlled over SSH. Its OS is Debian. So, in order to launch my program I ...
0
votes
1answer
829 views
Upgrade java on Linux Mint 11
I'm unable to use web-based java content due to my version being out of date.
%>java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Server ...
0
votes
1answer
220 views
How do I install drjava in linux from terminal?
I've downloaded drjava-stable-20100816-r5366.jar file which is the drjava version for Linux. How do I install it on my machine?
I'm running Ubuntu 11.10.
I have OpenJDK Java 6 runtime and Sun Java 6 ...
1
vote
1answer
276 views
How to force a particular version of Java?
I am on a RHEL 5.5 64 bit box. The systems engineer installed the 64-bit Java VM under /usr/bin ; however, I needed a 32 bit VM which he installed in /opt/jdk1.6.0_35. But now, everytime I do java ...
2
votes
1answer
1k views
How do I download and launch a JNLP file in CentOS?
I'm using Amazon's GPU cluster to experiment with some HPC java code on CentOS.
The Java application is in JNLP format and has a GUI.
I've followed Amazon's getting started video, but I'm not ...

