• Post Reply Bookmark Topic Watch Topic
  • New Topic

can anyone tell me how to compile java files in jsdk1.5  RSS feed

 
Anwar Hossain
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends,
can anyone tell me how to compile java files in jsdk1.5.

Thnx
Anwar
 
Joe Ess
Bartender
Posts: 9443
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The same as every other Sun JDK version: javac. Are you having a specific problem?
[ June 20, 2006: Message edited by: Joe Ess ]
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you should check out Getting Started from the official Java Tutorial. This provides step-by-step instructions that should answer your question. If you have trouble along the way, please come back with another question. Be sure to explain what you tried, what happened when you did it, and how it differed from what you expected. The more details you can provide, the better we will be able to help you.

Layne
 
Anwar Hossain
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've gone through already but i got invalid command every time i try to compile.

Anyway thnaks for help.

Regards
Anwar
 
Shaan Shar
Ranch Hand
Posts: 1249
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Anwar Hossain:
I've gone through already but i got invalid command every time i try to compile.

Anyway thnaks for help.

Regards
Anwar



May be your path is not set.. pls set the path for these binaries (e.g. javac,java,javap etc..)

or try to save the .java file in your $java_home\bin\ directory and then try javac and other commands...

hope this helps you..


 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Anwar Hossain:
I've gone through already but i got invalid command every time i try to compile.


The Getting Started tutorial (Layne already gave you this link above) explains what to do about that error. So, please look at the tutorial.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!