Re: can't run applets in netscape

1999-09-27 Thread David Marshall

RatKing wrote:

>
> In my PC, Windows95+Communicator4.61+Java Plug-in Control Panel, run Applet
> v1.2.2 correctly.
>
> [EMAIL PROTECTED]
> 1999.09.25
>
> Yohans Mendoza wrote:
>
> > why I can't run applets in my browser?
> > I have RH60 and Netscape 4.5.1
>

There's a well known problem with running applets under Netscape on RH6.0.

If your problem manifests itself as a 'bus error' message and then a browser crash
you can fix this by editing your X font server configuration file at the location:
/etc/X11/fs/config - the default configuration that ships with RH6.0 is
incomplete.

Here's a copy of the config we use at our location:

#
# Default font server configuration file for Red Hat Linux 6.0
#

# allow a max of 4 clients to connect to this font server
client-limit = 4

# when a font server reaches its limit, start up a new one
clone-self = off

# alternate font servers for clients to use
#alternate-servers = foo:7101,bar:7102

# where to look for fonts
# Some of these are commented out, i.e. the TrueType and Type1
# directories in /usr/share, because they aren't forced to be
# installed alongside X.
#
catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
/usr/X11R6/lib/X11/fonts/75dpi:unscaled,
/usr/X11R6/lib/X11/fonts/100dpi:unscaled,
/usr/X11R6/lib/X11/fonts/misc,
/usr/X11R6/lib/X11/fonts/Type1,
/usr/X11R6/lib/X11/fonts/Speedo,
/usr/X11R6/lib/X11/fonts/75dpi,
/usr/X11R6/lib/X11/fonts/100dpi

# in 12 points, decipoints
default-point-size = 120

# 100 x 100 and 75 x 75
default-resolutions = 75,75,100,100

# how to log errors
use-syslog = on


--
David Marshall  email:  [EMAIL PROTECTED]
President   phone:  1-941-596-2480
VM Systems, Inc.fax:1-941-596-2483




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ¿How do it?

1999-09-27 Thread David Marshall

Juan Carlos wrote:

> Hi friends,
>
> ¿How to execute an linux command, to obtain any
> information, using Java?  (ex:  the CAT command).
> I have Red Hat version 5.3, and jdk1.1.5.

Juan,

You need to use one of the 'exec' methods available on the Runtime class and
then redirect output from the instantiated Process object.
This simple example should get you started. See JDK docs for details,


import java.io.*;

public class test
{
 static void main(String[] args)
 {
  int rc;
  char[] buf = new char[1024];

  Runtime rt = Runtime.getRuntime();
  try {
   Process pr = rt.exec("cat /etc/hosts");

   BufferedReader in = new BufferedReader(new
InputStreamReader(pr.getInputStream()));
   do {
rc = in.read(buf);
if (rc > 0)
 System.out.print(buf);
   } while (rc != -1);
  }
  catch (java.io.IOException ex)
  {
   System.err.println(ex.getMessage());
   ex.printStackTrace();
  }
 }
}


--
David Marshall  email:  [EMAIL PROTECTED]
President   phone:  1-941-596-2480
VM Systems, Inc.fax:1-941-596-2483




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Applet parameters not recognized.

1999-10-06 Thread David Marshall


"Roll, Greg" wrote:
I am experiencing a strange problem in that I can't
seem to get the
parameters I am passing to my applet to be recognized correctly. 
I have
written a small sample program from one of my texts and still receive
the
problem... when I run the following code I would expect to see "Hello
Bonzo!" but am instead seeing "Hello name!"...  I imagine that
I have some
small coding mistake that I can't see... can anyone identify it?
HTML Source:


Hello



Hello to you!



 

Try 'WIDTH=500>' instead of 'WIDTH=500)' - that should do it.

--
David Marshall  email:  [EMAIL PROTECTED]
President   phone:  1-941-596-2480
VM Systems, Inc.    fax:    1-941-596-2483
 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Class information in a static method

1999-10-07 Thread David Marshall


 
Jesper Nordenberg wrote:
This might be slightly off topic, but I really need
help with this.
Is there any way to obtain the Class-instance associated with the current
class in a static method? Obviously, this.getClass() doesn't work ;)
 
