A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
IDEs, Version Control and other tools
How to debug a jar that runs called by a shell (.sh) opened by SSH?
Joined: Apr 12, 2005
Sep 23, 2010 13:04:53
My application is packet in a jar (with a main method) that runs called by a shell file (.sh). I access the server folder through SSH.
I'd like to know if there's a way to debug my application in Eclipse.
I put the following options in the sh file
Also changed Eclipse, creating Remote Java Application entrance in Debug Configurations but it didn't work... does anyone know what to do?
SCEA 5 (part 1), SCBCD, SCWCD, SCJP, CLP, CLS
Joined: Jun 25, 2001
Sep 24, 2010 06:00:53
You have to tell the JVM remote debugger what machine the JVM being debugged is on. Looks like you didn't do that.
You may also need a hole punched in the remote machine's firewall(s) in order to access that port. Or an ssh tunnel if that's not possible (and it probably shouldn't be, for security reasons!).
Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: How to debug a jar that runs called by a shell (.sh) opened by SSH?
Ant and SSH
Method succeeds when running from Eclipse, fails when run from Jar file
how to clear applet screen
JAVA API ( JPS ) For Printing out in JAVA
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013