9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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. Shell Programming and Scripting
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
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.FileWriter;... (3 Replies)
Discussion started by: yahyaaa
4. UNIX for Advanced & Expert Users
how to run shell script in java?
i have script a.sh which takes 1 argument as input and returns exit code integer.
how to handle it in java.
should i have to invoke process to execute it and then wait til it completes ?
please explain with code
thanks (1 Reply)
Discussion started by: crackthehit007
I have installed Solaris 10 on a VMware. How to compile a java program as there is no javac in 'bin' directory. Thanks in advance for answers and sorry if the question is soo basic. (3 Replies)
Discussion started by: mayahari
6. Shell Programming and Scripting
Hello all sorry didnt know where to post it
i compiled simple program that using "System.getProperty("user.dir");"
now i compiled the program under directory foo and and its running great when i do "java myapp"
i included this directory in the $PATH env variable so i could see it fro any where... (1 Reply)
Discussion started by: umen
7. UNIX for Dummies Questions & Answers
I need to run .java from a directory.
first I compile all the java using javac *.java under the c:\aaa\bbb directory, now I want to run this command under cd .. ,
Here is the command that I need to type..
java -classpath... (5 Replies)
Discussion started by: uci
8. 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
9. UNIX for Dummies Questions & Answers
I have written a java file which runs fine when I compile and run it from the command prompt manually.
i.e, >javac z.java
I have put these two lines in a executable file. But when I run the executable file, it throws an error 'Thread Exception'. Any thoughts?
#executable file... (1 Reply)
Discussion started by: inpavan