You can use the static method Class.forName() on the Class class itself.
So, if your static method is in the class 'bar' in the package 'com.foo',
the fragment:
Class cl = Class.forName("com.foo.bar");
will give you the Class-instance you're looking for.
--
David Marshall  email:  [EMAIL PROTECTED]
President   phone:  1-941-596-2480
VM Systems, Inc.    fax:    1-941-596-2483
 
 


Re: HELP: can't give a path to RessourceBoundle???

1999-10-11 Thread David Marshall


Bruno Boettcher wrote:
Hello,
a friend just showed me an example where to load a given set of
RessourceBoundles he prefixed the baseName of the boundle with a (relative)
path...
Now i ran back to my computer and made some tests and  it doesn't
work
for me..  i am using jdk1.2pre2 on linux
 
You can use a relative path but it has to be in '.' separated notation,
not separated with '/' characters. You also have to follow the JDK specified
naming conventions.
The JDK function ResourceBundle.getBundle() doesn't know whether it's
going to find a ListResourceBundle or a PropertyResourceBundle at runtime,
so you have to give it the bundle name in class notation.
E.g.
Suppose you have something like the following in your local directory
(or runtime jar):
com
    foo
    MsgEditor.java
    MsgEditorResources.properties
    MsgEditorResources_FR_fr.properties
    etc.
If you try
    ResourceBundle
bundle = ResourceBundle.getBundle("com.foo.MsgEditorResources", locale);
you'll get an appropriate locale-adjusted bundle.
If you are using properties files, you must adopt the naming convention
spelled out in the JDK for the PropertyResourceBundle to get loaded correctly.
Hope this helps,
--
David Marshall  email:  [EMAIL PROTECTED]
President   phone:  1-941-596-2480
VM Systems, Inc.    fax:    1-941-596-2483
 


Re: Metal Look and Feel with 16 bit color

1999-10-27 Thread David Marshall


Chris LeDantec wrote:
We've noticed a problem with the Metal look-and-feel
and 16 bit color.
Basically, if an X server is set to 16 bit color depth, then applications
(specifically NetBeans Developer) will not load the Metal look and
feel --
subsequently crashing.
Is this an issue with the motif libraries that are linked in with java
at
this time?  If the color depth is set to 8 bit  or 24 or
32 bit then
everything works fine, no problems.  It is only an issue that
arises with
the 16 bit color depth.
 
I run my desktop at 16 bit color depth and have never had a problem with
the Metal look & feel in any app (our own or 3rd party).
I fired up a copy of Netbeans ( DeveloperX2 2.1.1) to check it out
and it comes up fine in Metal (can also switch back and forth between Metal
and Motif L&F without problem). This works fine with both Blackdown
JDK1.1.7v3 and JDK1.2pre v2.
I'm on Redhat 6.0, so that's:
 Kernel 2.2.5-15
    XFree86 3.3.1-49
and I use the stock XF86_SVGA XServer, works without problem on my setup.
--
David Marshall  email:  [EMAIL PROTECTED]
President   phone:  1-941-596-2480
VM Systems, Inc.    fax:    1-941-596-2483
 


Re: Any EJB Server for Linux?

1999-01-16 Thread David Marshall


"GC-Braswell, Peter" wrote:
Also you may want to look at an open source offering
called EJBoss.  I
haven't done anything but read about it and I'm curious.  If you
happen to
dabble with it, perhaps you can report you findings to the group.
 
EJBoss requires a 1.3 JVM, so until there's a 1.3 JVM for Linux we'll have
to look elsewhere.
There's another open source EJB Server called Jonas which is being developed
by Bull.
Checkout http://www.objectweb.org
There's also an effort underway to integrate the Jonas EJB Server with
enhydra - an open source Java application server that does run on Linux.
Checkout http://www.enhydra.org
I have'nt had a chance to work with either of these products, but did
come across both recently while researching EJB implementations.
--
David Marshall   email: [EMAIL PROTECTED]
VM Systems, Inc. phone: 1-941-596-2480
Naples, FL USA   fax:   1-941-596-2483
 


Re: Jar file with JDBC

1999-12-29 Thread David Marshall

ALPESH KOTHARI wrote:

> Hi,
>
> When I added 'System.out.printStackTrace()' it told
> while compilation
> Method printStackTrace() not found in class
> java.io.PrintStream.
>
> System.out.printStackTrace();
>
> I have imported java.io.*;
> What else I need to do?
> I have included postgresql.jar in my jar file.
> My classes are all in the same directory.
>
> Thanking You,
> Alpesh
>

