In my java aplication, hosted on jboss, there is a this situation:
# jre is installed
# but I dont get any thing if a execute "which java"
# executing "java -version" also does not work.
So commands like java -cp [XYZ] give error like java: command not found
This is just a path problem, need to find the actual install directory for java, and either add that to your path or create symlinks to someplace like /usr/bin.
First off start looking in like /usr/java/jdk.version/bin/
The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.
-Xmx and -Xms are the two JVM options often used to tune JVM heap size.
Here are some common mistakes made when using them:
Assume BigApp is a java class file for the below examples.
1. Missing m, M, g or G at the end …
Configure Web Service (server application)
I. Configure security for Web Services methods First, we need to protect Session bean which implements the service:
1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…