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..
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)
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)
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)
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)
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)
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)
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)
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)