Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 2009 21:01:04 +0100
From:      =?ISO-8859-1?Q?S=E9bastien_Santoro?= <dereckson@espace-win.org>
To:        freebsd-ports@freebsd.org
Cc:        wenheping@gmail.com
Subject:   [www/red5] The server works fine with Java 1.6 but request 1.5 and  not 1.5+
Message-ID:  <5ea6cb100903111301s94ef9d5k739c00d62bdc7a25@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I've on FreeBSD 7.0 the following ports installed:
    * tomcat-5.5.27       Open-source Java web server by Apache, 5.5.x bran=
ch
    * diablo-jdk-1.6.0.07.02_3 Java Development Kit 1.6.0_07.02

When I ask a port install (picking Tomcat 5.5), it tries to install
diablo-caffe-freebsd6-amd64-1.5.0_07-b01.

You've specified in your Makefile JAVA_VERSION=3D   1.5

To use Java 1.6 JDK, I append eda +:
JAVA_VERSION=3D   1.5+

That installs fine.

Output:

/usr/ports/www/red5 ] make install
=3D=3D=3D>  Installing for red5-0.7.0_1
=3D=3D=3D>   red5-0.7.0_1 depends on file: /usr/local/diablo-jdk1.6.0/bin/j=
ava - found
=3D=3D=3D>   red5-0.7.0_1 depends on file: /usr/local/tomcat5.5 - found
=3D=3D=3D>   Generating temporary packing list
=3D=3D=3D>  Checking if www/red5 already installed
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Now start your Tomcat and browse with:
http://your-server-ip:8180/red5/
=3D=3D=3D>   Registering installation for red5-0.7.0_1

--=20
S=E9bastien Santoro aka Dereckson



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ea6cb100903111301s94ef9d5k739c00d62bdc7a25>