Missing Dokumentation: Installing SAP R/3 JavaGUI Client

Marc Fonvieille blackend at FreeBSD.org
Wed Jan 7 17:20:42 UTC 2004


On Wed, Jan 07, 2004 at 06:11:33PM +0100, Wolfgang Kess wrote:
> Hello Documentation Team,
> 
> FreeBSD Handbook Page
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sapr3.html
> there is no howto "Installing a SAP R/3 JavaGUI Client".
> 
> I made a short howto and it would be nice to add as 22.7.14.x
> 
>

It's a good idea.  Let's look at some part of the text below:

> 22.7.14 Installation SAP JavaGUI 6.30r2 for FreeBSD
> ---------------------------------------------------
> 
> 22.7.14.1 Installation steps
> 
> Go to ftp://ftp.sap.com/pub/sapgui/java/630r2 
> and get PlatinGUI-Linux-630r2.jar and PlatinManual-HTML-630r2.zip 
> 
> 1.) Install from FreeBSD /usr/ports/java/ 
> linux-blackdown-jdk1.3.1 
> 
> 
> 2.) move to (/usr/local/linux-blackdown-jdk1.3.1/bin 
> and install as root ./java -jar /~incoming/PlatinGUI-Linux-630.jar & 
> to /usr/local/bin/sapgui/ 
> 
> 
> 3.)Create a link in /usr/bin 
> lrwxr-xr-x 1 root wheel - 30 Oct 29 17:53 test@ -> /usr/compat/linux/usr/bin/test 
> 
> 4.) Edit guistart in /usr/local/bin/sapgui/6.30rev2/bin and add FreeBSD Java default version 
> 
> 
> 
> # platform dependent Java default version 
> case `uname` in 
> 
> # START PLATFORM SPECIFIC 
> Linux) 
> if /usr/bin/test -x "/opt/IBMJava2-131/jre/bin/java"; then 
> # standard location for IBM 1.3.1 VM 
> PLATIN_JAVA="/opt/IBMJava2-131/jre/bin/java" 
> PLATIN_JAVA_VER="1.3.1" 
> elif /usr/bin/test -x "/opt/IBMJava2-13/jre/bin/java"; then 
> # standard location for IBM 1.3 VM 
> PLATIN_JAVA="/opt/IBMJava2-13/jre/bin/java" 
> PLATIN_JAVA_VER="1.3.0" 
> elif /usr/bin/test -x "/usr/lib/jre1.3/jre/bin/java" ; then 
> # SuSE 7.3 installs its 1.3 VM here 
> PLATIN_JAVA="/usr/lib/jre1.3/jre/bin/java" 
> PLATIN_JAVA_VER="1.3.0" 
> 
> #--> Add this 
> elif /usr/compat/linux/usr/bin/test -x "/usr/local/linux-blackdown-jdk1.3.1/jre/bin/java" ; then 
> # FreeBSD 4.8 
> PLATIN_JAVA="/usr/local/linux-blackdown-jdk1.3.1/jre/bin/java" 
> PLATIN_JAVA_VER="1.3.1" 
> #<-- Add this 
> else 
> echo "Could not find Java VM at various standard locations." 
> echo "If you want to use a non standard VM please set" 
> echo "the environment variables PLATIN_JAVA and PLATIN_JAVA_VER." 
> echo "PLATIN_JAVA points to the VM executable e.g. /opt/IBMJava2-131/jre/bin/java" 
> echo "PLATIN_JAVA_VER is the version number of the VM e.g.1.3.1" 
> exit 1 
> fi
> 
>

Is it possible to change this part for something like:

Look for the following lines in the
/usr/local/bin/sapgui/6.30rev2/bin/guistart file:

# SuSE 7.3 installs its 1.3 VM here 
PLATIN_JAVA="/usr/lib/jre1.3/jre/bin/java" 
PLATIN_JAVA_VER="1.3.0"

then add this:

# FreeBSD 4.8
elif /usr/compat/linux/usr/bin/test -x "/usr/local/linux-blackdown-jdk1.3.1/jre/bin/java" ; then 
PLATIN_JAVA="/usr/local/linux-blackdown-jdk1.3.1/jre/bin/java" 
PLATIN_JAVA_VER="1.3.1"

Tell me what do you think about it?  (I do have the revelant file under
hand, so I dunno if it could work...)

Another question does it runs under FreeBSD 4.9 and 5.2-RC as well?

Marc



More information about the freebsd-doc mailing list