I started with a fresh installation of F16 and then used the package manager to first install AXIS and then install ANT. Upon changing to the /bin directory of my application and running as requested of me:
> ant deploy
I then receive this message from ant:
The JAVA2_HOME environment variable needs to be set in order to use this ant script.
I have never had to set this variable before. Does anyone know how to do this with ant?
The entire console output I will past below:
Code:
[penguin@Penguin-PC bin]$ ls -la
total 13
drwx------. 1 penguin penguin 0 Dec 6 17:29 .
drwx------. 1 penguin penguin 4096 Mar 5 14:35 ..
-rw-------. 1 penguin penguin 4599 May 13 2011 build.xml
-rw-------. 1 penguin penguin 439 May 13 2011 NSClient.bat
[penguin@Penguin-PC bin]$ ant deploy
Buildfile: /media/My Passport/jobs.software/dps.suitetalk.reference/NSJavaClientERP2011-2/ERP/bin/build.xml
[taskdef] Could not load definitions from resource axis-tasks.properties. It could not be found.
init:
[echo] --------------------------------------------------------------
[echo] Project Root Directory is /media/My Passport/jobs.software/dps.suitetalk.reference/NSJavaClientERP2011-2/ERP
[echo]
[echo] JAVA_HOME is ${env.JAVA_HOME}
[echo] AXIS_HOME is ${env.AXIS_HOME}
[echo]
[echo] WSDL location is https://webservices.netsuite.com/wsdl/v2011_2_0/netsuite.wsdl
[echo] --------------------------------------------------------------
BUILD FAILED
/media/My Passport/jobs.software/dps.suitetalk.reference/NSJavaClientERP2011-2/ERP/bin/build.xml:40: The JAVA2_HOME environment variable needs to be set in order to use this ant script. Please see README for details.
Total time: 1 second
[penguin@Penguin-PC bin]$ ^C
[penguin@Penguin-PC bin]$
---------- Post added at 07:04 AM ---------- Previous post was at 05:41 AM ----------
I think JAVA_HOME is in usr/lib/ I'm going with that.