Java && Linux

1999-01-11 Thread Ozer Irfan

Cheers all! -=Chris



Java as CGI - problem

1999-01-11 Thread Alexey Philimonov

Hi!

I'm running website on RedHat Linux 5.1+Apache 1.3.3 and got a problem
trying to use Java program as CGI:

- when I run java program from the shell as "java myclass" - output
is ok

- when I put the same command in shell script and run it - I
perfectly get both script and Java output

- when I try to get the same script thru http, I get only script output.
None of Java output isn't present on the page.

Question: what shall I do to make Java output reach Apache?

best regards,
Alexey




Re: Java as CGI - problem

1999-01-11 Thread Moses DeJong

You might need to set the CLASSPATH for you java program directly
with the -classpath option from the CGI script. When the CGI is
run it is forked() off from the server process so it will get the
servers CLASSPATH not your shell CLASSPATH. This might be the
reason your class works in the shell and not in the CGI. You might
also want to check the web server error log to see if you see
error messages like "can't file classs ..." coming from the java
process (stderr from processes should be redirected to the server
error log by the web server).

I hope that helps
Mo DeJong
dejong cs.umn.edu

On Mon, 11 Jan 1999, Alexey Philimonov wrote:

> Hi!
> 
> I'm running website on RedHat Linux 5.1+Apache 1.3.3 and got a problem
> trying to use Java program as CGI:
> 
> - when I run java program from the shell as "java myclass" - output
> is ok
> 
> - when I put the same command in shell script and run it - I
> perfectly get both script and Java output
> 
> - when I try to get the same script thru http, I get only script output.
> None of Java output isn't present on the page.
> 
> Question: what shall I do to make Java output reach Apache?
> 
> best regards,
> Alexey
> 
> 



Re: Java as CGI - problem

1999-01-11 Thread Yves De Muyter

Install JServ:http://java.apache.org

-Yves


On Mon, 11 Jan 1999, Alexey Philimonov wrote:

> Hi!
> 
> I'm running website on RedHat Linux 5.1+Apache 1.3.3 and got a problem
> trying to use Java program as CGI:
> 
> - when I run java program from the shell as "java myclass" - output
> is ok
> 
> - when I put the same command in shell script and run it - I
> perfectly get both script and Java output
> 
> - when I try to get the same script thru http, I get only script output.
> None of Java output isn't present on the page.
> 
> Question: what shall I do to make Java output reach Apache?
> 
> best regards,
> Alexey
> 
> 
> 


Yves De Muyter  System Administrator Vlaanderen Digitaal
Vlamingenstraat 116Webmaster www.id21.be
3000 Leuven HTML - Database connection solutions
016/29 33 13
[EMAIL PROTECTED]

I don't know with what weapons World War III will be fought, but
World War IV will be fought with sticks and stones.
 - Albert Einstein




Re: [ATTENTION]: Mailing List Changes

1999-01-11 Thread Carlo E. Prelz

Subject: [ATTENTION]: Mailing List Changes
Date: Sun, Jan 10, 1999 at 10:31:59AM -0600

Quoting Karl Asha ([EMAIL PROTECTED]):

> Now my main request is for someone to hold my hand through getting a 
> newsgroup proposed and possibly approved. Alternatively, I would really 
> appreciate a -stable- (and by stable I mean someplace that isn't going to 
> die within a week) to host the mailing lists. 

Newsgroups have a different audience and accessing method. I, for one,
would probably stop following this list if it became a newsgroup.

Two main sites have linux-related mailing lists. The most important is
vger.rutgers.edu, which runs the VERY-high-traffic linux-kernel list
together with roughly a dozen other lists. The second one is
redhat.com, which runs the high-priority security lists.

I guess vger is the right place to relocate the list. There seems to
be an e-mail address to contact people there:
<[EMAIL PROTECTED]>

I am sending a copy of this message to the above address. I suggest
you contact these people or people at redhat. The importance of the
list for the Linux community is undeniable and most probably you won't
be refused hospitality.

