03-09-2005
You need to set you enviroment to reflect these:
setenv CLASSPATH /home/share/postgresql/java
or
set CLASSPATH=/home/share/postgresql/java; export CLASSPATH
Ensure that you JAVA_HOME is also define so you could execute any java programs from anywhere.
You may want to add them to your .bashrc or you .cshrc or what ever shell you are using.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HI, I want to run my .java file on a SunOS 5.8 Unix machine. The java file is writen with Ready to Program (Similar to Jbuilder) on a PC.
Thanks!! (3 Replies)
Discussion started by: leotopia
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
How do I "run a script"?
I'm trying to start up some software called ElectroServer 3, and was told I just needed to "run the start script from the terminal to get things going".
From the terminal, i use cd command to change to the software's directory, and I guess the script in question is... (4 Replies)
Discussion started by: waking_bear
4 Replies
3. 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
4. UNIX for Dummies Questions & Answers
Hello everyone,
Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware.
I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies
5. Programming
Greeings all
Im trying to excute a command from Java and direct the output to the main output screen or to another file .... can you please help with this ? can I use filewriter for this ?
Here is my code....
import java.io.BufferedReader;
import java.io.File;
import java.io.FileWriter;... (3 Replies)
Discussion started by: yahyaaa
3 Replies
6. Solaris
I have installed IBM Java Runtime V1.4.2 in solaris. but when i give java -version, it gets me this:java version "1.5.0_20"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_20-b02)
Java HotSpot(TM) Client VM (build 1.5.0_20-b02, mixed mode, sharing)
can you please tell me how do i... (3 Replies)
Discussion started by: ichwaiznicht
3 Replies
7. SuSE
Hello All,
I'm using my Ubuntu 10.04 client connected via SSH to a SuSE Linux server (SuSE Linux Enterprise Server 11 (x86_64) version 11 patchlevel=1).
I'm trying to run an install of WebSphere Portal but can't seem to be able to run the GUI installer.
Running xclock as root returns this... (7 Replies)
Discussion started by: kartrait
7 Replies
8. Shell Programming and Scripting
Hi All,
I am trying to run a grep command which creates an output file.
Then I will run a java file which take that file and process that. My java file uses other java files and library jars.
I have tried below code but I am getting compilation error,it can not find other java files in same... (1 Reply)
Discussion started by: kmajumder
1 Replies
9. UNIX for Dummies Questions & Answers
Hi
Im using MobaXterm Unix on my windows XP.I want to compile java in unix.I have installed java to the following path C:\Program Files\Java\jdk1.7.0_09\bin
In order to compile the java prog im typing the following command after entering into the bin directory:
C:\Program... (2 Replies)
Discussion started by: ak3141
2 Replies
10. Shell Programming and Scripting
Hi,
Brand new to these forums, and I hope that someone can help me out.
I'm trying to run the following command in UNIX
java -jar GenomeAnalysisTK.jar -T SplitSamFile -dt NONE -R reference.fa -I my.bam --outputRoot /my/path/SampleFiles/Sample_
It executes the SplitSamFile from GATK, but I... (3 Replies)
Discussion started by: Wixaros
3 Replies