Skip to main content

Thread: Java and Javac? help


ok have assignment have class. have compile , execute , supposed print stuff out before continue development.

our prof , students (sep me) using windows of kind...ewww jk. im of course using ubuntu 9.04 64bit. , far havent had problems. till now!

compile our professor wants use cmd
code:
javac -cp twitter4j.jar;. assignment5.java
this doesnt work tired this
code:
javac -cp twitter4j.jar assignment5.java
only diff lack of ;. , works , creates .class file!!!

gives cmd run it...
code:
java -cp twitter4j.jar;. assignment5
this doesnt work... have tried replacing -cp -classpath , same resualts. have tried many different things im not goin bother listing them if 1 can me determine right cmds run appreciate this!

here answer figured out of prof!
code:
java -cp twitter4j.jar:. assignment5
use : instead of ;


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Java and Javac? help


Ubuntu

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support