[java ee programming] Re: using as define in Java

2009-10-15 Thread baka...@gmail.com
Hi, I am not sure but as far as I remember define option i C behaves like a text replace function so at the compilation time it replaces all defined items with it's value. I think in java there is not such a feature. But why don't you just play with the variable visibility. What if you made a pub

[java ee programming] Re: java

2009-10-16 Thread baka...@gmail.com
You could read this blog entry to find out how to set java_home variables. http://www.cyberciti.biz/faq/linux-unix-set-java_home-path-variable/ Regards, Tomas J. ANUJ KUMAR wrote: > I am getting this error what should i do? > [r...@localhost bin]# ./startup.sh > Neither the JAVA_HOME nor the JRE_