🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.linux
Article #4918

Help please!

#4918
From: John Hinsley
Date: Sat, 27 Nov 1999 00:00
104 lines
3579 bytes
I really can't get the hang of installing Java/running Java on Linux.

I'm trying to run anyj on SuSE 6.1 (OK, so they've tested it on 6.2, but
there
really isn't that much difference).

I've installed the anj stuff, the IBM  jdk118 and jre118 to one
directory:
/opt/anyj  so it looks like this:

molehole:/opt/anyj # ls
.                           ibm_java_installation.html
..                          ibm_jre-info.html
anyj_index.html             jdk118
anyj_linuxdownload.html     jre118
bin                         lib
hwrequirements.html         src
ibm-jdk-l118-linux-x86.tgz  templates
ibm-jre-l118-linux-x86.tgz

I've edited the anyibm.sh (I'm not sure I've done that right) -- it now
reads:

#!/bin/sh

# ! This is for Linux IBM-VM118
# PUT a IBM JRE118 here  (www.ibm.com/linux) 
ANYJRT=/opt/anyj/jre118

# Special script to run AnyJ using the IBMjre118alpha
# ! WARNING
# AnyJ has to be run in a jre, else the javac compiler of
# your target JDK get's confused


# To Adress Color Problems, AnyJ has some built in fixed color settings:
# -colorGray
# -colorYellow
# -colorBlue
# -colorGreen
# -colorYellow
# -colorSurprise
# in general the JDK has the limitation, that the machine running the
X-Server has to have the same Color Depth
# as the machine running the X-Client.

# other commandline options see HelpAgent, search for commandline

ANYJBIN=.
ANYJBASE=..



# we need this to execute the correct javac later on
OLDJH=$JAVA_HOME
export OLDJH
OLDLD=$LD_LIBRARY_PATH
export OLDLD

# Start AnyJ
$ANYJRT/bin/jre -mine4000000 -minf0.35 -ms14m -mx32m -classpath
anyj.jar:$ANYJBASE/lib/aelfred.jar:$ANYJBASE/lib/jsdk.jar:$ANYJBASE/lib/runtime.jar:$ANYJBASE/lib/swingall.jar:$ANYJRT/lib/rt.jar:$ANYJRT/lib/i18n.jar
editapp.EditApp $1 $2 $3 $4 $5 $6 $7 $8 $9 1>/dev/null 2>/dev/null

# uncomment this to get debugoutput
#$ANYJRT/bin/jre -mine4000000 -minf0.35 -ms14m -mx32m -classpath
anyj.jar:$ANYJBASE/lib/aelfred.jar:$ANYJBASE/lib/jsdk.jar:$ANYJBASE/lib/runtime.jar:$ANYJBASE/lib/swingall.jar:$ANYJRT/lib/rt.jar:$ANYJRT/lib/i18n.jar
editapp.EditApp $1 $2 $3 $4 $5 $6 $7 $8 $9

# kill all dangling threads/processes
sh killanyj.sh


But this is what I get:

molehole:/opt/anyj/bin # ./anyjibm.sh
bash: ./anyjibm.sh: Permission denied
molehole:/opt/anyj/bin # chmod 777 anyjibm.sh
molehole:/opt/anyj/bin # ./anyjibm.sh
PIDs to kill:
2131
kill -9 2131
killanyj.sh: kill: (2131) - No such pid
molehole:/opt/anyj/bin # anyjibm.sh


Now, I'm obviously doing something very wrong and very stupid, but then,
I've
never coded in Java, or run any kind of Java compiler.  Can anyone help,
or
should I wait until (at least in terms of operability) Java-on-Linux
catches
up with Smalltalk-on-Linux?


Yes, I realise that this isn't an anyj newsgroup, but I can't make any
sense of the Borland package either!

-- 
Turning C into an object oriented language is like trying to make a dog
into
an octopus.............. by nailing extra legs on it.

(found on a Smalltalk site.)
Technical Details
Message-ID: <38402A44.EA959E9A@telinco.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 107590,a5ff5ddd3703ee88,start
X-Google-Attributes: gid107590,public
From: John Hinsley <jhinsley@telinco.co.uk>
Subject: Help please!
Date: 1999/11/27
Message-ID: <38402A44.EA959E9A@telinco.co.uk>
X-Deja-AN: 553809388
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.linux