🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help please!

#4949
From: andrej koelewijn
Date: Fri, 03 Dec 1999 00:00
107 lines
4100 bytes
Your setup looks ok, don't know what might be wrong. You could
try removing the '1>/dev/null 2>/dev/null' (or comment the first
java call and ucomment the second call) in your anyibm.sh script.
Maybe you'll get some usefull information...
Regards,
Andrej

John Hinsley wrote:
> 
> 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: <38477D87.3FA54BF6@redwood.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38402A44.EA959E9A@telinco.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 107590,a5ff5ddd3703ee88
X-Google-Attributes: gid107590,public
From: andrej koelewijn <andrej.koelewijn@redwood.nl>
Subject: Re: Help please!
Date: 1999/12/03
Message-ID: <38477D87.3FA54BF6@redwood.nl>
X-Deja-AN: 556124096
Content-Transfer-Encoding: 7bit
References: <38402A44.EA959E9A@telinco.co.uk>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.linux