Alpesh,

Postgresql.jar has nothing to do with it.
As the compiler says, there is no method printStackTrace() in
java.io.printStream.

Perhaps what you want is something like:

try {
// something
} catch (Exception ex) {
ex.printStackTrace(System.out);
// or just ex.printStackTrace() which will appear on System.err
}

--
David Marshall   email: [EMAIL PROTECTED]
VM Systems, Inc. phone: 1-941-596-2480
Naples, FL USA   fax:   1-941-596-2483




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: JDK 1.2.2 mm.MySql jdbc driver and Mysql

2000-01-28 Thread David Marshall

Henrik Krobath Olesen wrote:

> Hi,
>
> I'm having some problems configuring my Java
> programs to use the mm.Mysql jdbc driver. I've
> searched through the mailing list archive but it
> hasn't helped me to overcome my problem. It al
> comes down to the definition of my classpath
> to which I have to add the path to the mm.MySql
> library. In the JDK 1.2.2 release no classpath is
> configured and I can't seem to find the
> classes.zip file containing all the java classes.
> How do I come about this problem?
>

There is no more classes.zip in JDK1.2. This is now replaced by rt.jar
which can be found in $JAVA_HOME/jre/lib.

You can still specify a CLASSPATH if you want, though it is no longer
necessary to specify the standard classes which are located in rt.jar (or
any standard extensions you have installed).

If the Mysql JDBC driver is distributed in a jar then add the name of the
jar to your classpath. For example, if the jdbc driver is distributed as
mysql.jar then try:

CLASSPATH=.:/usr/jdk/mm.Mysql-1.2a/mysql.jar

This will allow you to compile/run classes from your current directory
which use the JDBC driver found in your path.

You might also look at the "java -cp" option as an alternative to setting
a classpath.

This is all documented in the standard JDK1.2 docs.

Good luck.

--
David Marshall   email: [EMAIL PROTECTED]
VM Systems, Inc. phone: 1-941-596-2480
Naples, FL USA   fax:   1-941-596-2483




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Pen-operated portable that can run Java?

2000-02-04 Thread David Marshall

Jacob Nikom wrote:

> Hi,
>
> Are there any pen-based portable devices that can run Java?
>
> Thank you,
>
> Jacob Nikom
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

You can get the KVM which will run on Palm Pilot devices (PalmOS 3.1 or
above) at:

http://developer.java.sun/com/developer/earlyAccess/kvm/

Haven't had a chance to try it yet myself, so can't offer any
constructive criticism.

--
David Marshall   email: [EMAIL PROTECTED]
VM Systems, Inc. phone: 1-941-596-2480
Naples, FL USA   fax:   1-941-596-2483




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: RMI Problems

2000-03-16 Thread David Marshall

[EMAIL PROTECTED] wrote:

> I have been attempting to get an RMI Client and Server to run using
> 2 Linux boxes running Red Had 6.1 (one dual boots 95).  The Client
> and Server are "textbook" examples.
>
> I have run them succesuffly on Win95, WinNT and Solaris
> networks. When I run both on the same linux machine, it works.  In
> addition,  when I run the Server on the Win95 box and the Client on
> the Linux box the program works but when the Server is on the Linux box I
> get the same error message that I get when the client is on one linux box
> and the server is on another:
>
> java.rmi.ConnectException: Connection refused to host: 127.0.0.1;
> nested exception is: java.net.ConnectException: Connection 
> refused.net.ConnectException: Connection refused at

> My questions are
> 1) Has anyone EVER gotten RMI to work properly between multiple
> linux machines?  If my analysis is correct, it should never work.

RMI on Linux works fine.

>
> 2)Is there something I could do on the Server side to get it to return the
> correct address 192.168.0.2 to the client?

I suspect you don't have an RMIRegistry on Linux - I can produce an identical
stack trace by running an RMI client app and pointing it at an RMI Registry
that isn't running.

Choose one of your Linux boxes to act as your RMIRegistry and then start the
registry in the background via:

rmiregistry &

Also make sure that your server's bind() call and client's lookup() call are
pointing at the same registry ('rmi://registryHostName/yourObjectBoundName' if
your using URL style.)

