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.

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.