| | |
call the constructor of java class from script
Please support our Shell Scripting advertiser: Programming Forums - DaniWeb Sister Site
![]() |
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?
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
![]() |
Similar Threads
- Copy constructor in derived class (C)
- Inheritance Class ...... help needed asap (C++)
- Need help understanding how to use Java for a class. (Java)
- how do i call an .exe file from perl script (Perl)
- Urgent Help Needed!!!! Plzzz (Java)
- Basic help with Java class (Java)
- Confused writing a Java Class (Java)
- Syntax Analyser and General Java Help (Java)
- JAVA: Need help w/constructors object oriented programming (Java)
Other Threads in the Shell Scripting Forum
- Previous Thread: problem with variable expansion in shell script
- Next Thread: newbie question regarding checking date of file
Views: 1741 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for Shell Scripting






