944,052 Members | Top Members by Rank

Ad:
Oct 29th, 2007
0

call the constructor of java class from script

Expand Post »
Hi,

Is it possible to call the constructur of a java class from a shell script?
I know you can call static methods, but can you also call the constructor?

Wim.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
thebladerunner is offline Offline
1 posts
since Oct 2007
Oct 29th, 2007
0

Re: call the constructor of java class from script

What do you mean call a java constructor from a shell script? The only Java method you can call from a shell script is either main or a static block (and if it is a static block in a class with no main it will exit with an error). What, exactly, do you want to do?
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Shell Scripting Forum Timeline: problem with variable expansion in shell script
Next Thread in Shell Scripting Forum Timeline: newbie question regarding checking date of file





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC