Trying to run Java programs I wrote, need help~
I wrote some very simple programs for image viewing with flickrj and other external libraries. But I don't know what would I do to make it run on other people's computers ( only with JRE installed, I can run it only because I have eclipse, can't even get it to work under windows command prompt). I have tried exe4j trial version, but it was really a mess. Please give me some advices~~~
Thank you very much~
[424 byte] By [
genexka] at [2007-10-2 3:02:13]

You are probably missing some libraries and or files that Eclipse supplies. Check the error messages, they will telly you what the problems are. Lollk only at the top (last) error and resolve that, then try again.
If you don't know how to run programs outside of Eclipse, follow the Sun Java Tutorial.
> Thx so much, i got it to work...is it possible for me
> to export it to a .jar file? and just double click it
> will run?
Yes. Consult the Java Tutorial on using jars, and especially learn about the attribute "Main-Class" in manifest files. I also suggest you read the jar documentation here:
http://java.sun.com/j2se/1.5.0/docs/guide/jar/index.html
> and how do you suppress all console output?
> TIA
Either don't create it, or redirect it. Some operating systems provide a null device that can be used as a destination that acts as a data sink that will "eat" the data.
See the setOut and setErr methods in java.lang.System class.