Campbell Ritchie wrote:I presume you use the script for a particular application? Don't you need to add :. to the end of the CLASSPATH?
Duplicating discussion in our Linux forum.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
What happens if you have any classes in whichever CLASSPATH begins in your current directory which need to be compiled as well? With an without the “:.”Krispin Kilmurray wrote:. . . As for the :. I don't know. . . .
Campbell Ritchie wrote:
What happens if you have any classes in whichever CLASSPATH begins in your current directory which need to be compiled as well? With an without the “:.”Krispin Kilmurray wrote:. . . As for the :. I don't know. . . .
#!/bin/bash
export CLASSPATH=/home/ec2-user/poi-3.14/poi-3.14-20160307.jar:\/home/ec2-user/poi-3.14/poi-scratchpad-3.14-20160307.jar:\/home/ec2-user/poi-3.14/poi-ooxml-schemas-3.14-20160307.jar:\/home/ec2-user/poi-3.14/poi-examples-3.14-20160307.jar:\/home/ec2-user/poi-3.14/poi-excelant-3.14-20160307.jar:\/home/ec2-user/poi-3.14/poi-ooxml-3.14-20160307.jar:\.
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |