This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

simple general

 
akash shrimali
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can we compile a javacode which contains package use ??? is there a single way or more than that ???

javac -d . classname.java




ANSWER MUST BE CONTAIN METHOD OF COMPILATION WHICH IS NOT PHYSICAL !!
 
Raymond Tong
Ranch Hand
Posts: 255
2
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Managing Source and Class Files
You should place your pack.java in subfolder named abc
and run the following commands

 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15441
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please UseAMeaningfulSubjectLine - "simple general" doesn't say anything about what your question is about.
 
Jan Hoppmann
Ranch Hand
Posts: 147
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
akash shrimali wrote:
ANSWER MUST BE CONTAIN METHOD OF COMPILATION WHICH IS NOT PHYSICAL !!


And please KeepItDown.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic