08-08-2005
What env variables have you set ?
JAVA_HOME/bin directory should be in your path. JAVA_HOME is where you
have installed the java sdk.
Also, if you set the env variables, you need to open another command prompt window and then try your command, again.
vino
10 More Discussions You Might Find Interesting
1. Programming
I'm just getting started to lean C and I'm using Ubuntu today I found a tutorial at this site: http://einstein.drexel.edu/courses/CompPhys/General/C_basics/c_tutorial.html and I got an error after compiling the fist code:
#include < stdio.h>
void main()
{
printf("\nHello World\n");
} ... (9 Replies)
Discussion started by: arya6000
9 Replies
2. Shell Programming and Scripting
I'm currently working on my second ever ksh script!
So I apologize if this is a stupid question - I've searched the forum and on google and haven't seen anything :confused:
I'm running my script with an input at startup
that variable determines a couple of other values(int) that I store into... (1 Reply)
Discussion started by: Cailet
1 Replies
3. UNIX for Dummies Questions & Answers
I need Help folks;
I'm very new to Java & i was trying to compile some java files & i got a lot of errors (see below), could some one tell me what am i doing wrong?
These are the files i need to compile:
AddCommentActionLogging.java
EditPageActionLogging.java
When i run:... (4 Replies)
Discussion started by: Katkota
4 Replies
4. Shell Programming and Scripting
Hey guys! This is my first post, as im new here :S
I have a simple problem for a big program.
We have a .sh to install it, but when I run the .sh in terminal like i should, It says the class is not found. I believe it has to do with the syntax, as the person who made it is not a linux pro. I... (3 Replies)
Discussion started by: Drags111
3 Replies
5. Solaris
Hi,
I have a question about the Java that comes with the Solaris 9/10 OS.
All my boxes are servers, only ssh allowed, no x windows, hardened, firewaled, etc...
Their purpose is Oracle DB's and Sun One Dir servers. None of which use the OS version of Java as far as know.
Question IS, can... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
6. Programming
I am compling simple java program HelloWorld.java
although /usr/bin @ this path javac is present,
is there any command line wherein i can pass the this option as well
lik javac -opttion(javac path) filename.java
as i do not have permissions to set path.
Also wht does this error, means...... (0 Replies)
Discussion started by: niceboykunal123
0 Replies
7. Linux
hi, i have just written a simple hello world java program in my linux server, installed jdk ... and tried to compile and run it and it gave me some errors.
please details below:
# cat HelloWorld.java
import java.util.*;
import java.io.*;
public class HelloWorld
{
public static void... (4 Replies)
Discussion started by: k2k
4 Replies
8. UNIX for Dummies Questions & Answers
I am trying to learn how compile programs using this lesson.
UNIX Tutorial Seven
I am stuck at 7.4 Configuring and creating the Makefile. It stats that I need to configure the utility with my home directory. After doing the echo $HOME command I get /home/Bill_Gates. It then says to insert... (6 Replies)
Discussion started by: jae99
6 Replies
9. Shell Programming and Scripting
Hi all,
I have a Unix script that will compile all Java files in a sub folder as follows:
find . -name "*.java" -print -exec $JAVA_HOME/bin/javac -cp .:$CLASSPATH '{}' \;
I would like to enhance it to only compile those Java files who:
1.) Have no class file
2.) Have a class file... (1 Reply)
Discussion started by: Annorax
1 Replies
10. Shell Programming and Scripting
I'm trying to use a shell script to compile and execute a java file. The java classes are using sockets, so there is a client.java file and a server.java file, each with their own shell script. I also want to handle the command line arguments within the shell script, not the java classes. The... (1 Reply)
Discussion started by: britty4
1 Replies
LEARN ABOUT DEBIAN
wrapper
JavaServiceWrapper(1) General Commands Manual JavaServiceWrapper(1)
NAME
wrapper - Jar daemon wrapper
USAGE
wrapper <command> <configuration file> [configuration properties] [...]
wrapper <configuration file> [configuration properties] [...]
(<command> implicitly '-c')
wrapper <command>
(<configuration file> implicitly 'wrapper.conf')
wrapper
(<command> implicitly '-c' and <configuration file> 'wrapper.conf')
where <command> can be one of:
-c --console run as a Console application
-v --version print the wrapper's version information.
-? --help print this help message
-- <args> mark the end of Wrapper arguments. All arguments after the
'--' will be passed through unmodified to the java application.
<configuration file> is the wrapper.conf to use. Name must be absolute or relative
to the location of wrapper
[configuration properties] are configuration name-value pairs which override values
in wrapper.conf. For example:
wrapper.debug=true
Please note that any file references must be absolute or relative to the location
of the Wrapper executable.
JAVA WRAPPER SERVICE DESCRIPTION
The Java Service Wrapper makes very easy to install a Java Application as a
daemon process on Unix systems. The Wrapper monitors a JVM (Java Virtual
Machine) process and automatically restarts it if it that the JVM has crashed
or hung. This process takes just a few seconds once the Wrapper has decided
there is a problem. It also gives the ability to handle process priority.
AUTHOR
Java Service Wrapper Community Edition 32-bit 3.5.3 Copyright (C) 1999-2010 Tanuki Software, Ltd. All Rights Reserved. http://wrap-
per.tanukisoftware.com
This manual page was written by Remi Debay <debay.remi@gmail.com>.
10/08/2010 JavaServiceWrapper(1)