RE: Java Servlets -N- Linux?

1998-09-04 Thread A . KLOS


--
| From: steve /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Java Servlets -N- Linux?
| Date: Thursday, September 03, 1998 3:36PM
|
| Hello,
|
|   Can Java Servlets be developed on a Linux box? We are setting up a 
|Linux
| web server and want to use Java Servlets if possible. Is there a Linux
| version of the Java Servlet Development Kit or do I need something like
| JRun from livesoftware ( http://www.livesoftware.com )? Any help is
| appreciated

If you run the apache web server you should plug in mod_jserv 0.9.11 
available at:
http://www.apache.org/java/

I manager to get servlets up and running with apache 1.3.0 and mod_jserv 0.9.11

Good luck,

Addy.



RE: Benchmark

1998-09-04 Thread A . KLOS


--
| From: qtxperw /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Benchmark
| Date: Friday, September 04, 1998 11:19AM
|
| Hello all!
|
| Where can I find a widely used benchmark program?
|
| There are currently quite many JVM:s available for
| Linux, and it would be nice to be able to compare
| them.

I use the benchmarks which are included in the Kaffe distribution (at 
least in the 0.9.2 one). They only do bare bone calculation stuff like 
qsort, fibonacci, sieve etc.

I am interested in becnhmarks that do AWT benchmarking as well. I think
volanomark and caffeinemark are benchmarking tools that do these kind
of tests

Cheers,
Addy.


|
| /Per Widerlund
| 



Re: JDK1.1.6v4a can't find library libXp.so.6

1998-09-08 Thread A . KLOS


| ---
| In message , [EMAIL PROTECTED] writes:
|
| I have the same setup as Wim does (RedHat4.2) and encounter the
| same problems: can't load library libXp.so.6 .
|
| For now, you want to grab the .tar.gz for libc5 and install it by hand.

Actually I don't want to be bothered with the upgrade to XFree86-3.3.2 
if it is not absolutely nescessary.

Does somebody know if the dependency of jdk116v4a on XFree86-3.3.2 
happened coincidentally or was it on purpose, but just forgotten to 
write about in the release notes...

Addy.



RE: SEGV from iostream in native method on Linux, FreeBSD, not Windoze

1998-09-15 Thread A . KLOS

To add another comment...

be sure you have a version > JDK1.1.3, because until 1.1.3 JNI didn't 
work for me on Linux. JDK1.1.5 did work however!

Cheers,

Addy.

--
| From: rmlynch /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: SEGV from iostream in native method on Linux, FreeBSD, not Windoze
| Date: Monday, September 14, 1998 11:01PM
|
| Hi-
|
| Apologize if this is a FAQ.  It seems that a "Hello World" JNI demo (see
| below .sig) that uses iostreams for output give a SEGV on Linux and
| FreeBSD, but not Windoze.  I didn't have the compiler to build a .dll to
| see the latter case with my own eyes, but someone did it for me and it
| works on Windoze fer shure, I've seen it in action.
|
| Wonder how come?
|
| Bob L.
|
| P.S. Of course the example works when using  and printf(..).
| --
| Robert Lynch-Berkeley CA [EMAIL PROTECTED]
| http://www.best.com/~rmlynch/
| --
| class test
| {
|public native void display();
|
|static { System.loadLibrary("hello"); }
|
|public static void main(String[] args)
|{
|   new test().display();
|}
| }
| ---
| /* hello.C */
| #include 
| #include "test.h"
| #include 
|
| JNIEXPORT void JNICALL
| Java_test_display(JNIEnv *env, jobject obj)
| {
|  cout << "Hello world!\n" << endl;
|  return;
| }
| ---
| [user@ravel native]$ g++ -Wall -shared -fPIC
| -I/usr/local/jdk1.1.6/include -I/usr/local/jdk1.1.6/include/genunix -o
| libhello.so hello.C
| ---
| [user@ravel native]$ LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH java test > err
| 2>&1
| Aborted
| [user@ravel native]$ more err
| SIGSEGV   11*  segmentation violation
| stackbase=0xb668, stackpointer=0xb56c
|
| Full thread dump:
| "Finalizer thread" (TID:0x40660208, sys_thread_t:0x413a4e0c,
| state:R) prio=1
| "Async Garbage Collector" (TID:0x40660250, sys_thread_t:0x41383e0c,
| state:R)
|  prio=1
| "Idle thread" (TID:0x40660298, sys_thread_t:0x41362e0c, state:R)
| prio=0
| "Clock" (TID:0x40660088, sys_thread_t:0x41341e0c, state:CW) prio=12
| "main" (TID:0x406600b0, sys_thread_t:0x81a4908, state:R) prio=5
| *current thr
| ead*
| test.main(test.java:9)
| Monitor Cache Dump:
| Registered Monitor Dump:
| Thread queue lock: 
| Name and type hash table lock: 
| String intern lock: 
| JNI pinning lock: 
| JNI global reference lock: 
| BinClass lock: 
| Class loading lock: 
| Java stack lock: 
| Code rewrite lock: 
| Heap lock: 
| Has finalization queue lock: 
| Finalize me queue lock: 
| Monitor IO lock: 
| Child death monitor: 
| Event monitor: 
| I/O monitor: 
| Alarm monitor: 
| Waiting to be notified:
| "Clock" (0x41341e0c)
| Monitor registry: owner "main" (0x81a4908, 1 entry)
| Thread Alarm Q:
| --END msg.
| 



RE: Swing package

1998-07-09 Thread A . KLOS


--
| From: jcassidy /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Swing package
| Date: Thursday, July 09, 1998 3:59PM
|
|
| Could someone please let me know how to set things up to
| use the swing classes?  I've got things set up to compile
| java programs ok, but can't get the swing lib to be located.
| (jdk1.1.6 is located in /usr/local).
|
| I've got a copy of swing101.zip, and placed it in various
| locations with various permutations of the CLASSPATH env
| var.  But I keep getting the message:

Take a look inside this swing101.zip. It seems to me that this the 
plain distribution archive from JavaSoft, which first have to be unzipped.
After that, you will find .jar files which you should specify on your classpath

Addy.


|
| 'com.sun.java.swing.*' not found
|
| when I try to compile a program that imports from it.
|
| Thanks for any assistance!
| Jim.
|
| 



Re: JDK1.1.6v4a can't find library libXp.so.6

1998-09-08 Thread A . KLOS

I have the same setup as Wim does (RedHat4.2) and encounter the same 
problems: can't load library libXp.so.6 .
Upgrading to a newer version of XFree86 should be easy with the RPM 
mechanism of RedHat. Unfortunately RedHat 4 is linked against libc5 and 
RedHat 5.x is linked against libc6 (a.k.a. glibc).
I am afraid that the only RPM of XFree86 3.3.2 I can find will be 
linked against glibc or is there anybody that knows of a  XFree86 3.3.2 
RPM linked against libc5?

Cheers,

Addy Klos
Shell Research
The Netherlands.


--
| From: mats.petersson /  mime, , , [EMAIL PROTECTED]
| To: wim.ceulemans /  mime, , , [EMAIL PROTECTED]
| Cc: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Re: JDK1.1.6v4a can't find library libXp.so.6
| Date: Tuesday, September 08, 1998 9:15AM
|
| On Tue, 8 Sep 1998, Wim Ceulemans wrote:
|
| > Hi
| >
| > I have upgraded my jdk1.1.6v2 to jdk 1.1.6v4a and ran into an error. After
| > installing when I run javac it displays the following error:
| >
| > /usr/local/jdk1.1.6v4a/bin/../bin/green-threads/java: Can.t load library
| > libXp.so.6
| >
| > Does anyone know what is in libXp and where to find it? or what is the
| > problem?
| > I have a Redhat linux 4.2 (2.0.30) with the correct libc5 and ld installed
| > (worked with the v2).
| >
| > Regards
| > Wim Ceulemans
| > Nice Software Solutions
| >
| >
| >
|
| Apparently this library appeared in later X releases. I tried XFree86
| v3.3.2 patchlevel 3, which corresponds to 6.3 i think of X11, and there
| this particular library is included.
| It's bad they don't write what requirements of X11 JDK needs, I had
| to find this out myself :(
|
| Mats
| 



Re: Swing & Navigator

1998-09-16 Thread A . KLOS


--
| From: drobnic.pavlo /  mime, , , [EMAIL PROTECTED]
| To: dpinya /  mime, , , [EMAIL PROTECTED]
| Cc: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Re: Swing & Navigator
| Date: Saturday, May 16, 1998 8:59AM
|
| >I'm usign Swing 1.0.2 and Communicator 4.05, and when I load any applet
| > that uses some Swing class, I have the next message:
| >
| > java.lang.NoSuchMethodError: java.awt.Component: method enableEvent(J)V
| > not found
| >   at com.sun.java.swing.JComponent(JComponent.java:130)
| >   at com.sun.java.swing.JRootPane.   at com.sun.java.swing.JApplet.createRootPane(JApplet.java:133)
| > * at com.sun.java.swing.JApplet.(JApplet.java:113)
| >   at SwingingApplet.(SwingingApplet.java:27)
| >   at netscape.applet.DerivedAppletFrame.run(DerivedAppletFrame.java)
| >   at java.lang.Thread.run(Thread.java)
| >
| >I have the packages swing.jar, motif.jar & window.jar in the classpath
| > and in in the class directory of netscape
| > (/usr/local/netscape/java/classes).
| >
|
| The matter is that version of Java VM in Navigator is slightly different
| ;-) from yores and is incompatible for Swing-applet running at all. You
| may update Navigator's VM for newest. Sun has a product named Java
| Plug-in. It could be found at
| http://java.sun.com:80/products/plugin/index.html.
|   I have tried it under Win32 and it was working properly. But the major
| problem in Linux case is that there aren't ports of Java Plug-in
| available :-(


There *IS* a plug-in port available for Linux. I've got one somewhere. 
Don't remember where I got it from and I didn't find the time to give 
it a try. I think it even has the name beta-version: Activator...

 I did try the windows version though, and that one worked once pretty good.
Nowadays, I can't use the plug-in anymore, since upgrading/uninstalling 
and installing of various versions of this product was too much for the 
beautifull windows registry  8-(

Cheers, Addy.






RE: JIT compiler TYA

1998-09-18 Thread A . KLOS


--
| From: cs.lywab /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: JIT compiler TYA
| Date: Friday, September 18, 1998 3:21AM
|
| Dear all,
|
|   I would like to ask do TYA support a JAVA application with native
| C function call?  It seem that I got core dump in this suitation.  I would
| like to confirm it!

Yes, it does support it, I 've got it up and running. I remeber that it 
didn't work for me
the first time. I sent a note to Albrecht Kleine and he advised me to 
do the following:

1. Outcomment in tyaconfig.h
#define FAST_NATIVE102STYLE

2. recompile TYA

It did work for me!

Good luck,

Addy.





RE: java AWT and Swing without XWindows

1998-09-25 Thread A . KLOS


--
| From: arjun.panday /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: java AWT and Swing without XWindows
| Date: Friday, September 25, 1998 4:40PM
|
| To the java port developpers,
|
| I'm designing an embedded application (=>small footprint!) in Java that I'd
| like to have running on a Linux OS. Is there a way to have Java (especially
| the AWT and Swing components) run without XWindows?
| That would mean using either
|the frame buffer,
| orGGI,
| orSVGI lib.

Theoretically it should be possible, but it will mean that you will 
have to re-implement
the AWT on top of whatever graphical subsystem you want it to have it 
on (e.g. GGI or SVGAlib???) and that will be a lot of work.


Cheers, Addy.| 



Re: JDK 1.2 Support for CORBA

1998-09-30 Thread A . KLOS


--
| From: drobnic.pavlo /  mime, , , [EMAIL PROTECTED]
| To: hswong /  mime, , , [EMAIL PROTECTED]; java-linux /
| mime, , , [EMAIL PROTECTED]
| Subject: Re: JDK 1.2 Support for CORBA
| Date: Monday, September 28, 1998 12:28PM
|
| > I'm looking for JDK1.2 for Linux as I need CORBA support. I was
| > wondering what the timeline is for the release and whether I can help
| > with the porting. Thanks
|
|   Probably you don't need JDK1.2 for playing with CORBA.
| There are few CORBA2 compatible ORBs writen completely in java who
| alredy implements all functionality what you can even want:
|   org.omg.CORBA.* package,
|   idl 2 java compiler,
|   interface repository server,
|   couple of good knowable services end ets.
|   
|   Take a look on http://www.ooc.com  It's an official site of ORBacus
| CORBA2 ORB. Whose really good and totaly free.

I needed CORBA support for Linux as well. At time I was not aware of 
any free Java ORB availbale so I did the following... I unzipped 
classes.zip from JDK1.2beta3
for win32 and picked out the stuff related to CORBA (something like 
org.omg.corba.*)
and re-zipped it as OMGCORBA.zip). I used this class archive 
successfully under Linux!!! I admit it is a bit of hacking, but it 
proves the portability of Java (at least of
the ORB implemented by JavaSoft).

Cheers,
Addy.



Re: Write Once Run Anywhere?

1998-10-01 Thread A . KLOS


--
| From: stevecoh /  mime, , , [EMAIL PROTECTED]
| To: mctiew /  mime, , , [EMAIL PROTECTED]
| Cc: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Re: Write Once Run Anywhere?
| Date: Thursday, October 01, 1998 2:12PM
|
| Ming-Ching Tiew wrote:
|
| > Steve Cohen wrote:
| > >
| > > I have built an application and an applet using jdk 1.1.6 under linux
| > > RedHat 5.0.  Both the application and the applet (which use much of the
| > > same code) compile and work under linux.
| > > When I copy the class files to a Win95 system, they fail with
| > > NoClassDefFoundError.
| > > If, instead, I copy the .java files to the Win95 system and compile them
| > > there, then again, both the applet and the application run exactly as
| > > they did under linux.
| > >
| > > Why could this be happening?
| >
| > If what you claim is true, then this is really worthy of further
| > investigation. The problem of Java WORA is usually a lot more subtle
| > then this, it is usually something along the line of slight
| > differences in behaviour, GUI for example. It shouldn't be as
| > gross as what you described.
| >
| > Ming-Ching
|
| Yes, I do notice some slight differences in GUI, but I'm not concerned about
| those for now.
| It's really pretty straightforward.  The CLASSPATH is not the issue as
| transferred class files fail but recompiled source succeeds with the same
| CLASSPATH.  I copied the files across using a DOS floppy disk and the linux
| mcopy program.   The files were copied in jar's, first a jar with the class
| files and then a different jar with the source files.
| A key clue is this:  When we get the NoClassDefFoundError, the class it is
| looking for is package.1.class.  No such class exists, but package.
| is the class containing the main
| method.
|

Maybe it has something to do with class access modifiers. Is you main 
class specified as "public". It still doesn't explain why it does give 
an error on one and
not the other, but...

Addy.



Re: JDK 1.2 Support for CORBA

1998-10-01 Thread A . KLOS


--
| From: hswong /  mime, , , [EMAIL PROTECTED]
| To: A.KLOS /  mime, , , A.KLOS
| Cc: drobnic.pavlo /  mime, , , [EMAIL PROTECTED];
| java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Re: JDK 1.2 Support for CORBA
| Date: Thursday, October 01, 1998 9:50AM
|
| > I needed CORBA support for Linux as well. At time I was not aware of
| > any free Java ORB availbale so I did the following... I unzipped
| > classes.zip from JDK1.2beta3
| > for win32 and picked out the stuff related to CORBA (something like
| > org.omg.corba.*)
| > and re-zipped it as OMGCORBA.zip). I used this class archive
| > successfully under Linux!!! I admit it is a bit of hacking, but it
| > proves the portability of Java (at least of
| > the ORB implemented by JavaSoft).
| >
| How would I be able to generate the java code from the IDL files?

Indeed, you need to generate the java source code with the windows
JDK. Some other things

You also will need to have a C/C++ compiler on Windows, since JavaIDL
use the preprocessor of any existing C/C++ compiler (however they recommend
MS VC++ 4.2 or higher I think :-(  )

I was not able to start the nameserver on Linux. I can't remember what 
the error message was, but it just didn't work.

Addy



RE: Arbitrary Precision Arithmetic?

1998-10-09 Thread A . KLOS


--
| From: poincare /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Arbitrary Precision Arithmetic?
| Date: Thursday, October 08, 1998 11:17PM
|
| Hi,
| Has anyone implemented any arbitrary precision arithmetic routines in
| java?


Take a look at:

http://gams.nist.gov/javanumerics/

and maybe from there:
http://members.xoom.com/znerd/java/jump/index.html


|
| --
| Dimitrios Vyzovitis  -- Information Processing Laboratory
| [EMAIL PROTECTED] -- Aristotle University of Thessaloniki
| [EMAIL PROTECTED] -- Dept. of Electrical and Computer Engineering
| http://egnatia.ee.auth.gr/~dviz
|
|
| 



Re: Linux JIT?

1998-10-09 Thread A . KLOS


--
| From: nmatsumu /  mime, , , [EMAIL PROTECTED]
| To: user57 /  mime, , , [EMAIL PROTECTED]
| Cc: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Re: Linux JIT?
| Date: Friday, October 09, 1998 2:39PM
|
| Hi,
|
| > Is there any other JIT compiler for Linux other than TYA?  I have 
been using
| (snip)
| see http://www.shudo.net/jit/index-j.html
| hope this helps.

Unfortunately this page is only in Japanese  :-(

Addy.

|
| Nozomi Matsumura
| [EMAIL PROTECTED]
| 



RE: Sun's ORB & Java-Linux

1998-10-16 Thread A . KLOS


--
| From: gutier /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Sun's ORB & Java-Linux
| Date: Wednesday, October 14, 1998 4:14AM
|
| Has anyone got Sun's ORB to work with Linux's Java port ? I'd like to
| use CORBA with Java but it says on Sun's web page that JavAIDL is for
| JDK1.2 only. It'd also be great if the ORB is actually stable.
| Suggestions for alternative ORBs perhaps ?

I have used only the client part of the ORB from under Linux. What I 
did was I stripped the CORBA related class files from JDK1.2beta3 and 
put those in a separate file e.g. OMGCORBA.zip.

However I could not get the nameserver to work under Linux. It said 
something like:
"Not supported under Linux".. if I remember correctly.
Additionally you still need a IDL compiler...

Maybe is http://www.ooc.com provides a good option like David Lucas 
suggested...

|
| Thanks.
| 



Re: Java Plugin doesn't work

1998-10-28 Thread A . KLOS


--
| From: Michael.Sinz /  mime, , , [EMAIL PROTECTED]
| To: lamb /  mime, , , [EMAIL PROTECTED]; fst.robert /
|  mime, , , [EMAIL PROTECTED]
| Cc: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Re: Java Plugin doesn't work
| Date: Tuesday, October 20, 1998 2:42PM
|
| On Tue, 20 Oct 1998 13:10:43 +0800 (HKT), Robert P. Biuk-Aghai wrote:
|
| >On Fri, 16 Oct 1998, Patrick Lamb wrote:
| >
| >> I got it to work by setting the NPX_PLUGIN_PATH environment variable.
| >> (It's in one of the FMs...)  IIRC, it isn't supposed to be needed for a
| >> default installation, but the plugin suddenly started working when I set
| >> it anyhow.  In my case I set
| >>   NPX_PLUGIN_PATH=/home/pdlamb/.netscape/plugins
| >>   export NPX_PLUGIN_PATH
| >> in my .bashrc.
| >>
| >>Pat
| >
| >I have in the meantime downloaded the activator.i18n-linux-glibc
| >plugin (previously I used the activator-linux-glibc plugin), installed
| >it, and set the NPX_PLUGIN_PATH variable to the ~/.netscape/plugins
| >directory. Upon starting Netscape 4.06, I get following message:
|
| Just a simple question - is there a reason why you are trying the
| plug-in in 4.06?  I have seen things about problems starting in 4.05
| with the plug-in due to some changes in the browser.  Also, starting in
| 4.06, Netscape has finally main-lined the JDK 1.1.x Java into their
| browsers and thus there generally is no need for the plugin.

I can think of two reasons...

1. If you don't make use of the Plug-in signed applets and security 
related code
in an applet have to comply either to the Netscape specific API or 
MS IE specific
API.

2. if you want to start using JDK1.2bx dependent stuff in a browser... 
Of course , this isn't an option for Linux yet.

Cheers, Addy.



RE: Interprocess Communication with a Java Application

1998-10-29 Thread A . KLOS

Checkout the RogueWave suite of libraries. I think Tools.h++ or ToolsPro.h++
is able to exchange data with JTools.h++ the Java version of Tools.h++.

Of course these libs are not free, but not expensive either.

Cheers,

Addy.



RE: Open Java

1998-11-05 Thread A . KLOS


--
| From: sbb /  mime, , , [EMAIL PROTECTED]
| To: nelson /  mime, , , [EMAIL PROTECTED]
| Cc: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Open Java
| Date: Thursday, November 05, 1998 7:53AM
|
| Nelson Minar writes:
|  > I'd really hate to see this list get dragged into a debate about
|  > Java Linux porting team politics. The folks who have donated their
|  > effort to bringing Java to Linux - all of them - have done a wonderful
|  > job. Thanks to you all!
|  >
|  >
|  > However, there's an interesting point here:
|  >
|  > >The big problem I have is the current closed porting method is only
|  > >related to Java today. This completely ignores all possibility of
|  > >advancing java when backward compatibility is not and issue.
|  >
|  > I'm not exactly sure what the poster has in mind, but it reminds me of
|  > one of my major problems with Java. Sun has a tight lock on what
|  > "Java" is, what the definition of it is. They don't seem very
|  > interested in having people hack up the VM or the language, or in
|  > general pushing Java in any future research directions they do not
|  > directly control. I think this is horribly short-sighted of Sun, and
|  > very frustrating, but that's their position (at least, as I see it.)
|  >
|  > Unfortunately, the JDK licensing terms reflect Sun's attempts to keep
|  > Java locked up.
|
| Let's be VERY clear on this point: they're keeping their 
IMPLEMENTATION locked
| up.  Not the specs for the language.  You don't need a license to implement a
| Java virtual machine and/or the class libraries.  This is pretty rare in the
| software world.  Would you believe that ParcPlace claims ownership of 
the CLASS
| HIERARCHY of Smalltalk, and actually threatens litigation if you don't pay
| their (minimal) licensing fee?
|
| Sun has been quite reasonable with respect to having review and 
feedback cycles
| for all new APIs -- ever hear of M$ doing that?  They're trying to be as open
| as they can be, in an ocean where sharks live.
|
| Remember the big announcement last year about Sun's standards process winning
| preferred submitter status with ISO (I think it was ISO)?  At least 
the members
| of the organization were satisfied that Sun's standards process was
| sufficiently open to vote to grant them that status.
|
| Can Sun do better?  Sure, almost anyone can do better than they have done,
| including corporations.  We'd all like to see them say "Today, the JDK is
| completely open source".  Should we hold our breath waiting?
|
|  > I don't think it's fair to blame the Linux Java porting team for not
|  > making Java an open language. Their effort has been to port the Sun
|  > JDK to Linux. And they've done a wonderful job of it.
|
| I want to also say that we are LEGALLY OBLIGATED to protect the sources.
| Part of that protection includes having a porting mailing list that's 
not open
| to people who do not have sources because we talk about things in the sources
| and sometimes even include diffs that have small parts of the sources 
in them.
|
|
|  > What we do need, in the research community, is a more open Java
|  > system. Something we can all hack on, experiment with. It's not going
|  > to come from Sun, and therefore I suspect it's not going to come from
|  > the Linux porting team.
|
| Certainly not from me -- I'm very tainted in a lot of different areas wrt
| Java.  I view that the Linux community has two choices:
|
|a) we wait until completely open source versions of the Java VM, including
|   all the bells and whistles (in the meanwhile not being able to
|   develop Java applications on Linux)
|
| - or -
|
|b) we have some members of the community make available state of the art
|   versions of Java, and, *in parallel* others in the Linux/open source
|   community work on catching up with open source versions of Java.
|
| The second alternative is what we have now.  I think it's the best of both
| worlds.
|
| Steve
|

I completely agree with Steve's point of view. There are a lot of 
companies that are less open than Sun and they try to get as much 
feedback as they can from the IT Community. I think Sun is doing pretty well!

Addy.



Re: which is the best CORBA/Java implementation?

1998-11-12 Thread A . KLOS


--
| From: seifertd /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Re: which is the best CORBA/Java implementation?
| Date: Thursday, November 12, 1998 4:12PM
|
|
| >   Any chance to find something like this? BTW is anyone here 
using CORBA in
| >   conjunction with java?
|
| Hello,
|
| We have been able to get the JDK1.2beta CORBA implementation to work on
| our Linux box.  All we did was unjar the jdk1.2beta classes.zip and then
| jar up all the org/omg stuff into a new archive.  Put the new archive in
| your $CLASSPATH and you've got a "free" CORBA implementation.  So far,
| we've experienced no problems with it; it even runs fine using the
| shuJIT just-in-time compiler.  We did have problems using it with TYA,
| however :(

I did exactly the same and worked perfectly for me as well, but I 
didn't try it with JIT compilation switched on.
Please note that you won't have an IDL compiler under Linux, because 
that part of JDK1.2 isn't written in Java :-(
The problem I experienced (with JDK1.2b2) is that I couldn't start the 
TransientNameServer under Linux, although this should be pure Java. It 
simply set something like:
"Not supported under Linux"
Maybe this was politics

Cheers,
Addy.




RE: javah generating wierd stubs '0005f'

1998-06-26 Thread A . KLOS


--
| From: craig /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: javah generating wierd stubs '0005f'
| Date: Thursday, June 25, 1998 10:43PM
|
| Hi,
|
| Has anyone seen this strange problem?  Happening under both solaris
| jdk1.1.6 and linux jdk1.1.3.
|
| For a class named package.Name javah is generating stubs named
| package_0005fName.c and package_0005fName.h
| What do these '0005f' strings mean?

I had the same problem when I decided to put my classes into a package  
with a name containing an underscore (com.origin_it.)

0005f is probably either the unicode or ascii code for the underscore.  
IU asked a question to the guys at JavaSoft if this is normal behaviour  
or not, but I did not get any reply yet.


Regards, Addy.


P.S.: please let me know if it indeed has something to do with an underscore.


|
| The strangest thing is this is happening for only three distinct classes
| out of a whole set that have native calls.  The only thing different about
| these three classes is that they happen to be the latest three to have
| native methods added.  Since their native methods are identical (in
| naming) to those in other classes, I simply cut and paste the method
| declarations.  So there is effectively no source code difference, and no
| difference in my use of javah.
|
| Where do I look?
|
| Cheers, Craig
|
| --
| "Imagine if every Thursday your shoes exploded if you tied them the
|  usual way.  This happens to us all the time with computers, and nobody
|  thinks of complaining."
| -- Jeff Raskin, interviewed in Doctor Dobb's Journal
|
| ==
| Craig Taverner   --==   Email:[EMAIL PROTECTED]
| ComOpt AB   --Tel:   +46-42-212580
| Michael Löfmans Gata 6 --==   Fax:   +46-42-210585
| SE-254 38 Helsingborg   --   Cell:  +46-708-212598
| Sweden   --==http://www.comopt.com
| ==
|  




RE: SSLava like ?

1998-07-01 Thread A . KLOS


--
| From: mjnf /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: SSLava like ?
| Date: Tuesday, June 30, 1998 7:06PM
|
| Hi
|
| Does anyone know if there is a product like SSLava (or similar as long as it
| implements SSL for java) available that is free ?
|

I thought secure sockets will be a standard feature in JDK1.2, but I am 
not sure

Addy.



RE: RMI on Linux

1998-07-02 Thread A . KLOS


--
| From: Nick /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: RMI on Linux
| Date: Wednesday, July 01, 1998 4:52PM
|
| Mornin'(or whatever) all
|
| I'm currently playing around with RMI applications on Linux.  I get a very
| strange error in that when I try to run the application on a Linux I get the
| message 'Cannot find class xxx'.  Other classes in the same directory run
| fine, name alterations have been tried and failed.  The application was
| written and compiled under WinNT(I know, there's no need to tell me), but so
| were the working classes.  Any ideas?

Are you sure that the CLASSPATH includes your specific class directory *before*
you start rmiregistry? This is really nescessary.

Please let me know is this the solution.

Addy.


|
| Cheers, Nick
|
| 
| now the giraffe if you stand on a stool,
| but the hedgehog can hardly ever
|
| Nanny Ogg
| 
| 



RE: JDK 1.1.3 + Swing 1.0.1 is slow : why ?

1998-07-03 Thread A . KLOS


--
| From: Daniel.Le.Berre /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: JDK 1.1.3 + Swing 1.0.1 is slow : why ?
| Date: Friday, July 03, 1998 9:52AM
|
|
| Hi,
|
| I'm using JDK 1.1.3 on my linux box (RH 4.2), with Swing 1.0.1.

Im am using Swing 1.0.2...


| (I 've only installed the JDK 1.1.3 rpm coming from Suse 5.2)
|
| I use this version since I 've seen that earlier versions had memory
| problems, and that is the "stable" version of the JDK.
|
| The problem is that Swing with this version of the JDK is very slow.
| Some person have mentionned here that Swing was working perfectly under
| linux, better than windows : for me, it's the contrary ! What's wrong with my
| configuration ?

Which version of JDK do you use? Because JDK1.1.6 for Win32 has got a 
JIT and use that one by default (unless you explicitly disable the JIT 
with java -nojit...)
JDK1.1.6v2 hasn't got a JIT built in, but you could use one called TYA 
(v0.7: http://www.dragon1.net/software/tya/) and takes only 50K.

It improves the speed quite a bit (aprox. 3 times faster), but not as 
dramatically as the JIT that comes with JDK1.1.6 for Win32 (symantec JIT).

Furthermore TYA is not entirely stable yet, but is definitely worth to try!


|
| Does the JDK 1.1.6v2 have enhanced graphic support ?

Don't know actually.



Kind regards,
Addy Klos
Shell Research
The Netherlands




--
| From: Daniel.Le.Berre /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: JDK 1.1.3 + Swing 1.0.1 is slow : why ?
| Date: Friday, July 03, 1998 9:52AM
|
|
| Hi,
|
| I'm using JDK 1.1.3 on my linux box (RH 4.2), with Swing 1.0.1.
| (I 've only installed the JDK 1.1.3 rpm coming from Suse 5.2)
|
| I use this version since I 've seen that earlier versions had memory
| problems, and that is the "stable" version of the JDK.
|
| The problem is that Swing with this version of the JDK is very slow.
| Some person have mentionned here that Swing was working perfectly under
| linux, better than windows : for me, it's the contrary ! What's wrong with my
| configuration ?
|
| Does the JDK 1.1.6v2 have enhanced graphic support ?
|
| (My linux box is a P133 laptop with 32 Mo of RAM and 64 Mo of swap)
|
|  Daniel Le Berre
| 



RE: Startup problems

1998-07-08 Thread A . KLOS


--
| From: mash /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Startup problems
| Date: Tuesday, July 07, 1998 5:04PM
|
| I am having some trouble with jdk-1.1.6 for linux.  I installed the tar
| files and put the bin/ directory on my path.  But:
|
| $ javac HelloWorldApp.java
| Segmentation fault (core dumped)
|
| I run RedHat 5.0, and I am using the glibc version of jdk.  Also, I assume
| it's important to compile the kernel for Java binaries?  I did this.
|
| Per request, here is the output of ldconfig -D
|
| /sbin/ldconfig: version 970402
| /usr/i486-linuxaout/lib:
|   libvga.so.1 => libvga.so.1.2.7
|   libtk.so.3 => libtk.so.3.1.1
|   libtcl.so.3 => libtcl.so.3.1
|   libm.so.4 => libm.so.4.6.27
|   libdb.so.1 => libdb.so.1.85.1
|   libcurses.so.0 => libcurses.so.0.1.2
|   libc.so.4 => libc.so.4.7.2
|   libXt.so.6 => libXt.so.6.0
|   libXt.so.3 => libXt.so.3.1.0
|   libXpm.so.4 => libXpm.so.4.2
|   libXaw.so.6 => libXaw.so.6.0
|   libXaw.so.3 => libXaw.so.3.1.0
|   libXIE.so.6 => libXIE.so.6.0
|   libX11.so.6 => libX11.so.6.0
|   libX11.so.3 => libX11.so.3.1.0
| /usr/i486-linux-libc5/lib:
|   libvgagl.so.1 => libvgagl.so.1.2.11
|   libvga.so.1 => libvga.so.1.2.11
|   libtermcap.so.2 => libtermcap.so.2.0.8
|   libstdc++.so.27 => libstdc++.so.27.1.4
|   libpanel.so.3.0 => libpanel.so.1.9.9e
|   libncurses.so.3.0 => libncurses.so.1.9.9e
|   libmenu.so.3.0 => libmenu.so.1.9.9e
|   libm.so.5 => libm.so.5.0.6
|   libg++.so.27 => libg++.so.27.1.4
|   libform.so.3.0 => libform.so.1.9.9e
|   libc.so.5 => libc.so.5.3.12
|   libXtst.so.6 => libXtst.so.6.1
|   libXt.so.6 => libXt.so.6.0
|   libXpm.so.4 => libXpm.so.4.9
|   libXmu.so.6 => libXmu.so.6.0
|   libXi.so.6 => libXi.so.6.0
|   libXext.so.6 => libXext.so.6.3
|   libXaw3d.so.6 => libXaw3d.so.6.1
|   libXaw.so.6 => libXaw.so.6.1
|   libXIE.so.6 => libXIE.so.6.0
|   libX11.so.6 => libX11.so.6.1
|   libSM.so.6 => libSM.so.6.0
|   libPEX5.so.6 => libPEX5.so.6.0
|   libICE.so.6 => libICE.so.6.3
| /usr/X11R6/lib:
|   libXpm.so.4 => libXpm.so.4.10
|   libXtst.so.6 => libXtst.so.6.1
|   libXt.so.6 => libXt.so.6.0
|   libXp.so.6 => libXp.so.6.2
|   libXmu.so.6 => libXmu.so.6.0
|   libXi.so.6 => libXi.so.6.0
|   libXext.so.6 => libXext.so.6.3
|   libXaw.so.6 => libXaw.so.6.1
|   libXIE.so.6 => libXIE.so.6.0
|   libX11.so.6 => libX11.so.6.1
|   libSM.so.6 => libSM.so.6.0
|   libPEX5.so.6 => libPEX5.so.6.0
|   libICE.so.6 => libICE.so.6.3
|   libXaw3d.so.6 => libXaw3d.so.6.1
|   libMagick.so.3.9 => libMagick.so.3.9.1
| /usr/lib:
|   libtk8.0.so => libtk8.0.so
|   libtkx8.0.0.so => libtkx8.0.0.so
|   libtclx8.0.0.so => libtclx8.0.0.so
|   libtcl8.0.so => libtcl8.0.so
|   libvgagl.so.1 => libvgagl.so.1.2.11
|   libvga.so.1 => libvga.so.1.2.11
|   libreadline.so.3 => libreadline.so.3.0
|   libhistory.so.3 => libhistory.so.3.0
|   libmh.so.3.2 => libmh.so.3.2
|   libtiff.so.3 => libtiff.so.3.4
|   libpng.so.0 => libpng.so.0.96
|   libjpeg.so.6 => libjpeg.so.6.0.1
|   librle.so.1 => librle.so.1.0.0
|   libppm.so.1 => libppm.so.1.0.0
|   libpnm.so.1 => libpnm.so.1.0.0
|   libpgm.so.1 => libpgm.so.1.0.0
|   libpbm.so.1 => libpbm.so.1.0.0
|   libfbm.so.1 => libfbm.so.1.0.0
|   libstdc++.so.2.7.2 => libstdc++.so.2.7.2.8
|   libg++.so.2.7.2 => libg++.so.2.7.2.8
|   libgtk.so.1 => libgtk.so.1.0.0
|   libglib.so.1 => libglib.so.1.0.0
|   libgdk.so.1 => libgdk.so.1.0.0
|   libgpm.so.1 => libgpm.so.1.11
|   libgdbm.so.2 => libgdbm.so.2.0.0
|   libexpect5.24.so => libexpect5.24.so
|   libopcodes.so.2.8.1.0.1 => libopcodes.so.2.8.1.0.1
|   libbfd.so.2.8.1.0.1 => libbfd.so.2.8.1.0.1
|   libpanel.so.3.0 => libpanel.so.1.9.9e
|   libncurses.so.3.0 => libncurses.so.1.9.9e
|   libmenu.so.3.0 => libmenu.so.1.9.9e
|   libform.so.3.0 => libform.so.1.9.9e
|   libz.so.1 => libz.so.1.0.4
|   libnewt.so.0.20 => libnewt.so.0.21
|   libslang.so.0 => libslang.so.0.99.38
| /lib:
|   libpwdb.so.0 => libpwdb.so.0.54
|   libproc.so.1.2 => libproc.so.1.2
|   libpam_misc.so.0 => libpam_misc.so.0.59
|   libpam.so.0 => libpam.so.0.59
|   libncp.so.1 => libncp.so.1.0
|   libdl.so.1 => libdl.so.1.9.5
|   ld-linux.so.1 => ld-linux.so.1.9.5
|   libuuid.so.1 => libuuid.so.1.1
|   libss.so.2 => libss.so.2.0
|   libext2fs.so.2 => libext2fs.so.2.3
|   libe2p.so.2 => libe2p.so.2.3
|   libcom_err.so.2 => libcom_err.so.2.0
|   libutil.so.1 => libutil-2.0.5.so
|   libresolv.so.2 => libresolv-2.0.5.so
|   libpthread.so.0 => libpthread-0.6.so
|   libnss_nis.so.1 => libnss_nis-2.0.5.so
|   libnss_files.so.1 => libnss_files-2.0.5.so
|   libnss_dns.so.

RE: When will JDK 1.2 beta be released?

1998-07-08 Thread A . KLOS


--
| From: bank /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: When will JDK 1.2 beta be released?
| Date: Tuesday, July 07, 1998 11:40PM
|
|   I want to use a package that requires Java2D and Java3D which are
| new for JDK 1.2 beta, so I was wondering two things (1) when/if do you
| think you will release version 1.2? (2) is it possible to just download
| the Java2D and Java3D classes and stick them in my classpath?
|

For Java3D you will need a shared llibrary that will interface between 
the Java3D classes and OpenGL (for the Linux world that will be 
Mesa...). You could download either the Solaris version or the Win32 
version of Java3D and rip the classes from there, but you still need 
the native library..
For Java2D I am not really sure, but I think more or less the same 
story applies.

Cheers,
Addy.

| thanks,
| Seth
| 



RE: NetBeans

1998-07-08 Thread A . KLOS


--
| From: dulberg /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: NetBeans
| Date: Wednesday, July 08, 1998 1:55PM
|
| Hi,
|
| I wonder, did anyone try to run NetBeans on Linux? When I tried to
| run it I got only very nice welcome screen and after this nothing
| happened.

I came a little further, but it eventually it locked up as well :-(

Addy.



Re: java map engines

1998-07-10 Thread A . KLOS


Maybe you could check out a library called Carnac from INT
http://www.int.com

I don't know how far the mapping stiff goes, but I briefly saw some  
demos of this toolkit and one of them, displayed some maps.

Cheers,
Addy.

|
| I'm also searching for some Java based GIS tools.
|
| You can look at:
| http://www.gislinx.com/java.html
|
| I still don't know which one to choose,
| if you come across some good package,
| please let me know.
|
| Thanks,
|
| Sze Yuen
| -Original Message-
| From: B. Craig Taverner <[EMAIL PROTECTED]>
| To: Java Linux <[EMAIL PROTECTED]>
| Date: Thursday, July 09, 1998 2:48 PM
| Subject: java map engines
|
|
| Hi,
|
| Does anyone know of any java based generic map toolkits written in pure
| java (so I can run on linux, solaris and win32)?  Something that will
| allow me to easily add a map (vector &| bitmap) into my applications with
| the ability to place custom objects/components on the map.
| I've not looked too closely at java2D, but have been given the impression
| that it's too graphics/presentation orientated, and not nearly enough map
| specific features.
|
| Cheers, Craig
|
| --
| "Basic, n.:
| A programming language.  Related to certain social diseases in
| that those who have it will not admit it in polite company."
|
| ==
| Craig Taverner   --==   Email:[EMAIL PROTECTED]
| ComOpt AB   --Tel:   +46-42-212580
| Michael Löfmans Gata 6 --==   Fax:   +46-42-210585
| SE-254 38 Helsingborg   --   Cell:  +46-708-212598
| Sweden   --==http://www.comopt.com
| ==
|
|
|  



RE: NetBeans

1998-07-10 Thread A . KLOS


--
| From: peter.schuller /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: RE: NetBeans
| Date: Friday, July 10, 1998 2:11PM
|
| > I wonder, did anyone try to run NetBeans on Linux? When I tried to
| > run it I got only very nice welcome screen and after this nothing
| > happened.
|
| If you're on 1.1.5v7 that happens almost all the time. In 1.1.6v2 it happens
| sometimes, but just try again and it should work. That's my experience at
| least.
|
| Unfortunately, NetBeans hangs "now and then" after it's up and running. and
| consumes A LOT of CPU. Around 40% by just sitting there doing nothing , on my
| P133.

40% of how much memory?




Re: [may be a stupid question..] the method of input?

1998-07-20 Thread A . KLOS


--
| From: maheshm /  shar, , , [EMAIL PROTECTED]
| To: java-linux /  shar, , , [EMAIL PROTECTED]
| Subject: Re: [may be a stupid question..] the method of input?
| Date: Tuesday, March 17, 1998 10:41AM
|
| Received: from shell.nl by ksopenml.ksepl.shell.nl with ESMTP
|   (1.40.112.12/16.2) id AA090202439; Mon, 20 Jul 1998 10:13:59 +0200
| Received: by shell.nl; id KAA04313; Mon, 20 Jul 1998 10:13:58 +0200 (METDST)
| Received: from shell.ncm.com(198.67.33.248) by charon-1.shell.nl via 
smap (3.2)
|   id xma004283; Mon, 20 Jul 98 10:13:39 +0200
| Received: (from listadm@localhost) by shell.ncm.com
| (8.8.5/8.7.5) id EAA12803; Mon, 20 Jul 1998 04:12:58 -0400
| Resent-Date: Mon, 20 Jul 1998 04:12:58 -0400
| From: [EMAIL PROTECTED]
| X-Lotus-Fromdomain: NSEIL
| To: [EMAIL PROTECTED]
| Message-Id: <[EMAIL PROTECTED]>
| Date: Mon, 20 Jul 1998 13:41:35 +300500
| Subject: Re: [may be a stupid question..] the method of input?
| Resent-Message-Id: <"F_vgE3.0.t73.7mlir"@shell>
| Resent-From: [EMAIL PROTECTED]
| X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/1256
| X-Loop: [EMAIL PROTECTED]
| Precedence: list
| Resent-Sender: [EMAIL PROTECTED]
|
| ---
|
| In motif the method of input have a few
| ways(OnTheSpot,OffTheSpot,OverTheSpot,and RootWIndow) with relation to
| multi byte character.
| Isn't it possible in java to change the way of input,too?
| Bye..


|
| god knows??
|


Stupid questions don't exist; stupid answers do however, like this answer :-(



RE: Linux/Java/KDE

1998-07-21 Thread A . KLOS


--
| From: jwillans /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: Linux/Java/KDE
| Date: Tuesday, July 21, 1998 3:38PM
|
| Hi,
|
| Are there any plans to port java so that it uses the KDE toolkit
| (http://www.kde.org)?

What do you mean by using the KDE toolkit? Do you mean the Qt library 
with which KDE was built? If so, what would be the benefits?

Addy.


|
| Many Thanks
|
| James
| 
__
_ James Wil
| lans
| Computing Officer
| University of Keele
| Staffordshire
| ST5 5BG   Telephone 01782 583437
| 



RE: [Fwd: AppletSecurityException in browsers]

1998-07-23 Thread A . KLOS


--
| From: lala /  mime, , , [EMAIL PROTECTED]
| To: java-linux /  mime, , , [EMAIL PROTECTED]
| Subject: [Fwd: AppletSecurityException in browsers]
| Date: Thursday, July 23, 1998 8:49PM
|
|
|
| ---
| FROM: lala / mime ([EMAIL PROTECTED])
|
|   TO: java-linux / mime ([EMAIL PROTECTED])
|
| ---
| Java People,
|
| How can I get my applet (when ran through a browser) to
| read/write a text file? It works well, as usual, using
| appletviewer.

You have to put your stuff in a JAR-file and sign that JAR-file using a 
signing-tool.

JDK1.1.x ships such a tool called javakey. javakey uses an alogorithm, 
called DSA, which is a public domain encryption algorithm.
Netscape however doesn't understand DSA, but only RSA instead, which is 
patented by RSA Inc.
Netscape delivers a free tool called SignTool (formerly known as 
Zigbert, I believe), which you can download somewhere from 
developer.netscape.com with which you should be able to sign your 
applets in a way the Netscape browser understand it.

The Internet Exploder is a totally different story, which I don't know 
to much about


There is an article I know of, you might find usefull:

http://ourworld.compuserve.com/homepages/jozart/article/index.html


Good luck,

Addy Klos
Software Engineer
Shell Research
Rijswijk, The Netherlands


|
| Thank you (in advance).
|
| -- Laura
|
|
|
| 



Re: Java DB browsing utility

1998-08-19 Thread A . KLOS

I know of a guy who developed a utility called SQLExplorer.
Don't ask me where I got it from, but you try to search with this name 
as a keyword.

Cheers,

Addy.