the problem was in ant version.
install ant by
pkg_add -v -r http://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.3-release/java/apache-ant-1.7.1.tbz
It works. Thanks ljboiler.
I tried fixing it by installing maven separately.
# pkg_add -v -r maven2
The package got installed without any errors.
But still I can't compile JBOSS. (Gives the same error)
Do i need to set some system variables?
Hi,
I was trying to install jboss5 using ports.
I updated my ports and made a bulid.
This is the output:
pc-bsd# make install clean
===> Building for jboss-5.1.0.GA_1,1
Buildfile: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/build.xml
maven-init:
[echo] Maven Home set to...
Yes, javavmwrapper is already installed. Are you using FreeBSD 8.1? 'Cos a friend of mine has reported that same procedure works on FreeBSD 8.0
Well, I'm going to test it myself on 8.0.
Thanks.
I was troubleshooting this. I'm quite near to a solution.
I add these lines in /etc/rc.conf: linux_enable="YES"
then added two environment variables: setenv JAVA_HOME "/usr/local/linux-sun-jdk1.6.0/"
setenv LD_LIBRARY_PATH /usr/local/linux-sun-jdk1.6.0/jre/lib/i386/jli
Now there are two...
Hi,
I have successfully installed sun-jdk-1.6 under FreeBSD 8.1, but when i run$java -versioni get this error:$ java -version ELF binary type "0" not known.
/usr/local/linux-sun-jdk1.6.0/bin/java: 1: Syntax error: "(" unexpected
I installed sun-jdk by ports:
1. # cd linux_base-fc4/
# make...
For newbies like me.... this is what I did to have Gnome running on freebsd installed in vmware-player 3.1.3
0. While installing FreeBSD-8.1, make sure that:
a. You have enabled your mouse configuration
b. You have selected the gnome packages that you require
c. you have created one user...
i'm using vmware-player 3.1.3
FreeBSD 8.1
this is what i did:
1. installed FreeBSD minimal.
while selecting packages, i choosed everything under gnome and installed.
2. pkg_add -v -r compat6x-i386 (required for vmware tools)
3. ./vmware-install.pl (installed vmware tools)
4. in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.