Carlo

-- 
  * Se la Strada e la sua Virtu' non fossero state messe da parte,
* K * Carlo E. Prelz - [EMAIL PROTECTED] che bisogno ci sarebbe
  *   di parlare tanto di amore e di rettitudine? (Chuang-Tzu)



Unidentified subject!

1999-01-11 Thread Mohammed Lokhandwala

I am looking for a good JVM for Linux,
any help ?

Mohammed Lokhandwala




Java Plug-in

1999-01-11 Thread Rodrigo Rossi Fernandes Lima

Hi Java people,

I4d like to know what are your plans for Java Plug-in ?!?!

Will we have a Linux version of it ?!!? It4s the only thing I need to
*never* use Windows anymore.. :) 

If you want any help, just call (write) me... (2 years working with
Java, 5+ with C++, 2 years with Linux...)

Thank you for any information.

Regards,
-- 
[]'s
  +==+
  | Rodrigo Rossi Fernandes Lima |+
  |   ORACLE do BRASIL - NC/DC   ||
  | [EMAIL PROTECTED] ||
  +==+|
   +--+



Re: Unidentified subject!

1999-01-11 Thread Richard Jones

Mohammed Lokhandwala wrote:
> 
> I am looking for a good JVM for Linux,
> any help ?

The Sun JVM, ported at http://www.blackdown.org
is a good JVM, although not as fast as one might
like. If you combine it with IBM's Jikes
compiler, you'll get an excellent and robust
Java development environment, if you're not too
worried about speed.

