🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help please!

#4953
From: John Hinsley
Date: Sat, 04 Dec 1999 00:00
141 lines
5255 bytes
andrej koelewijn wrote:
> 
> 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

Thanks Andrej

Yes,my guess is that I've messed up the script, because it seems that
the
AnyJ process isn't actually starting.

If I don't get too bogged down in a messy C++ program this weekend (or
decide
I need a break by playing around in Alice), I'll take another peek. But
it's
not looking good (for C++, that is...)

Your experience with the Solaris J builder under Linux looks
interesting,
exciting, inspiring, even, but do you have any idea as to why it is so
memory
hungry?  I recon I could run 4 VisualWorks processes on the same memory!
And
Smalltalk isn't exactly renowned for being either fast or cheap on
memory.
Still, if it's "simply" a matter of tuning it for Linux, the future
looks good.


> 
> 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.)

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

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 107590,a5ff5ddd3703ee88
X-Google-Attributes: gid107590,public
From: John Hinsley <jhinsley@telinco.co.uk>
Subject: Re: Help please!
Date: 1999/12/04
Message-ID: <3848AB18.4751A2A9@telinco.co.uk>
X-Deja-AN: 556481348
Content-Transfer-Encoding: 7bit
References: <38402A44.EA959E9A@telinco.co.uk> <38477D87.3FA54BF6@redwood.nl>
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