Re: Java Linux and Signal Handlers

1999-04-13 Thread Rob Nugent

Juergen,

Many thanks for the info. It is not my desire to mix java and native code in the
way you describe, but the following:

I am working in a C environment, and I need to be able to call subroutines in
a number of (pluggable) languages, of which one is Java. Some of those languages
run-times (such as Java) like to install signal handlers, and thus I have the 
additional
problem of ensuring that there are no conflicts.

If there were some way for me to disable Java signal handlers and simply install
my own, and then invokes Java's handling routines from my signal handler, that
would be one solution.

Rob

Juergen Kreileder wrote:

> > Rob Nugent writes:
>
> Rob> Hi, I have a requirement to use Java Linux to implement a
> Rob> number of sub-routines in an environment in which other
> Rob> languages such as 'C' will also be executing.
>
> Rob> A question has arisen as to whether the Java VM has a
> Rob> requirement to install any signal handlers which might
> Rob> displace my pre-existing signal handlers for C.
>
> Rob> Can anyone comment ? I would much prefer that the VM did NOT
> Rob> install handlers so that I can remain in control.
>
> IMO mixing java with native code that uses signals is not good idea.
>
> Here's a (maybe incomplete) list of signals we use:
> SIGUSR1, SIGUSR2, SIGUNUSED, SIGSTKFLT, SIGQUIT, SIGCHLD,
> SIGIO, SIGALRM, SIGPIPE
>
> Juergen

--


Rob Nugent
Development Manager
UniKix Technologies Europe
[EMAIL PROTECTED]
http://www.unikix.com
Tel: +44 (0) 1489 585503
Fax: +44 (0) 1489 881363



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



Native Java applications

1999-04-13 Thread Urs Wagner



I would like to program with the JFC. But on the opposite I prefer native Java
applications because performance reasons.

What kind of possibilities do I have today?

Thanks and Kind Regards.

Urs Wagner



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



Problem downloading JDK1.2

1999-04-13 Thread David Salgado

Hi there

This isn't a bug, but I'm hoping you might be able to help me.

I've tried twice to download the JDK1.2, from two different mirror sites (both the UK 
ones). But I can't uncompress the file. I've downloaded the latest version of BZip2, 
but when I try to uncompress, I get a message saying the archive is corrupted. bzip2 
-tvv gives the following;

  jdk1_2pre-v1.tar.bz2:
[1: huff+mtf
jdk1_2pre-v1.tar.bz2: data integrity (CRC) error in data

I'm downloading the jdk to my Win95 PC at work (hey, it's not _my_ fault they chose a 
sucky OS!), and transferring it onto a CD to take it home to my Linux box.

Both downloads have the same byte count (24,551,380). I've also tried using bzip2 for 
win95, and I get the same message from bzip on the Win95 PC, and on my Linux box.

I would really appreciate any help you might be able to give.

TIA

 David Salgado


--
010110010 Digital Ronin Limited
1 ~  O/ 0
1 ~ /|  1 http://www.digitalronin.com
0 ~ / \ 1 
011010110 mailto: [EMAIL PROTECTED]
--


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



Re: Native Java applications

1999-04-13 Thread Gerald de Jong

On Tue, 13 Apr 1999, Urs Wagner wrote:
> I would like to program with the JFC. But on the opposite I prefer native Java
> applications because performance reasons.
> 
> What kind of possibilities do I have today?
> 
> Thanks and Kind Regards.
> 
> Urs Wagner

JFC is what's called "native Java" i believe.  or do you prefer "native code"?

--
Gerald de Jong, Beautiful Code B.V.
Rotterdam, The Netherlands, Tel. +31655893940
http://www.beautifulcode.nl


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



JMF API for Linux

1999-04-13 Thread Martti Mela

Hello,

When could I expect the Linux port of the JMF API? I was told by Sun that
you are doing this port.

Hope to hear you soon,