There are some alternatives: Kaffe
(http://www.transvirtual.org/). This may be
just my isolated experience, but I can't get
Kaffe to run any non-trivial Java programs
at all. TYA (ftp://gonzalez.cyberus.ca/pub/Linux/java/)
which is a plug-in JIT for the Sun JVM, which
is pretty stable, and getting faster. There
is also a JVM in development at
http://www.hungry.com/products/japhar.

Then there are commercial alternatives, of
which TowerJ (http://www.twr.com) is notable.

A number of companies have promised ports of
commercial JITs - IBM and Metroworks - but
neither has appeared yet.

When Java 2 (a.k.a. JDK 1.2) appears on the
scene for Linux, it may contain a JIT. Don't
ask on the list about when Java 2 will appear,
because no one knows and everyone is bored of
reading about it.

Rich.

-- 
-  Richard Jones. Linux contractor London and SE areas.-
-Very boring homepage at: http://www.annexia.demon.co.uk/  -
- You are currently the 1,991,243,100th visitor to this signature. -
-Original message content Copyright (C) 1998 Richard Jones.-



Re: [ATTENTION]: Mailing List Changes

1999-01-11 Thread David S. Miller

   Date:Mon, 11 Jan 1999 10:40:13 +0200
   From: "Carlo E. Prelz" <[EMAIL PROTECTED]>

   I guess vger is the right place to relocate the list. There seems
   to be an e-mail address to contact people there:
   <[EMAIL PROTECTED]>

At least while the 2.2.0-pre* hoopla is going on I have to decline any
requests to add new lists to vger, sorry.  When 2.2.0-pre started the
subscription list to linux-kernel tripled in size.

We are making amends so vger can handle this load better, and I have a
plan to upgrade the hardware to something much faster as well.  And at
such time I'll be more amenable to adding new lists.

Later,
David S. Miller
[EMAIL PROTECTED]



RE Sprites, Bitmaps Java classes

1999-01-11 Thread M . Patel

>>Just what does this have to do with Java on LINUX?
Simple I want to write Java Games on Linux, surely this is not unheard of.



Is it 1.2 or 2.0?

1999-01-11 Thread M . Patel

Is the next, version that we are all waiting for 1.2 or 2.0? We should at
least klnow which version to wait around for while it is Beta tested



Re: Is it 1.2 or 2.0?

1999-01-11 Thread David Harvill

1.2 and 2.0 both refer to the same version.  It was originally
designated 1.2, but then SUN decided to rename it 2.0.  I'm not clear on 
the reasons.

-dave


On Mon, 11 Jan 1999 [EMAIL PROTECTED] wrote:

> Is the next, version that we are all waiting for 1.2 or 2.0? We should at
> least klnow which version to wait around for while it is Beta tested
> 
> 



Re: [ATTENTION]: Mailing List Changes

1999-01-11 Thread paul . wheaton




While I don't have mailing list facilities at this time, I do have web
based threaded messaging.  The software is supposed to include some mailing
list facilities later this month.  I would be happy to host this forum.  Go
to www.eporkchop.com, tell me what you want the forum to be named and I'll
make you the administrator.  You can try it out for a while and see if this
is what you want to do.



for web based java discussion, visit the Electric Porkchop at
www.eporkchop.com







Karl Asha <[EMAIL PROTECTED]> on 01/10/99 09:31:59 AM

To:   [EMAIL PROTECTED]
cc:(bcc: Paul Wheaton/Jeppesen/TMC)

Subject:  [ATTENTION]: Mailing List Changes





I'd like to do one of two things with this mailing list, as it's really
become a significant amount of traffic. Either move it to a newsgroup,
or move it to a place willing to host the java-linux and java-linux-digest
lists. The world unfortunately isn't a place of free bandwidth forever
and I have to make some decisions.

Now my main request is for someone to hold my hand through getting a
newsgroup proposed and possibly approved. Alternatively, I would really
appreciate a -stable- (and by stable I mean someplace that isn't going to
die within a week) to host the mailing lists.

If you can help with either of these, please let me know. As a side note,
this isn't the start of a massive move of the site or anything else. The
only issue is the mailing list, which is just a constant bandwidth and
i/o load on the machine.

Thanks,
Karl Asha
[EMAIL PROTECTED]







Re: [ATTENTION]: Mailing List Changes

1999-01-11 Thread Cees de Groot


Option three would be to ask someone to explode the list for you. I'm running
a setup at home with my ISP set as smarthost in my sendmail config, and
that really cuts down on processing time, bandwidth, etcetera. Advantages:
you get to keep the control over administration, and the one sponsoring
the bandwidth just needs to make a small adjustment (allowing you to relay
mail over them) in order to give you breathing space.
 
-- 
Cees de Groot <[EMAIL PROTECTED]>
Acriter Software   http://www.acriter.com
 


Re: Is it 1.2 or 2.0?

1999-01-11 Thread bryan vold

There is precedent, look at Solaris/SunOS versioning ...
-bvold

On Mon, Jan 11, 1999 at 08:29:40AM -0500, David Harvill wrote:
> 1.2 and 2.0 both refer to the same version.  It was originally
> designated 1.2, but then SUN decided to rename it 2.0.  I'm not clear on 
> the reasons.
> 
> -dave
> 
> 
> On Mon, 11 Jan 1999 [EMAIL PROTECTED] wrote:
> 
> > Is the next, version that we are all waiting for 1.2 or 2.0? We should at
> > least klnow which version to wait around for while it is Beta tested
> > 
> > 
> 

-- 
[EMAIL PROTECTED]



Is BlackDown JDK 1.1.7x Swing compatible?

1999-01-11 Thread Thomas Weholt

Eh ... read the subject. Nothing else. Thanks for all your great work.

   Thomas Weholt

   Reach me at : 
   eMail : [EMAIL PROTECTED]
   HTTP  ://bolinux1.hit.no/~u970130
   ICQ   : 7648088
   Phone : +47 - 92 09 69 58



java strings and variables

1999-01-11 Thread Rick Bauman

Hello everyone, I am using the following code in a program I am writing:

BufferedReader br = new BufferedReader( new FileReader(inFile));
while ( (line = br.readLine()) != null ) {
  StringTokenizer st = new StringTokenizer( line, ":" );
  while(st.hasMoreTokens()){ 
token = st.nextToken();

The inFile has the following structure:

somename:somechars:somevalue:trueorfalse:someaddress:somecity:somestate:somezip

the inFile will have anywhere from 1 to 10,000 entries

while reading each line I would like to assign each field a variable, do
something to the fields on that line, then start over again on the next
line. that way I could manipulate the file in different formats for
different purposes, for example if somecity=charleston then I could
write that to a log, but if somestate=calif then I could skip writing
the line.


any ideas would be appreciated.

-- 
Rick Bauman
Lowcountry Linux 
http://www.lowcountry.net/



perl2java

1999-01-11 Thread Rick Bauman

Does anyone know of a perl2java converter? I have a large collection of
perl programs I have written over the years and this would rally help in
converting to java.

r
-- 
Rick Bauman
Lowcountry Linux 
http://www.lowcountry.net/



Re: Is it 1.2 or 2.0?

1999-01-11 Thread Anand Palaniswamy


"JDK 1.2" and "Java 2" are synonyms.  Notice the missing decimal point
in the latter (atleast for now).  I believe the release is _not_ JDK 2
or JDK 2.0 or Java 2.0.  Please don't flame me about the confusion, me
just an engineer -- it was a marketing thang.

-Anand.



RE: suggestion for list (was: Re: STOP asking about Java 1.2 / 2

1999-01-11 Thread Kontorotsui


On 10-Jan-99 Chris Abbey wrote:
> I suggest that the current copy of the FAQ be included with the succesful
> subscription message. I know this is possible with majordomo because other
> lists do it. I believe this will reduce the volume of these questions because
> it appears that most of the people posting this question have just joined
> the list. (probably in order to ask that question.)

A very nice idea, in my opinion. I can confirm that this can be done easily
with majordomo.

> I also suggest that all messages from the list have a standard footer
> appended;

Yes, we definitely need a "how to subscribe footer".

---
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 . |
|   ~~~---~~  |
|   .*|
+-+



JSDK

1999-01-11 Thread David Harvill

I'm running RH5.2 on an x86 architecture.  Anyone know if the Solaris/UNIX
version of SUN's Java Servlet Development Kit will work in this setup?

-dave




Yeah! Web based threaded messaging is best (WAS: Re: [ATTENTION]: Mailing List Changes

1999-01-11 Thread blaise toad

Like paul proposes, I honestly believe web based threaded discussion
are the best (a la slashdot).

Newsgroup has ... nahh!!

yeah I guess that would be cool.

blaise

(BTW thanks for many years of support to the bd folks)




_
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



setting up swing

1999-01-11 Thread Brett Jones

Could someone point me to some docs on setting up swing.

Thanks.
-- 
Brett Jones
[EMAIL PROTECTED]



Re: Yeah! Web based threaded messaging is best (WAS: Re: [ATTENTION]: Mailing List Changes

1999-01-11 Thread Robert McConnell

Web based is the worst idea. I would much rather the messages continue
to fall into my mailbox or a newsgroup than I have to load up a
browser and go get them. If it moves to a web site, I won't move with
it.

Bob McConnell
N2SPP

At 07:06 PM 1/11/99 -0800, blaise toad wrote:
>Like paul proposes, I honestly believe web based threaded discussion
>are the best (a la slashdot).
>
>Newsgroup has ... nahh!!
>
>yeah I guess that would be cool.
>
>blaise
>
>(BTW thanks for many years of support to the bd folks)
>
>
>
>
>_
>DO YOU YAHOO!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>



RE: perl2java

1999-01-11 Thread Jason Dillon

On 11-Jan-99 Rick Bauman wrote:

> ...a perl2java converter..

that would be cool!

--jason



Re: java strings and variables

1999-01-11 Thread Ivan Bilenkey

This question is off topic. Please use comp.lang.java.* for questions
related to java programming. 

Thanx,
Ivan


Rick Bauman wrote:
> 
> Hello everyone, I am using the following code in a program I am writing:
> 
> BufferedReader br = new BufferedReader( new FileReader(inFile));
> while ( (line = br.readLine()) != null ) {
>   StringTokenizer st = new StringTokenizer( line, ":" );
>   while(st.hasMoreTokens()){
> token = st.nextToken();
> 
> The inFile has the following structure:
> 
> somename:somechars:somevalue:trueorfalse:someaddress:somecity:somestate:somezip
> 
> the inFile will have anywhere from 1 to 10,000 entries
> 
> while reading each line I would like to assign each field a variable, do
> something to the fields on that line, then start over again on the next
> line. that way I could manipulate the file in different formats for
> different purposes, for example if somecity=charleston then I could
> write that to a log, but if somestate=calif then I could skip writing
> the line.
> 
> any ideas would be appreciated.
> 
> --
> Rick Bauman
> Lowcountry Linux
> http://www.lowcountry.net/



which linux/chip?

1999-01-11 Thread David Thompson


Hello,

I am struggling with a decision that some have
probably been through, or are currently experiencing:

If one wishes to run Linux and write Java code
(including, the potential of the java 3d api),
should one get and x86 and run RedHatx (and or another
x86 flavor), or should one go with a PowerPC and run 
LinuxPPC (or MkLinux).

My concern is primarily with the prospect of future
java support (for access to the latest), in Linux. 
I have a leaning toward getting a PowerPC for gut 
reasons. But, I am having difficulty determining
the current pulse regarding the commitment to
java on PowerPC's. I realize that Java 2 will soon
be out for both x86 and PPC, but is there any indication
that the PPC will be java supported into the future? 
I realize that there is no guarantee, I am just looking
for indications.

Other issues of interest are the future prospects
of java 3d on x86 and PowerPC linux versions. 
Are there 3D accelerator drivers currently in the
works for Linux OpenGl api type graphics, that
java 3d can take advantage of. If so, do/will there
be drivers for the PPC as well as the x86 chips.
And is there a port of the java 3d api to linux/(Mesa 
or other OpenGl api) in the works?

I realize that these are a common brand of questions, 
but I have not found them asked this directly in the FAQ's.

Also, how does someone go about providing donations to
support the java/linux efforts, in order to perpetuate 
the trend?

Thank you
respectfully
dt
   
_
David R.Thompson
Los Alamos National Laboratory
TSA 5
wk.ph:505.665.5572 
email:  [EMAIL PROTECTED]
_





Re: JDBC/servlet problem

1999-01-11 Thread Scott Fraser

>>
Thanks, tried it but it didn't work.  Any other ideas?
<<

Well looking in some old code I noticed this was how I got the driver
"registered":

>>
// Do it both ways for kicks:
Class clsDriver = Class.forName( "package.SomeDriverName" );

DriverManager.registerDriver( (Driver)
clsDriver.newInstance() );
<<


-Scott




RE: [ATTENTION]: Mailing List Changes

1999-01-11 Thread Kontorotsui


On 10-Jan-99 Karl Asha wrote:
> Now my main request is for someone to hold my hand through getting a 
> newsgroup proposed and possibly approved. Alternatively, I would really 
> appreciate a -stable- (and by stable I mean someplace that isn't going to 
> die within a week) to host the mailing lists. 
> 
> If you can help with either of these, please let me know. As a side note, 
> this isn't the start of a massive move of the site or anything else. The
> only issue is the mailing list, which is just a constant bandwidth and 
> i/o load on the machine. 

I could help on this, either by hosting the list on the server I'm working
on, or by asking my Computer Science Department to host it.

If nobody else finds an alternative, I'm going to ask around for
permissions.

---
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 . |
|   ~~~---~~  |
|   .*|
+-+



RE: Is BlackDown JDK 1.1.7x Swing compatible?

1999-01-11 Thread Kontorotsui


On 11-Jan-99 Thomas Weholt wrote:
> Eh ... read the subject. Nothing else. Thanks for all your great work.

Yes, it is, because Swing is certified 100% pure Java it will work on any 1.1.x
JKD ports.
---
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 . |
|   ~~~---~~  |
|   .*|
+-+



Re: which linux/chip?

1999-01-11 Thread Patrick

I am a full time java developer. The firm I work for originally ran on
NT/95 and we had serious crash problems. Plus the machine had to be reboot
to allow servlets to work, etc. I took my AMDK6-2 233mhz and put redhat on
it with the blackdown jdk, and it is absolutly awesome.

I recommend to stick with x86, for now. PPC action is coming, but there is
still software that is kind of annoying to try to make work, from what I'm
told. Not too mention, you can't always get source to build and everyone
has x86. 

I would get an AMD K6-3 when they come out (cheap, fast, better than a P2
at same clock, even w/ FPU stuff) and run redhat.




-

On Mon, 11 Jan 1999, David Thompson wrote:

> 
> Hello,
> 
> I am struggling with a decision that some have
> probably been through, or are currently experiencing:
> 
> If one wishes to run Linux and write Java code
> (including, the potential of the java 3d api),
> should one get and x86 and run RedHatx (and or another
> x86 flavor), or should one go with a PowerPC and run 
> LinuxPPC (or MkLinux).
> 
> My concern is primarily with the prospect of future
> java support (for access to the latest), in Linux. 
> I have a leaning toward getting a PowerPC for gut 
> reasons. But, I am having difficulty determining
> the current pulse regarding the commitment to
> java on PowerPC's. I realize that Java 2 will soon
> be out for both x86 and PPC, but is there any indication
> that the PPC will be java supported into the future? 
> I realize that there is no guarantee, I am just looking
> for indications.
> 
> Other issues of interest are the future prospects
> of java 3d on x86 and PowerPC linux versions. 
> Are there 3D accelerator drivers currently in the
> works for Linux OpenGl api type graphics, that
> java 3d can take advantage of. If so, do/will there
> be drivers for the PPC as well as the x86 chips.
> And is there a port of the java 3d api to linux/(Mesa 
> or other OpenGl api) in the works?
> 
> I realize that these are a common brand of questions, 
> but I have not found them asked this directly in the FAQ's.
> 
> Also, how does someone go about providing donations to
> support the java/linux efforts, in order to perpetuate 
> the trend?
> 
> Thank you
> respectfully
> dt
>
> _
> David R.Thompson
>   Los Alamos National Laboratory
> TSA 5
> wk.ph:505.665.5572 
> email:  [EMAIL PROTECTED]
> _
> 
> 
> 
> 



Re: Is it 1.2 or 2.0?

1999-01-11 Thread chang hun Park

$)C
REMOVE

Anand Palaniswamy @[<:GT:

> "JDK 1.2" and "Java 2" are synonyms.  Notice the missing decimal point
> in the latter (atleast for now).  I believe the release is _not_ JDK 2
> or JDK 2.0 or Java 2.0.  Please don't flame me about the confusion, me
> just an engineer -- it was a marketing thang.
>
> -Anand.





Re: native synchronized methods

1999-01-11 Thread chang hun Park

$)C
REMOVE

Juergen Kreileder @[<:GT:

> > Jason Dillon writes:
>
> Jason> This is not really java-linux specific, but this is the
> Jason> only java related group that I am subscribed to.  I am
> Jason> wondering if a native method is specified as synchronized
> Jason> if the jvm will perform the proper MontiorEnter &
> Jason> MonitorExit calls or if I should call them in the native
> Jason> method.
>
> Jason> So for example... does:
>
> Jason> native public synchronized byte[] getBytes ();
>
> Jason> imply:
>
> Jason> JNIEXPORT jbyteArray JNICALL Java___getBytes
> Jason>   (JNIEnv *env, jobject jthis)
> Jason> {
> Jason> (*env)->MonitorEnter(env, jthis);
> Jason> /* do something */
> Jason> (*env)->MonitorExit(env, jthis);
>
> Jason> return /* some jbyteArray */;
> Jason> }
>
> Not exactly, the method indeed is synchronized but the synchronization
> is part of the method invocation and return. Section 7.14 of the
> virtual machine specification has more details about that:
> http://java.sun.com/docs/books/vmspec/html/Compiling.doc.html#6530
>
> Juergen
>
> --
> Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
> Baroper Strasse 301, D-44221 Dortmund, Germany
> Phone: ++49 231/755-5806, Fax: ++49 231/755-5802





Re: Is BlackDown JDK 1.1.7x Swing compatible?

1999-01-11 Thread chang hun Park

$)C
REMOVE 

Kontorotsui @[<:GT:

> On 11-Jan-99 Thomas Weholt wrote:
> > Eh ... read the subject. Nothing else. Thanks for all your great work.
>
> Yes, it is, because Swing is certified 100% pure Java it will work on any 1.1.x
> JKD ports.
> ---
> 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 . |
> |   ~~~---~~  |
> |   .*|
> +-+





Re: [ATTENTION]: Mailing List Changes

1999-01-11 Thread chang hun Park

$)C
REMOVE 

Carlo E. Prelz @[<:GT:

> Subject: [ATTENTION]: Mailing List Changes
> Date: Sun, Jan 10, 1999 at 10:31:59AM -0600
>
> Quoting Karl Asha ([EMAIL PROTECTED]):
>
> > Now my main request is for someone to hold my hand through getting a
> > newsgroup proposed and possibly approved. Alternatively, I would really
> > appreciate a -stable- (and by stable I mean someplace that isn't going to
> > die within a week) to host the mailing lists.
>
> Newsgroups have a different audience and accessing method. I, for one,
> would probably stop following this list if it became a newsgroup.
>
> Two main sites have linux-related mailing lists. The most important is
> vger.rutgers.edu, which runs the VERY-high-traffic linux-kernel list
> together with roughly a dozen other lists. The second one is
> redhat.com, which runs the high-priority security lists.
>
> I guess vger is the right place to relocate the list. There seems to
> be an e-mail address to contact people there:
> <[EMAIL PROTECTED]>
>
> I am sending a copy of this message to the above address. I suggest
> you contact these people or people at redhat. The importance of the
> list for the Linux community is undeniable and most probably you won't
> be refused hospitality.
>
> Carlo
>
> --
>   * Se la Strada e la sua Virtu' non fossero state messe da parte,
> * K * Carlo E. Prelz - [EMAIL PROTECTED] che bisogno ci sarebbe
>   *   di parlare tanto di amore e di rettitudine? (Chuang-Tzu)





Re: JSDK

1999-01-11 Thread Greg

David Harvill wrote:

> I'm running RH5.2 on an x86 architecture.  Anyone know if the Solaris/UNIX
> version of SUN's Java Servlet Development Kit will work in this setup?
>
> -dave

Yes, I've been using it just tonight!  :)

Greg




Re: which linux/chip?

1999-01-11 Thread Kirk Hutchinson

I don't know if the version of Linux makes a difference, but there is
DEFINITELY more time spent on the x86 version of Java than any other
platform.  Believe me, the reason Java runs the fastest on NT is NOT
because of the OS...

kirk

David Thompson wrote:
> 
> Hello,
> 
> I am struggling with a decision that some have
> probably been through, or are currently experiencing:
> 
> If one wishes to run Linux and write Java code
> (including, the potential of the java 3d api),
> should one get and x86 and run RedHatx (and or another
> x86 flavor), or should one go with a PowerPC and run
> LinuxPPC (or MkLinux).
> 
> My concern is primarily with the prospect of future
> java support (for access to the latest), in Linux.
> I have a leaning toward getting a PowerPC for gut
> reasons. But, I am having difficulty determining
> the current pulse regarding the commitment to
> java on PowerPC's. I realize that Java 2 will soon
> be out for both x86 and PPC, but is there any indication
> that the PPC will be java supported into the future?
> I realize that there is no guarantee, I am just looking
> for indications.
> 
> Other issues of interest are the future prospects
> of java 3d on x86 and PowerPC linux versions.
> Are there 3D accelerator drivers currently in the
> works for Linux OpenGl api type graphics, that
> java 3d can take advantage of. If so, do/will there
> be drivers for the PPC as well as the x86 chips.
> And is there a port of the java 3d api to linux/(Mesa
> or other OpenGl api) in the works?
> 
> I realize that these are a common brand of questions,
> but I have not found them asked this directly in the FAQ's.
> 
> Also, how does someone go about providing donations to
> support the java/linux efforts, in order to perpetuate
> the trend?
> 
> Thank you
> respectfully
> dt
> 
> _
> David R.Thompson
> Los Alamos National Laboratory
> TSA 5
> wk.ph:505.665.5572
> email:  [EMAIL PROTECTED]
> _

-- 
Kirk Hutchinson, [EMAIL PROTECTED]
Electrical & Software Engineer, Cabletron Systems
What good is unused science?



Re: suggestion for list (was: Re: STOP asking about Java 1.2 / 2

1999-01-11 Thread Nagendra Mishr

Can I suggest using ENewsWorks.. a JAVA based list management system
running on linux.  It's got all the features of all the other MLM's
and we've tested it with millions of users.  A list this size should
be well under 300,000 users?

Nagendra
[EMAIL PROTECTED]  (ENewsWorks URL: www.emailsol.com)

 
> 
> On 10-Jan-99 Chris Abbey wrote:
> > I suggest that the current copy of the FAQ be included with the succesful
> > subscription message. I know this is possible with majordomo because other
> > lists do it. I believe this will reduce the volume of these questions because
> > it appears that most of the people posting this question have just joined
> > the list. (probably in order to ask that question.)
> 
> A very nice idea, in my opinion. I can confirm that this can be done easily
> with majordomo.
> 
> > I also suggest that all messages from the list have a standard footer
> > appended;
> 
> Yes, we definitely need a "how to subscribe footer".
> 
> ---
> 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 . |
> |   ~~~---~~  |
> |   .*|
> +-+
> 



Re: which linux/chip?

1999-01-11 Thread David Grimes


Hello, if you are interested in doing awesome
OpenGL in Java and don't wan't to wait for sun to get their ?$%#
together and write Java 3d for anything except windows
and sparc solaris I'd highly recommend you check out Magician.
Magician is a very thin Java layer into native OpenGL, and it 
works with LINUX!! Very well in fact.

I'd recommend a high end Pentium II 350-450MHz 64M+ RAM and
Red Hat or Debian.

Check out http://www.arcana.co.uk/products/magician

(Note: I'm in no way associated with Arcane Technologies.. this
is just my opinion)

Have fun,

David

-David Grimes-
 Computer Science Student:
  University of Colorado at Boulder <[EMAIL PROTECTED]>
 Software Engineer:
  Forecast Systems Laboratory <[EMAIL PROTECTED]>
--

>
>Hello,
>
>I am struggling with a decision that some have
>probably been through, or are currently experiencing:
>
>If one wishes to run Linux and write Java code
>(including, the potential of the java 3d api),
>should one get and x86 and run RedHatx (and or another
>x86 flavor), or should one go with a PowerPC and run 
>LinuxPPC (or MkLinux).
>
>My concern is primarily with the prospect of future
>java support (for access to the latest), in Linux. 
>I have a leaning toward getting a PowerPC for gut 
>reasons. But, I am having difficulty determining
>the current pulse regarding the commitment to
>java on PowerPC's. I realize that Java 2 will soon
>be out for both x86 and PPC, but is there any indication
>that the PPC will be java supported into the future? 
>I realize that there is no guarantee, I am just looking
>for indications.
>
>Other issues of interest are the future prospects
>of java 3d on x86 and PowerPC linux versions. 
>Are there 3D accelerator drivers currently in the
>works for Linux OpenGl api type graphics, that
>java 3d can take advantage of. If so, do/will there
>be drivers for the PPC as well as the x86 chips.
>And is there a port of the java 3d api to linux/(Mesa 
>or other OpenGl api) in the works?