--
David Marshall   email: [EMAIL PROTECTED]
VM Systems, Inc. phone: 1-941-596-2480
Naples, FL USA   fax:   1-941-596-2483




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: exec() on Linux

2000-03-16 Thread David Marshall

[EMAIL PROTECTED] wrote:

> Hi:I got a java application that uses exec("nativeApp.exe") to start a
> native application.  It works fine on NT.  But on Linux exec("a.out")
> gets an exception saying a.out could not be found.  a.out is placed in
> the same directory as java app does.  What I missed?Thank you.Lee

Lee,

Either:
- ensure that the current directory is part of your PATH, or
- invoke as exec("./a.out");

--
David Marshall   email: [EMAIL PROTECTED]
VM Systems, Inc. phone: 1-941-596-2480
Naples, FL USA   fax:   1-941-596-2483




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mount Table File per Linux Distributon

2000-03-31 Thread David Marshall

Peter Pilgrim wrote:

> Hi
>
> I need some information about linux distributions and where
> they have the system mount table.
>
> For SuSE Linux this file is ``/etc/mtab''
>
> I need to know what it is for Red Hat Linux, Debian, Slackware, TurboLinux
> and Linux Mandrake. THis is for a Java Linux portable JNI project

For Redhat it's "/etc/fstab"

--
David Marshall   email: [EMAIL PROTECTED]
VM Systems, Inc. phone: 1-941-596-2480
Naples, FL USA   fax:   1-941-596-2483


èPԔ ‘ ™¨¥¶ˆÚ½©bžìkz«ž²ØÚ½¦åiÉ£è®
"¶¬¹¸ÞrÚº{.nÇ+‰·“®‹›•ਞ֜¶F«•¹ZrGhÂz+


Re: JRE -and- JDK

2000-04-14 Thread David Marshall

Dan Hobbs wrote:

> Trieu Truong said, about JRE -and- JDK
> > A newbie question (this seems too obvious even for the FAQs):  I need to
> > install the JRE (I'm going to use the one at blackdown.org) so that I
> > can run Oracle 8i on my Linux box.  Does this either preclude or hinder
> > my ability to install and use Blackdown's JDK so that I may learn and
> > develop with Java on the same box?
>
> No.  I've got JDK 1.1.8, JDK 1.1.7, JDK 1.2.2, JRE 1.2.2, and a couple
> others running around.  Make sure you set your JAVA_HOME and CLASS_PATH in
> a shell script that runs your program and make sure that they point to the
> right one.
>
> Dan

The Oracle8i 'universal installer' is very picky though.
It requires the jre to be installed in /usr/local - it's also very very
version specific. The docs say it requires Blackdown JRE 116_v5. After some
aborted attempts to use other environments we installed v116_v5 to finally
get the installer to run without a glitch.

Once you've got Oracle installed there aren't any conflicts with any other
JDK/JRE you install.

--
David Marshall   email: [EMAIL PROTECTED]
VM Systems, Inc. phone: 1-941-596-2480
Naples, FL USA   fax:   1-941-596-2483




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: What is fcs?

2000-04-18 Thread David Marshall

Ganesh Sivaraman wrote:

> Hi,
>
> Do anyone know what it means by fcs?

FCS == First Customer Ship

--
David Marshall   email: [EMAIL PROTECTED]
VM Systems, Inc. phone: 1-941-596-2480
Naples, FL USA   fax:   1-941-596-2483




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




IBM has posted early-access JDK 1.3

2000-05-03 Thread David Marshall

fyi,

IBM has posted an early release of JDK 1.3 at Alphaworks.

See http://www.alphaworks.ibm.com/tech/linuxjdk

--
David Marshall   mailto:[EMAIL PROTECTED]
VM Systems, Inc.   http://www.vmguys.com

Windows 2001: "I'm sorry Dave, I can't do that."




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Multiple Platforms

2000-05-09 Thread David Marshall

Rick Rothweiler wrote:

> Hi All:
> I am fairley new to java,  and receintly wrote a very
> simple program  in a windows IDE.  I tried to run the .class file on my
>
> linux machine with no luck.  Both systems have jdk 1.2.2.  My linux
> machine says "Exception in thread "main"
>
> java.lang.NoClassDefFoundError:  First_tst/class. Any Ideas.

Rick,

Leave off the '.class' extension when invoking from the command line. I.e.
invoke as:

java First_tst

not as:java First_tst.class

See the JDK1.2.2 docs for additional details. You won't find Linux
specific docs in the core docs, but just follow the Solaris thread for
command line tools, environment etc as the same options would apply to the
corresponding Linux versions.

--
David Marshall   mailto:[EMAIL PROTECTED]
VM Systems, Inc.   http://www.vmguys.com




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Anyone using blackdown jdk on SMP linux?

2000-06-23 Thread David Marshall


Michael Thome wrote:
I've been unable to get blackdown native-thread VM
implementation to
work properly on my x86-based SMP machine.  I'd be interested
in
corresponding with anyone who's had better luck.
Essentially the problem is that code like:
  synchronized (lock) {
    lock.wait();
  }
results in exceptions like:
  java.lang.IllegalMonitorStateException: current thread not owner
    at java.lang.Object.wait(Native
Method)
    at java.lang.Object.wait(Object.java,
Compiled Code)
    ...
I see it happening in my code, in jdk code (e.g. rmiregistry) and in
third-party code.  I have a short example which makes the bogon
trivially reproducable.
I haven't had any problems on single-cpu machines, though I run a
different kernel on those machines.
I'm mostly using Blackdown 1.2.2RC4 with javacomp (though jit doesn't
seem to matter).  IBM JDK1.3 beta exhibits almost identical behavior.
The "Sun" 1.3 beta with hotspot actually doesn't throw these
exceptions - it silently hangs instead.
BTW - I'm using a 2-cpu intel machine w/ various late-2.3-series
kernels and glibc 2.1.3.
I've had similar experiences, though on a 2.2.12 kernel.
I get the dumps when using either javacomp or sunwjit (Blackdown 1.2.2RC4)
- maybe after minutes, maybe after hours.
I have been able to run long-term high-volume tests (48 hours, constant
hammering, max-throughput testing) without problems when running with no
jit at all - that's the only configuration in which I've had consistent
repeatable results.
Haven't done any 1.3 SMP testing yet.
--
David Marshall   mailto:[EMAIL PROTECTED]
VM Systems, Inc.   http://www.vmguys.com
 


Re: Anyone using blackdown jdk on SMP linux?

2000-06-23 Thread David Marshall


Joseph Shraibman wrote:
> I've had similar experiences, though on a 2.2.12
kernel.
> I get the dumps when using either javacomp or sunwjit (Blackdown
> 1.2.2RC4) - maybe after minutes, maybe after hours.
>
> I have been able to run long-term high-volume tests (48 hours,
> constant hammering, max-throughput testing) without problems when
> running with no jit at all - that's the only configuration in which
> I've had consistent repeatable results.
>
> Haven't done any 1.3 SMP testing yet.
What about tya?
We're considering buying a dual processor machine to run our java
programs but if we can't get something running with a jdk on an smp
kernel there probably won't be much point.
Haven't tried tya on SMP, so can't report on this. (Anyone else?)
Only reasonable results I got were with no jit (java -Djava.compiler=none
etc.). For our testing (JMS environment) we got better throughput on 2
CPU SMP server with no jit than on non-SMP w/jit.
I did see on the JDK 1.3 Linux beta readme that "Sun does support or
recommend running the Java 2 SDK on SMP kernels."
Can anyone from Sun / Blackdown comment on future SMP support, and what
the underlying issues are?
--
David Marshall   mailto:[EMAIL PROTECTED]
VM Systems, Inc.   http://www.vmguys.com
 


Re: Anyone using blackdown jdk on SMP linux?

2000-06-23 Thread David Marshall

Joseph Shraibman wrote:

> > Haven't tried tya on SMP, so can't report on this. (Anyone else?)
>
> I'm afraid I don't have an SMP box to try on.  But tya is easy to
> install. Do you not have access to your SMP test box any more?
>
> U can get tya from http://sax.sax.de/~adlibit/

Ok, got it, compiled it, am running tests (@45 minutes so far without any
problems).
Gave it enough to do to run through the weekend. Will let you know on
Monday.

--
David Marshall   mailto:[EMAIL PROTECTED]
VM Systems, Inc.   http://www.vmguys.com




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Anyone using blackdown jdk on SMP linux?

2000-06-26 Thread David Marshall

Avi Cherry wrote:

> > > > We're considering buying a dual processor machine to run our java
> > > > programs but if we can't get something running with a jdk on an smp
> > > > kernel there probably won't be much point.
>
> I've actually been running the Blackdown JDK 1.2.2RC4, with the JIT
> on a 2.2.14 SMP 2-CPU box for several months now without having any
> of these sorts of problems.  I suggest that it's probably a issue
> with your configuration, rather than a bug in the JVM(s).
>
> You mentioned you were running 2.2.12?  Try updating to 2.2.14.  Also
> try updating to the latest glibc, since that has the pthreads code in
> it.

That was me that mentioned jitc problems on a 2.2.12 configuration (using
Blackdown JDK 1.2.2 RC4). Based on the following I don't think it's a kernel
/ library configuration problem:

I'm actually running a stock Redhat 6.1 kernel on a dual PIII 600 server
(2.2.12-20smp).
I did weeks of serious testing earlier in the year and had intermittent
problems with the sunwjit jitc.

At another list member's suggestion I tried running tests on the TYA jitc
over the weekend (with good results).

My test app does heavy i/o (JMS) and heavy XML parsing and generation, so
it's a good mix of CPU and i/o. There are around 20 threads and a few
heavily contended locks (so it has 'Bang'-like characteristics, but with a
server-app-like profile).

I ran for 42 hours continously at heavy loads using the TYA jit without any
problems (the test was manually terminated).
I then ran the identical configuration with sunwjit and got @ 5 hours at the
same load before the server JVM terminated abruptly. On a retry it
terminated within seconds. This is consistent with behavior from many
previous test runs.

I switched the jitc back to TYA and it's still running without a hitch. (On
my tests TYA is marginally faster than sunwjit as well).

In the past I've tested Borland's javacomp, but was unable to get it run on
a native threads SMP configuration for more than a few seconds (though,
being fair to Borland, that is not a supported / designed for
configuration).

I'm delighted with what I've seen of TYA so far. I've got a serious internal
testing cycle coming up later next month and will add TYA to the tested
configurations.

I have not done any JDK 1.3 / Hotspot testing, but am nervous about the beta
readme statement:

"Sun does support or recommend running the Java 2 SDK on SMP kernels."

Should that be "does support _and_ recommend" or "does _not_ support or
recommend"?

Has anyone got results from 1.3 testing on SMP yet?

--
David Marshall   mailto:[EMAIL PROTECTED]
VM Systems, Inc.   http://www.vmguys.com




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: JITs for Linux JREs?

2000-06-29 Thread David Marshall

Nelson Minar wrote:

> What's the current state of the art for Linux JITs and JREs?
>
> I'm looking at both the Blackdown 1.2.2RC4 and the Sun/Inprise
> 1.2.2RC1. Which JITs do those ship with? Which JITs work best with
> native threads?

Blackdown 1.2.2RC4 ships with sunwjit which works well with both green
and native threads. I've had some troubles with heavy loads in an SMP
configuration (see list archives for details) but it works well on a
single CPU box.

> My impression is that both JREs ship with sunwjit, which works with
> both green & native threads. But I can't find any JIT in the
> Sun/Inprise distribution!

Borland's javacomp JIT is a separate download (you can get it from
Borland's site). If you try Borland's javacomp JIT with the Blackdown
1.2.2RC4 JDK/JRE It works well with green threads, I've had intermittent
problems with native threads on a single CPU box (under heavy loads) and
it wouldn't run at all on an SMP box.

> And what's up with symcjit? Does it work in Linux? Does it work with
> native threads?

I have no experience with symcjit on Linux.

You can also try TYA JIT (available from http://sax.sax.de/~adlibit/ ) if
GPL is ok for you. From some preliminary testing I did last week it seems
to be marginally faster than sunwjit and is rock solid for native threads
(single CPU and SMP).

There's also OpenJIT (see http://www.openjit.org ), but it's only
licensed for non-commercial purposes. I haven't had any experience with
it, but it's reported to work with Blackdown 1.2.2RC4.

> Confused,
>   Nelson

Hope this helps,

--
David Marshall   mailto:[EMAIL PROTECTED]
VM Systems, Inc.   http://www.vmguys.com




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]