This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Being to organized Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Being to organized" Watch "Being to organized" New topic
Author

Being to organized

Dustin Eldridge
Greenhorn

Joined: Feb 04, 2008
Posts: 20
I wanted to keep all my learning files on a USB drive and then just transport them between my Mac at home and my work PC at the office. But I am having trouble compiling on the Mac "I have not even tried from the PC yet" is this because the files are on the USB drive and the javac file is on my HD.

Thanks
Dustin
Dustin Eldridge
Greenhorn

Joined: Feb 04, 2008
Posts: 20
I made a new folder on my HD and that seemed to work but is it possible to put all the lesson files on the USB like that. Maybe I need to put the javac on the usb also. Next why doesnt this work.

public class MyFirstApp {

public static void main (String [] args) {
System.out.println ("I Rule!");
System.out.println ("The World");
}
}
Dustin Eldridge
Greenhorn

Joined: Feb 04, 2008
Posts: 20
Ok forget it again I get frustrated and type in a question but I was typing

java MyFirstApp.class

but when I typed: java MyFirstApp

it worked great.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32651
    
    4
Welcome to the Ranch.

Everybody makes that mistake from time to time.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: Being to organized
 
Similar Threads
usb drive
identify usb port
USB shock hazard!?
external USB drive borked up
Mounting and Dismounting (USB Drive) Volumes