Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Java Command Parameters?

Name: Anonymous 2007-05-25 3:48 ID:6WYRWH7v

Guys, this program has to execute process some command parameters, how do I do this? Grab everything args[] and then evaluate?

java RunJava --action grey --image image.jpg

java RunJava --image pedobear.jpg --action bloat --radius 5

java RunJava --image pope.jpg --action blur --tile-size 1 --x 300 --y 70 --width 20 --height 95

Name: Anonymous 2007-05-25 4:58 ID:6WYRWH7v

This is shitty. I sense exceptions. Lots of exceptions.

Name: Anonymous 2007-05-25 5:17 ID:ni3ybOwF

nurupo

Name: Anonymous 2007-05-25 5:37 ID:Iz2R4upr

>>1
I recommend to move from Java to something good.

Name: Anonymous 2007-05-25 8:46 ID:fkQZa3OR

>>4

I can't. It has to be in Java. Can anyone help me?

Name: Anonymous 2007-05-25 9:09 ID:Heaven

No. Do your own homework. This way you will realize how shitty Java is and you won't become a shitty DEVELOPER after you finish CS (Oops, too late...)

Name: Anonymous 2007-05-25 9:15 ID:Iz2R4upr

>>6-san is right, you need to suffer through Java to learn how wrong it is, so that you won't do that to you or maybe a subordinate or a student in the future.

Name: Anonymous 2007-05-25 11:18 ID:Heaven

getopt

Name: Anonymous 2007-05-25 13:05 ID:Iz2R4upr

>>8
Javur

Name: Anonymous 2007-05-25 14:04 ID:Heaven

Name: Anonymous 2007-05-25 14:35 ID:8MLaGcQR

pass all agrguments to imagemagick.  obfuscate as nessecary.

Name: Anonymous 2007-05-25 14:37 ID:8MLaGcQR

lol i typo'd

Name: Anonymous 2007-05-25 17:22 ID:nCZSzKIB

>>6
>>7

Guys: I'm not going to be a programmer! I'm in *Chemistry*, but we have to attend programming classes which are on Java, for god's sake!

Name: Anonymous 2007-05-25 17:26 ID:Heaven

>>13

That's not good enough. People like you ruin our lives.

Name: Anonymous 2007-05-25 18:58 ID:IKmam4xc

>>14

People like me made your anti-acne lotions.

Name: Anonymous 2007-05-25 19:00 ID:Heaven

>>15

Right, now you're all high and mighty. Except that you can't even figure out trivial Java shit.

Name: Anonymous 2007-05-25 19:57 ID:EtyAUlmJ

>>16

Iterating through an array and doing something with each thing in it isn't really that Java-specific, although OP would probably fail it in any language.

Name: Anonymous 2007-05-25 20:34 ID:tns7Ovfc

>Grab everything args[] and then evaluate?

Correct.

Name: Anonymous 2011-11-10 11:22

old thread is old

Name: Sgt.Kabu풩kimanᗅ嬴 2012-05-29 2:11

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List