• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear friends,
can anyone tell me how to compile java files in jsdk1.5.

Thnx
Anwar
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1252
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..


 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic