Hi,
I'm new to Java and I have a question.
Is there any possible way a simple script like the below would work in a UNIX function called from a shell script. I know you're not supposed to do this but can you?
Thanks in advance,
...
javatst() {
$JAVA_HOME/bin/java <<- _java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World");
}
}
_java
}
javatst
...