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

learn more… | top users | synonyms

3
votes
2answers
327 views

Capturing new output after deleting the output file

I'm runnig a java server on Debian with this command: java -jar myapp.jar [args] >> log.txt Once I gzipped the log file to send it and then I realized the original file was gone, leaving me ...
2
votes
1answer
136 views

How to uninstall java from sco openserver 5.0.6?

I have installed Java (J2SE 1.3.1_21) by following this tutorial: http://www.anyang-window.com.cn/in-the-sco-openserver-506-installed-on-j2se-13106-development-environment/ Now, I want to uninstall ...
3
votes
2answers
471 views

Java process, swap (/proc Solaris10) memory highly utilized

How can I analyze high swap memory utilization of Solaris 10 for Java processes?
3
votes
3answers
549 views

Monitoring progress/liveness of background jobs

I have started a background job. Is there a way to know how it is progressing, and whether it has stopped? My command line is like: java weka.classifiers.trees.J48 -t data.arff J48-data.model ...
3
votes
2answers
2k 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
0answers
147 views

Any way for Unix to ignore lpoptions and let Java do it's job?

I'm using the javax.print API to print a Jasper Report on Debian Linux. For some reason the saved lpoptions (CUPS settings) always override settings chosen on the Java Print dialog. At this point the ...
1
vote
2answers
289 views

How to log the output of a daemon application?

I have a Java program running as a daemon (thanks to YAJSW, a wrapper for java). The thing is that this java application writes several lines of console text, (simply imagine a Hello World App). If I ...
5
votes
2answers
4k views

Looking for a Java class in a set of JARs with find, unzip, grep

I was trying to find the JAR containing a Java Class. JARs are in zip format. My first attempt was: $ find -name "*3.0.6.RELEASE.jar" | xargs -l1 unzip -l \ | grep stereotype.Controller ...
0
votes
1answer
374 views

Enter process running in background/bring to foreground [duplicate]

