Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Command to run when files are in different package

 
Charles Chikito
Ranch Hand
Posts: 76
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there,

I can't figure out the commands to run the following files:

Goo.java


Sludge.java



Both my files are in C directory and I managed to compile them.

Goo.class is now in C:\book and Sludge.class is in C:\cert

How to run the Goo?

Source: K&B SCJP5 pg 28 - I changed the import statement to full path

Thanks

_charles
 
Ankur kothari
Ranch Hand
Posts: 531
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
c:\java book.Goo

will do it
 
Charles Chikito
Ranch Hand
Posts: 76
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It works.

Thanks a lot.

_charles
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic