I attached the Zip for you, please download it and tell me if it works
Instructions:Windows:
- Download
- Unzip
- Open the folder
- Double Click CoffeeCal.bat
- Enter numbers when it asks
OS X/Linux/BSD
- Download Zip and unzip
- Launch Terminal
- Enter the command "cd <enter the location where you saved the folder /CoffeeApp>"
- Enter the command "java -jar CoffeeShopApp.jarr"
- Enter the numbers when it asks
I still don't know how to make Unix Executables so you have to use terminal for it. Sorry.
[attachment deleted by admin]
Unix executables are run in Terminal. caterpie;
Also, it doesn't work because you put in the wrong name file in your post. navi;
But aside from that, yes.
ok now code an n-body gravity simulation
also you suck:
java.lang.NoClassDefFoundError: java/util/Scanner
at coffee.main (coffee.java:20)
at java.lang.reflect.Method.invoke0 (Method.java)
at java.lang.reflect.Method.invoke (Method.java:255)
at org.kaffe.jar.ExecJarName.main (ExecJarName.java:64)
at org.kaffe.jar.ExecJar.main (ExecJar.java:57)
Quote from: Commodore Guff on September 29, 2007, 03:39:36 PM
ok now code an n-body gravity simulation
also you suck:
java.lang.NoClassDefFoundError: java/util/Scanner
at coffee.main (coffee.java:20)
at java.lang.reflect.Method.invoke0 (Method.java)
at java.lang.reflect.Method.invoke (Method.java:255)
at org.kaffe.jar.ExecJarName.main (ExecJarName.java:64)
at org.kaffe.jar.ExecJar.main (ExecJar.java:57)
james-valentes-computer:~/Documents/Papers/CoffeeApp jamesvalente$ java -jar CoffeeShopApp.jar
How many bags will you be purchasing?: 3
Please enter the weight of the bags: 5
Subtotal: 120.00
+ 5 percent Sales Tax: 6.00
Total: 126.00
james-valentes-computer:~/Documents/Papers/CoffeeApp jamesvalente$
u suk
Quote from: JMV290 on September 29, 2007, 04:03:49 PM
james-valentes-computer:~/Documents/Papers/CoffeeApp jamesvalente$ java -jar CoffeeShopApp.jar
How many bags will you be purchasing?: 3
Please enter the weight of the bags: 5
Subtotal: 120.00
+ 5 percent Sales Tax: 6.00
Total: 126.00
james-valentes-computer:~/Documents/Papers/CoffeeApp jamesvalente$
u suk
i ran it exactly as specified yet it fails to work it is your job to fix it mr. programmer >=O
Quote from: Commodore Guff on September 29, 2007, 04:12:35 PM
i ran it exactly as specified yet it fails to work it is your job to fix it mr. programmer >=O
You're in the right directory and you entered "java -jar CoffeeShopApp.jar"?
Quote from: JMV290 on September 29, 2007, 05:53:09 PM
You're in the right directory and you entered "java -jar CoffeeShopApp.jar"?
Yes. It would have given me a different error if it wasn't able to find the file, or if I hadn't used the jar flag. =|
also pretty sure the problem is with my java installation given that art of illusion is exploding with a similar report too so yeah
fix ur java guff it works for everyone else.
r u a jew that might explain it. i have antijew code in it.
*wishes he could program*