Forums | MacLife
Wide is the new black
You are not logged in.
#1 2008-06-04 4:36 pm
Java - Adding packages?
Hello all. I can't figure out why this isn't working...
I decided to look back at my Java I class from a while back and see if I could still make this fun little "Breakout" applet we created. The thing is, it requires you to have a package called "ACM" which is a graphics package. So, where do I put this .jar file? I don't remember where to put it.
MacBook Pro 15.4"
2.5GHz CPU, 250GB HDD, 512MB VRAM
Offline
#2 2008-06-04 5:02 pm
- Booksley
- Planely insane!
- From: Toronto, Ontario
- Registered: 2001-02-16
- Posts: 4716
Re: Java - Adding packages?
PHUSMC wrote:
Hello all. I can't figure out why this isn't working...
I decided to look back at my Java I class from a while back and see if I could still make this fun little "Breakout" applet we created. The thing is, it requires you to have a package called "ACM" which is a graphics package. So, where do I put this .jar file? I don't remember where to put it.
I'm not sure how your app works, but typically you can just do something like:
Code:
java -cp .:ACM.jar Breakout
Offline

