Forums | MacLife

You are not logged in.

#1 2008-06-04 4:36 pm

PHUSMC
One thumbed gimpy
From: Kent, WA
Registered: 2006-05-14
Posts: 796
Website

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: 4770

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

 

#3 2008-06-04 5:51 pm

PHUSMC
One thumbed gimpy
From: Kent, WA
Registered: 2006-05-14
Posts: 796
Website

Re: Java - Adding packages?

Thanks a bunch smile


MacBook Pro 15.4"
2.5GHz CPU, 250GB HDD, 512MB VRAM

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson