Classpath fails in rhel 7 environment
<p>I have a huge problem with a bash script that compile java code, all the variables are defined correctly and when I try it in Ubuntu it goes fine with PATH and JAVA_HOME well defined...but when I run the SAME script in rhel 7 environment (same variables, same script, same code and java version) I get a lot of errors like </p>

<pre><code>error: package comun.util does not exist import
comun.util.GestorLogger;
</code></pre>

<p>But CLASSPATH its fine, I check it, even when I export it prior to the script</p>

<p>How can this be possible?, Same script, variables and java fails in rhel but goes fine in Ubuntu?</p>

<p>What am I missing? are there any other variables that I'm skipping?</p>