Saw an error while setting up an application called i2phex:
After seeing that I figured it was that I didn't have my classpath set up for java. I've set up classpath's before, but I don't know the directory to link it to. I know java is installed because this works:
But I checked and don't see a classpath for it:
I also checked "env" and there's no environment variable for it there. Searched for the needed directory in many places sites off Google suggested for a java classpath but I didn't have any of them. Many searches with "find / -name" and came up empty.
PS.- I'm using Backtrack 4 r2 if that helps. (This is Ubuntu Intrepid... old, I know)
Last edited by Israel213; 03-03-2011 at 06:26 AM..
I have a java classpath running inside of a unix shell script. During my testing it will error with lines that show an example like this below.
java.io.FileNotFoundException error
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:129),
... (2 Replies)
please send me format for wriiting classpath in shell script
this is my shell script
---------------
#! /bin/bash
javac File1.java
/usr/bin/java File1
--------------------------
the script works fine on termianal but in cron it gives me error saying class defination not found
... (1 Reply)
Hi,
I have a below command....
$JAVA_HOME/bin/java -cp "/usr/orabase/product/10.2.0/lib:/usr/java/javajar/common/sched.jar:/usr/orabase/product/10.2.0/jdbc/lib/ojdbc14_g.jar:/usr/orabase/product/10.2.0/jdbc/lib/classes12.jar" com.abrt.smart.Smart
I want to know where the Smart.class is... (1 Reply)
do
case $option in
d ) CHEC=true;;
# more option processing can go here
\? ) echo "Unknown option: -$OPTARG"
: ) echo "Missing option argument for -$OPTARG";;
* ) echo "Unimplimented option: -$OPTARG";;
esac
done
shift $(($OPTIND - 1)) (2 Replies)
I'm trying to set up a folder in my home directory that will be shared with another user but for some reason it is not working this is what I've done, I have tried two different ways using ACL's and chown/chgrp etc
I set up a group called say: sharedgroup and added both my user (john) and fred... (3 Replies)
Hello,
ABC question as I could not get a direct answer: How to locate the default IO class of JAVA? My question was triggered by the row in most java programimport java.io.* as I am very curious where the io class is located in my Mint14 (Ubuntu12.10). I am aware it is similar to use DBI in PERL,... (1 Reply)
Hi I have this command that when put on the command line it returns the output the way I want it.
/opt/quest/bin/vastool list -a groups | grep testdev_li | grep dev | awk -F"" 'NF>2{print $2}' | cut -c2- | tr '\n' '|'
The output of this is
... (2 Replies)
1. The problem statement, all variables and given/known data:
As a excercise I have to compile a program (Hello2.java) with a class file (HelloText.java) in another directory. (As you seen in the screenshot)
Iīm setting a PATH and a CLASSPATH (system variables). Itīs working without a... (2 Replies)
Discussion started by: MenschTown
2 Replies
LEARN ABOUT DEBIAN
ikvm
ikvm(1) General Commands Manual ikvm(1)NAME
ikvm - java virtual machine executable using the CLI runtime
SYNOPOSIS
ikvm [ options ] class [ args ... ]
ikvm [ options ] -jar jarfile [ args ... ]
DESCRIPTION
IKVM is an implentation of the Java for the Common Language Infrastructure (CLI) runtime. It includes a byte code JIT compiler/verifier to
translate Java byte code to CIL and GNU Classpath to provide the Java class libraries. ikvm program performs this translation and execu-
tion at run time, the ikvmc(1) program provides a static compilation to CIL.
This program is intended to act as a drop-in replacement for the java program that executes java bytecode (with or without a JIT) and as
such, takes a subset of that tool's options and arguments as given here.
ikvm operates in two modes, either on a fully-qualified Java classname or on a jar file with the -jar jarfile option given. Any remaining
arguments args ... are passed to the main class.
CLASS SEARCHING
Classes are searched for in the current directory if no -cp / -classpath option, no -jar option and no CLASSPATH environment variable is
set.
If only CLASSPATH is set and no ptions are given only that is used to find classes, the current directory is not used unless CLSSPATH con-
tains .
If -cp / -classpath is given, CLASSPATH is ignored.
If -jar is given, the jar file is put at the start of the classpath taken from either the -cp / -classpath option or from CLASSPATH.
See also the description for the -Xbootclasspath option below.
OPTIONS -cp path
-classpath path
Set the JVM classpath to search for application classes and resources. The path is a sequence of directories and zip/jar files sep-
arated by : (; on Windows). If this option is given more than once, only the last one applies.
-Dname=value
Set a system property name to value.
-ea[:packagename ... | :classname]
-enableassertions[:packagename ... | :classname]
Enable assertions.
-da[:packagename ... |:classname]
-disableassertions[:packagename ... | :classname]
Disable assertions.
-version
Display IKVM and runtime version
-Xbootclasspath:path
Set the boot JVM classpath for bootstrap classes and resources. The path is a sequence of directories and zip/jar files separated
by : (; on Windows). If this option is given more than once, only the last one applies.
-Xbreak
Trigger a user defined breakpoint at startup
-Xmethodtrace:string
Builds method trace into the specified output methods
-Xsave Save the generated assembly for debugging.
-Xtime Time the execution.
-Xtrace:name
Displays all tracepoints with the given name.
-Xwait Keep the process hanging around after exit.
-? -help
Display a summary of the usage.
SEE ALSO ikvmc(1), ikvmstub(1).
IKVM Project web site http://ikvm.net/ <http://ikvm.net/>
Man page by Dave Beckett, made available under the same terms as IKVM.
2005-06-19 ikvm(1)