Java file how to convert & compile it into a class file

hi, can i ask a question, i have a *.java file im working on, and i need to convert/compile it into a *.class file

ive done it before, with javac source endfile
but i've forgotten how
i know its a oneliner simple command, anyone knows?
build it?

yes
even, even
ive forgotten the exact command parameters
and im getting a lang/thread error message
but my JRE SDK (1.5) doesnt have a subdir called lang/thread, maybe i need to install the 1.1.2 JRE ?

or 1.1.8 ?
javac ?
that's it?
to build it yes

if you have a library proble, then i dont have much for you
Unable to initialize threads: cannot find class java/lang/Thread
sounds like im missing the complete JRE installation then?
hmm

i dont know how you would be missing that part
but it would be part of 1.5
I did a full install of 1.5
hmmmmm

let me check hold on
jre-1_5_0_07-windows-i586-p.exe
18mb's
not sure why its not there.. according to sun, its been there since jdk 1.0
doing a reinstall brb 30 sec
1.5 is J2SE, does that matter?

J2SE should include the full JRE as part of J2SE
ill be honest,i havent done threads in java :-P
are you doing import java.lang.thread or implements thread?
or you could just try java.lang.*

yes, it imports 4 components
5
import java.awt.event.*; import java.util.*; etc etc
but the libs are there as JAR files
so it should be ok

did a full new install , and javac.exe doesnt come with it
thanks for the help though

 PHP Web Hosting | PHP Hosting

*
To prove that you're not a bot, enter this code
Anti-Spam Image

Leave a Comment

You must be logged in to post a comment.


Blog Tags:

Similar posts: