04-24-2002
you can run the java file using -
java -classpath path_to_class_file your_class_file_name
Remember, you have to use the full path name for 'java'. Dont forget to include all the class files in -'classpath' option.
Crontab entry -
5,10,15,20,25,30,35,40,45,50,55 * * * * your_script
Hope this is useful.
8 More Discussions You Might Find Interesting
1. HP-UX
I receive an error while installing Oracle 9i:
Error in invoking target install of makefile
/opt/oracle/product/9.2.0/sqlplus/lib/ins_sqlplus.mk
Furthermore:
$ whoami
oracle
$ echo $ORACLE_HOME
/opt/oracle/product/9.2.0
$ pwd
/opt/oracle/product/9.2.0/sqlplus/lib
$ ll
total... (5 Replies)
Discussion started by: chris2005
5 Replies
2. Linux
If may install can Tells everybody ??? (0 Replies)
Discussion started by: kzBSD
0 Replies
3. Solaris
I am trying to build a Sun Ultra 10 with solaris 10. This computer is one of a collection that was donated to the non-profic company I work for. All media was wiped before I recieved them, so I am starting from stratch.
I downloaded the Solaris 10 ISO and burned a DVD. The computer came with a... (4 Replies)
Discussion started by: gwillhight
4 Replies
4. Red Hat
Hello,
What is the simplest way to install CentOS 6.1 with console base-system only using official LiveDVD image on VirtualBox machine? I'd like to get simplest console with network support like FreeBSD base installation. Then, install services which I need.
The installer jest extracts the... (2 Replies)
Discussion started by: newbie_develope
2 Replies
5. Red Hat
Hi guys
I would like to install Red Hat Linux 4.2 on my old box (pIII). However there is a problem: i can't find the .iso image anywhere in the Net, all the material that i've found is (i think) an install tree of the OS.
It will be possible for me to install the OS from that install tree?
... (3 Replies)
Discussion started by: mk2soldier
3 Replies
6. Fedora
hi dear
i want to know what is different between make check install and make all install?
thanks in advane
fereshte (3 Replies)
Discussion started by: komijani
3 Replies
7. AIX
Hello,
I would like to ask if someone knows if is possible to install sofware via smitty or installp in another directorie , or we have to accept the default location?
i would like to intall in /opt folder , but smitty installed it in /usr
Thanks in advance (4 Replies)
Discussion started by: prpkrk
4 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I have a situation with crontab command on AIX , when i run a script with crontab i receive empty output , when i run it manually i have information in it,beside the empty output ,SAS log is empty too, i don't know why isn't creating it , could someone told me how could verify crontab... (3 Replies)
Discussion started by: rimob
3 Replies
apt(1) General Commands Manual apt(1)
NAME
apt - annotation processing tool
SYNOPSIS
apt [ -classpath classpath ] [ -sourcepath sourcepath ] [ -d directory ] [ -s directory ] [ -factorypath path ] [ -factory class ] [ -print
] [ -nocompile ] [ -A [ key [ =val ] ] ] [ javac option ] sourcefiles [ @files ]
DESCRIPTION
The tool apt, annotation processing tool, includes a set of new reflective APIs and supporting infrastructure to process program annota-
tions. The apt reflective APIs provide a build-time, source-based, read-only view of program structure. These reflective APIs are designed
to cleanly model the JavaTM programming language's type system after the addition of generics. First, apt runs annotation processors that
can produce new source code and other files. Next, apt can cause compilation of both original and generated source files, easing develop-
ment. The reflective APIs and other APIs used to interact with the tool are subpackages of com.sun.mirror.
A fuller discussion of how the tool operates as well as instructions for developing with apt are in Getting Started with apt at
http://java.sun.com/j2se/1.5.0/docs/guide/apt/GettingStarted.html.
PARAMETERS
Options may be in any order. For a discussion of parameters which apply to a specific option, see OPTIONS below.
sourcefiles Zero or more source files to be processed.
@files One or more files that list source files or other options.
OPTIONS
apt specific options
-s dir Specify the directory root under which processor-generated source files will be placed; files are placed in subdirectories
based on package namespace.
-nocompile Do not compile sources files to class files.
-print Print out textual representation of specified types; perform no annotation processing or compilation.
-A[key[=val]] Options to pass to annotation processors -- these are not interpreted by apt directly, but are made available for use by
individual processors
-factorypath path
Specify where to find annotation processor factories; if this option is used, the classpath is not searched for factories.
-factory classname
Name of annotation processor factory to use; bypasses default discovery process
Options shared with javac
-d dir Specify where to place processor and javac generated class files
-cp path or
-classpath path
Specify where to find user class files and annotation processor factories. If -factorypath is given, the classpath is not
searched for factories.
Consult the javac(1) man page for information on javac options.
NOTES
The apt tool and its associated APIs may be changed or superseded in future j2se releases.
SEE ALSO
javac(1) java(1)
13 June 2004 apt(1)