Possible Duplicate: How can I disown it a running process and associate it to a new screen shell? I started a java client using nohup to get it to run in the background (needed to log out ...
1
vote
0answers
173 views

Rogue Java process brings my computer to a halt

In reference to my earlier post: Is there a log of past threads that are now closed? I gave the process a kill -STOP signal and started examining the details. I can't seem to figure out why it is ...
2
votes
1answer
767 views

Netbeans has no display on my computer

I installed netbeans using zypper install netbeans. Trying to run it, I get the "loading" splash screen which is proceeded by a small popup which asks me if I want to register my copy and receive some ...
1
vote
2answers
196 views

How to zoom into a Java app under KDE4?

I have 200 dpi monitor and this Java is just inscrutinable app small. The desktop zoom effect is cool -- but it doesn't seem permanent? I would like to, basically, change every pixel into 2x2 pixels ...
0
votes
1answer
508 views

Where can I find Aptana error logs?

Where are Aptana error logs stored in fedora?I want them to see why Aptana crashes. Edit: According to Mat's answer I checked the .log file in .metadata directory but this is what Is added to file ...
1
vote
2answers
44k 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
2answers
656 views

How do I install multiple java command-line programs?

I have a bunch of java command-line programs I've written and would like to install for all users. Building with NetBeans, I get a /dist directory which contains myprog1.jar and a /libs directory ...
1
vote
3answers
225 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 ...
0
votes
3answers
911 views

How to set up the DOMAIN_HOME environment variable in SUSE Linux

I am running Java NetBeans 6.9 jdk 6 on SUSE Linux (a newbie on linux) and I currently need to get the path of the weblogic domain of my Java application. I have read that I can directly access the ...
6
votes
2answers
2k views

How do I change file associations from the command line?

The system in question is Solaris, using the Gnome type interface (Java Desktop Environment). We have occasional issues with users managing to mess up their file assocations (most notably .tif). ...
3
votes
4answers
721 views

How to run java process to be seen not as 'java…' in processes list?

Is it possible to run a Java process in Linux in a way that it could be seen in ps as some sort of alias? It would be easier to restart it when it is down.
2
votes
1answer
1k views

Is there a tomcat 64 bit version

Is there a tomcat 64 bit version for Linux, I am using Red Hat Linux?.
4
votes
4answers
19k 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 ...
1
vote
1answer
705 views

Debugging Java program for changing timezone configuration file on Ubuntu

Here is a ruby script I wrote to change the timezone configuration on Ubuntu. I run it with jruby (a Ruby interpreter running in a JVM). require 'java' if ARGV.length == 0 puts "Usage: jruby ...
2
votes
1answer
413 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 ...
1
vote
1answer
846 views

Installing Rubymine without sun-java6-jre

I'm using Ubuntu 10.04 and am looking to install Rubymine. It seems every tutorial recommends installing sun-java6-jre before downloading rubymine but aptitude and apt-get are returning nothing, ...
3
votes
1answer
3k views

Run java classfile from terminal

I have a compiled java file somefile.class, and when i cd into the right folder and do: java somefile it works but when i call it from another folder: java folder/somefile it doesn't work, it gives me ...
4
votes
2answers
942 views

Mathematica makes no sound under Ubuntu 11.04

After waiting for days for my license I now got the opportunity to install Wolfram Mathematica 8 at home. However, neither the Play nor the Speak functions are doing anything as it seems that ...
2
votes
1answer
3k views

How to run a .jar file? No main class found

How do I run a jar file? I tried this : java iCChecker.jar but I got next trace : Exception in thread "main" java.lang.NoClassDefFoundError: iCChecker/jar Caused by: ...
2
votes
2answers
2k views

Live Linux CD/DVD with Bittorrent client, Java, Flash, VLC?

I'm looking for a live CD distribution that offers me fully featured environment for using Internet and OpenOffice (or some other office app compatible with M$ Word). I thought about installing a ...
0
votes
1answer
397 views

How to execute Zeo Decoder Viewer on Linux?

I'm trying to execute Zeo Decoder Viewer (a Java application) on Linux, and I'm not sure how I'm supposed to do this. I've put the program and required libraries (all in jar files) in /opt/zeo/ ...
1
vote
1answer
312 views

Issues compiling Tanuki Java Service wrapper version 3.1.2 under armv5tel architecture

Basically I need this specific version of the Tanuki Java Service Wrapper to run a specific Java application. I downloaded the source from the Tanuki website and I'm trying to compile it from source. ...
3
votes
0answers
303 views

VMO Changes After Adding New RAM To AIX?

We have a server at a client site running AIX 5.3, which we just up the RAM to 32GB, from initially 16GB (if I'm not mistaken). This server is our Application server running J2EE applications on top ...
5
votes
1answer
453 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 ...
0
votes
1answer
760 views

RHEL/CentOS: Installing a new version of Java, why not just change the path?

I am installing a new version of Java on a CentOS/RHEL Linux distro for a single developer to develop java. The way I want to install on this development system is to just put the new java version ...
1
vote
2answers
683 views

Problem installing JDT in Eclipse on linux

I installed Eclipse on Fedora Core 14 using yum install eclipse-platform. I ran eclipse and tried to install the java development tools, but then this error came up: Cannot complete the install ...
1
vote
2answers
930 views

Several versions of JAVA on one PC

I want to use jre-1_5_0_21 on my Fedora 14 box. Here's whats installed on my PC: $ update-alternatives --config java There are 2 programs which provide 'java'. Selection Command ...
2
votes
1answer
2k views

Weblogic administration console way too slow

I've installed weblogic 10.3.3, configured simple domain with default configuration. And after starting weblogic I cannot use it via admin console because it is starting too slow (~10 mins). It seems ...
4
votes
3answers
5k views

What to do to run GUI Java app in chrooted environment?

In my case Java app is JDownloader. I prepared chroot environment as explained here: http://www.0x61.com/forum/post5240333.html#p5240333 and here: http://interreality.org/~reed/java-chroot.html ...
2
votes
2answers
1k views

how to make system service out of .jar file? (linux)

i wrote a little java server which i'm running on my CentOS 5 VPS server. currently i just ssh onto the server and start the jar through commandline. How an i turn this jar into a system service and ...
2
votes
1answer
3k views

How to install java on CentOS VPS through ssh

I wrote a little Java servlet and, in order to run it, acquired a VPS which runs Centos 5. Now, in order to run it, I guess the first thing to do is to install the latest JRE. I have ssh access and ...
0
votes
3answers
3k views

Why $JAVA_HOME does not persist on a mac?

On my mac os 10.6.6 I'm trying to persist env variable $JAVA_HOME but it doesn't stick! $ export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Once I restart it won't ...
0
votes
2answers
1k views

installed java, but java -version not showing new java

I just installed jdk1.6.0. I have tried multiple ways to set the path variable and make java 1.6 my new running version. And nothing is working. Running centos5 virtual machine. alternatives --config ...
3
votes
2answers
1k views

How to fix icedteanp plugin error?

I'm using openSUSE 11.3 with "latest updates". I have installed vimprobable and uzbl. Whenever I start one of those two browsers, I get the error message: icedteanp plugin error: Failed to run ...
5
votes
1answer
332 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 ...
6
votes
2answers
1k 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?
1
vote
2answers
9k views

Installing Java into Ubuntu 10.04 Firefox/Chrome

I'm having a really hard time getting the Java browser plugin to install in Ubuntu 10.04. I've tried searching all over the place, but everyone seems to recommend installing the packages that no ...
5
votes
1answer
2k views

How can i know which unistd.h file is loaded?

I have several unistd.h files in my Ubuntu Linux. I've one on: /usr/include/asm/unistd.h This file has this directives: # ifdef __i386__ # include "unistd_32.h" # else # include "unistd_64.h" # ...
5
votes
2answers
752 views

Invoke Syscalls from Java

Is there a way to invoke syscalls directly from Java, or is it necessary to first call a native method?