January 12, 2025, 06:56:35 PM

1,531,385 Posts in 46,736 Topics by 1,523 Members
› View the most recent posts on the forum.


So, here is what I'm working on in programming

Started by Daddy, September 29, 2007, 03:28:29 PM

previous topic - next topic

0 Members and 1 Guest are viewing this topic.

Go Down

Daddy

September 29, 2007, 03:28:29 PM Last Edit: September 29, 2007, 04:04:21 PM by JMV290
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]

ncba93ivyase

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.

Quote from: ncba93ivyase on June 18, 2014, 07:58:34 PMthis isa great post i will use it in my sig

guff

September 29, 2007, 03:39:36 PM #2 Last Edit: September 29, 2007, 03:45:14 PM by Commodore Guff
ok now code an n-body gravity simulation

also you suck:
Code Select
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)

Daddy

Quote from: Commodore Guff on September 29, 2007, 03:39:36 PM
ok now code an n-body gravity simulation

also you suck:
Code Select
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

guff

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

Daddy

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"?

guff

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

Daddy

fix ur java guff it works for everyone else.

r u a jew that might explain it. i have antijew code in it.

CHAOS66


Go Up