[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swarm-Support] using sun's java libs in swarm
From: |
Jan Herrmann |
Subject: |
Re: [Swarm-Support] using sun's java libs in swarm |
Date: |
Thu, 31 Jul 2003 18:15:17 +0200 |
Hello,
Thanks Marcus for your help. As the Kaffe libs don't support Database
connections I decided to use JDK.
I'm now using jdkcswarm and jdkswarm. I had to change the JDKPATH in the
sh.scripts so it can find my JDK-Home. The compilation terminates. I can
also start the simulation. But when I press the start-button in the ProcCtrl
Window I get a java.exe - Application error. Windows tells me that there is
a problem with referencing the memory (memory could not be read). In the
terminal I get the following message:
/src/Swarm/swarm/src/defobj/directory.m:507 swarm_directory_objc_remove
0 [sig] java 1028 stackdump: Dumping stack trace to java.exe.stackdump
Any idea what went wrong?
I'm using swarm2.1.1. Are there any new snapshot/pretest versions of Swarm
for windows or should I better run swarm under Linux?
thanks for your support
greets
Jan
Jan Herrmann wrote:
> Unfortunately the Java libs which I can use in Swarm seem to be only a
> subset of sun's Java libs.
Marcus G. Daniels wrote:
>Try using the `jdkswarm' and `jdkcswarm' scripts instead. The
>`javaswarm' and `javacswarm' scripts use the Kaffe JVM. There's
>nothing technical about Swarm that favors Kaffe, but Kaffe has licensing
>more compatible with Swarm (e.g. for redistribution on CD-ROM), and also
>has full source code. The other problem you mentioned is just because
>you need to have
>X:\Swarm-2.2\bin in your path (or whatever path is appropriate for your
>Swarm install).
>Also, there are problems with Cygwin loading into Java on Windows with
>the current snapshots. If you want a snapshot/pretest version of Swarm,
>your better off not using Windows.