Martti Mela, Research Assistant
University of Oulu/Centre for Wireless Communications



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



native code Java application.

1999-04-13 Thread Urs Wagner



Sorry

I mean native code Java application.


Wait I'm confused. Isn't JFC just Swing? Why isn't that "native Java"?

Thanks in advanced,

-Riyad

-Original Message-
From: Urs Wagner <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, April 13, 1999 2:12 AM
Subject: Native Java applications


>
>
>I would like to program with the JFC. But on the opposite I prefer native
Java
>applications because performance reasons.
>
>What kind of possibilities do I have today?
>
>Thanks and Kind Regards.
>
>Urs Wagner
>
>
>
>--
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>



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



RE: native code Java application.

1999-04-13 Thread Villanueva, Edgar

The only solution that I found the is plausable today is
to use ibms native code compiler.

You have to purchase visualage for java enterprise edition.

I was using it under the beta versions of it with swing 1.1.

It works very well and it speeds up swing significantly.

Edgar  Villanueva
PCS Technology
OrderBook project   

> --
> From: Urs
> Wagner[SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, April 13, 1999 7:50 AM
> To:   [EMAIL PROTECTED]
> Subject:  native code Java application.
> 
> 
> 
> Sorry
> 
> I mean native code Java application.
> 
> 
> Wait I'm confused. Isn't JFC just Swing? Why isn't that "native Java"?
> 
> Thanks in advanced,
> 
> -Riyad
> 
> -Original Message-
> From: Urs Wagner <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Tuesday, April 13, 1999 2:12 AM
> Subject: Native Java applications
> 
> 
> >
> >
> >I would like to program with the JFC. But on the opposite I prefer native
> Java
> >applications because performance reasons.
> >
> >What kind of possibilities do I have today?
> >
> >Thanks and Kind Regards.
> >
> >Urs Wagner
> >
> >
> >
> >--
> >To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> >with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> >
> >
> 
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 


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



Re: jdk servlets on Linux

1999-04-13 Thread Kowshik Podder

Steven Rock wrote:
> Just made the leap from wintel to Lunix. I would like to use java
> servlets instead of dusting off my Perl-CGI books. Has it been ported to
> Linux yet?

Use the Apache Jserv - a module you can compile for use as a servlet
engine
with Apache. Check out java.apache.org

Other than that you just need the JSDK classes which you can download
from Sun.

Hope this helps.

Kosh


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



kernel 2.0.37 with Alan Cox's ac9 patch?

1999-04-13 Thread Eric GRAMMATICO

Hello team,

I already worked with your port of jdk 1.1, and it was really
excellent. Now I'd like to work on the jdk 1.2. But I had no chance to
find kernel patch 2.0.37 and Alan Cox's ac9 patch. Do you have any idea
where to find them ?

Many thanks for your excellent job.

good bye Eric.


begin:vcard 
n:GRAMMATICO;Eric
x-mozilla-html:FALSE
org:groupe CERAM;Mastère Base de Données et intégration de Systèmes
adr:;;60 Rue Dostoievski;Sophia Antipolis CEDEX;;06902;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Student
fn:Eric GRAMMATICO
end:vcard



glibc 2.1

1999-04-13 Thread Tom McMichael


I have been a happy user of jdk 1.1.7 until I tried out redhat 5.9
(trying out
5.9 because of new hardware I just bought).  My question: is a glib 2.1
version
of 1.1.7 going to be compiled ?  I know most people are yelling for jdk
1.2
but I would think recompiling 1.1.7 wouldn't be too much of a hassle ?
Any help would be greatly appreciated as I really love using jdk on
linux
instead of windoze95.

Thanks
Tom McMichael
[EMAIL PROTECTED]


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



Re: Still troubles with the libraries and jdk1.2

1999-04-13 Thread Kontorotsui


On 12-Apr-99 Matthew McKeon wrote:
> Is your LD_PRELOAD environment variable set?

No, it isn't. At least, I didn't set it. Could it be set up by the .java_wrapper
script?

> I had to set mine to point to the libstdc++ libs
> for another application I had installed,
> and that broke the JDK most handily. 

Did it make your JDK segfault?

> Unsetting it fixed the problem.

Alas, it is not set.

---
Andrea "Kontorotsui" Controzzi - MALE Student of Computer Science at 
University of Pisa  -  Italy  -  E-mail: [EMAIL PROTECTED]
My home page: http://www.cli.di.unipi.it/~controzz/intro.html

Founder and Admiral of Hoshi no Senshi (italian Leiji Matsumoto's fan group).
Creator of It.Arti.Cartoni (italian anime newsgroup) and proud member of...

+-+
|.  * .   |
|   .__ . .   |
|oq  |po   _ _|
|  /  #==>>>==#,-' (_)\   |
|  |  ,-|~\\   ///_ ,()  ,_}  |
|  |  |/|~]]] /// ,-~'  .,~   /   \|  .   |
|  |\_|_|_\_\~~~~'   \   (/|. |
| ./~ \___/   [m] \   \__//   |
| _bo..__ //   `-,.~~ |
|  _-~ 0o.__( .   |
| \  o  . |
|  .  (_)00   |
|. \~~~*,,,* ~00  |
|~0 . |
|   ~~~---~~  |
|   .*|
+-+


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



Re: native code Java application.

1999-04-13 Thread Paul Ho

At 12:50 PM +0100 04/13/99, Urs Wagner wrote:
>Sorry
>
>I mean native code Java application.

try the gcj thing form cygnus. http://sourceware.cygnus.com/java/
It's a Java front end to egcs.

>Wait I'm confused. Isn't JFC just Swing? Why isn't that "native Java"?

JFC1.1 is swing, 100% pure Java and all. JFC1.2 (or is it JFC2?) include
java2d, drag and drop etc.
BTW, some even claim AWT in Java 1.0 and 1.1 is JFC 1.0 !!


Paul



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



Drag & Drop

1999-04-13 Thread Niels Hilbrink

Dear all,

I have been fiddling unsuccessfully with the Drag and Drop (dnd)
features in Java.

So far I have been able to do nothing since the only demo application I
have (http://java.miningco.com/library/weekly/aa011299.htm if you are
interested) does not run. I get an InvalidDnDOperationException
exception with the message :
" The operation requested cannot be performed by the DnD system since it
is not in the appropriate state "

I was wondering if anybody has managed to get dnd running and if so if
she or he could enlighten me and the rest of the Java Linux community
the the way to do it?

If not : has anybody managed to get the click and selected mechanism
with X to cooperate with Java LINUX ?

Kind regards,
Niels Hilbrink
-- 
Stehlin Merazzi Research sa.  tel : +41 32 345 2123 - direct   
http://www.smr.ch   +41 79 607 1014 - mobile
Rue Dufour 109b +41 32 345 2120 - fax
CH-2500 Bienne 4, Switzerland   +41 91 994 2128 - private


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



Parameter value weirdness

1999-04-13 Thread Jason Proctor

I'm seeing some weird behaviour with parameters that are passed to servlets
as blank strings, ie in a URL such as
http://machine/zone/servlet?param1=¶m2=. These parameters end up having
the value "null" (ie a 4-character string) rather than either a blank
string or a null pointer, which is what I would expect.

Here's the code -

Enumeration parmNames = inRequest.getParameterNames();

while ( parmNames.hasMoreElements() )
{
String key = (String) parmNames.nextElement();

String value = inRequest.getParameter( key );

// value == "null" here
// in case where parameter is passed as ?name=&name=value
}

Any ideas anyone? Thanks in advance.




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



JDK 1.2 Release? What is going on...

1999-04-13 Thread Riyad Kalla




What is the current status on the JDK 1.2 
release? Can anyone tell me SOME information?