View Single Post
  #3   Spotlight this post!  
Unread 25-04-2006, 21:45
The Lucas's Avatar
The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: paper: FIRSTXMLdb beta

almost forgot, in order to use java from the command prompt (for .class files) you need to set the Path variable. Funny how you take these things for granted after a semester of Java.

OK here is how you set the Path variable in Windows.
1: Open My Computer
2: Open the folder "Crogram FilesJava"
3: Open your latest (highest version number) jre folder (mine is "jre1.5.0_04")
4: Open the bin folder
5: Highlight and copy (ctrl-c) the address of this folder (mine is "Crogram FilesJavajre1.5.0_04bin")
6: Open Control Panel (Start->Control Panel or Start->Settings->Control Panel)
7: Open the System icon (Performance and Maintenance->System if you are in category view)
8: Click on the Advanced Tab
9: Click on the Environment Variables Button
10: Under the "System Variables" double click on the "Path" Variable
11: Use the right arrow key to move to the end of the string in the "Variable Value:" field
12: Type a semicolon ';' then a space, then paste the bin folder address (For me it would be "; Crogram FilesJavajre1.5.0_04bin")
13: Click OK buttons till you get back to Control Panel (3 OKs).
14: Restart Command Prompt if you are currently running it
15: Now you can run java programs like this:
C:\FIRSTXMLdb Beta>java ScoutTeams 365 1495

And thats it, See you in Atlanta!
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"
Reply With Quote