I think the -classpath in your command line overrides the environment
java -showversion -classpath /Java/demo/ Mailer
You can probably grab the environment classpath and put it in the
command with something like
java -showversion -classpath $CLASSPATH:/Java/demo/ Mailer
You'll have to try it.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.