0

I looked through several postings, but didn't see anything that related to this specifically. If there is a thread, would you please post a link?

I have written a java app. It has a basic gui that gathers user preferences, then downloads files from the web based on those preferences. It works just fine in eclipse. It works just fine when I export into a .jar file on the same machine it was developed on. However, when I try to load it on a different machine, it brings up the gui and gathers information, then just hangs. It's irritating because I cannot troubleshoot the problem.

I'm sure I'm not the first person to have this problem, so I equally sure there are tools out there to help me, but since I've taught myself up to this point, I've not come across any. Does anyone have any recommendations about what I might try, please?

Iakona
  • 157
  • 2
  • 12
  • 1
    Make sure that both machines are running the most recent update of the desired Java version. – Andy Senn Nov 12 '14 at 15:08
  • Ah, sorry. I meant to say I had updated java first. – Iakona Nov 12 '14 at 15:19
  • I've closed this as a duplicate, on the assumption that you thought remote debugging required different/specialised tools. It doesn't - you can connect to a remote app just as well as something on your dev box, if you supply the right system properties (as described in the linked question). – Andrzej Doyle Nov 12 '14 at 15:35
  • (Alternatively, if you did mean the question in the sense of "what sort of things might I want to look at to work out what's wrong", then this question would be too broad, and likely to solicit opinions and guesswork. So it'd be closed on those grounds too. If you find a **specific** anomaly with your debugging that you can't explain, then that would make a good question.) – Andrzej Doyle Nov 12 '14 at 15:36

1 Answers1

3

You can run your application on different machine in debug mode , and then you can use Remote Eclipse debugger, such as usual web application debugging.

Article about eclipse remote debugger is here

Maksym
  • 4,434
  • 4
  • 27
  • 46
  • The article gives me a start. The author breezes over several parts that I need more information on, but I didn't even realize this existed in Eclipse. Thank you for the response. – Iakona Nov 12 '14 at 17:19