Re: Expanding arrays

1998-09-08 Thread Michael Sinz
the array of the right type and size. For example: java.util.Vector v=new java.util.Vector(); /// add all sorts of String object to the vector String[] result=new String[v.size()]; v.copyInto(result); Michael Sinz -- Director of Research & Developm

Re: ddd, gdb, jdb and java: debuging on linux

1998-09-09 Thread Michael Sinz
he Alphaworks web site at http://www.alphaworks.ibm.com/formula (I have modified the source to have line numbers in the listing window. Check out the diffs I posted to the JIKES DEBUGGER discussion list) And, yes, it shows variables and objects and threads and... Michael Sinz -- Director of Resea

Re: Java on Linux... bug in InetAddress ??? please help!

1998-09-10 Thread Michael Sinz
n this issue. Thanks in advance. I wish I could help you more but on my machine your address does not work but address on the net, such as 204.146.18.33 do work. (That should return something like www.ibm.com if I remember correctly...) Michael Sinz -- Director of Research & Developmen

RE: Java on Linux... bug in InetAddress ??? please help!

1998-09-10 Thread Michael Sinz
der Windows using the Sun 1.1.6 JDK. (And I assume it is the same JDK you are using) The same result also happens on my Linux 2.0.35 (Alpha 21164) system, but that was running a JDK 1.1.5 variant. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: Well done

1998-09-12 Thread Michael Sinz
On Sat, 12 Sep 1998 16:00:34 -0700, James Howe wrote: >P.S. Thanks alot guys !! I am sure the whole team would like to say "You are welcome." Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My

Re: To read from a port

1998-09-13 Thread Michael Sinz
.net package, and specifically the java.net.Socket and java.net.DatagramSocket Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: Reading /dev/cua? or /dev/ttyS?

1998-09-13 Thread Michael Sinz
her than within Unix worlds and even then stty has some strange behaviors) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: java-linux, reliabilety

1998-09-15 Thread Michael Sinz
ekest link in a server-side Java program, compiling to native code does not mean that it will be more reliable, just that the types of problems and the way they manifest themselves may change (and the ease and manner in which they are tracked down.) Michael Sinz -- Director of Research & Dev

Re: Problem with getting JDK's to work

1998-09-16 Thread Michael Sinz
install. (So I guess and hope that is what your problem is.) BTW - Maybe we should add to the FAQ a stronger statement about the Kaffe RPMs from RedHat? Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place

Re: Out of memory - Garbage collector

1998-08-26 Thread Michael Sinz
ior happens under the JDK from Sun on Windows too. Try, for example, to use the -mx32m which states that the JVM can use up to 32 meg of memory. Also, the Sun implementation of the GC does not currently compact memory (even though it has indirect pointers) This is not a big issue, but in tight space

re: packages

1998-08-26 Thread Michael Sinz
way you would always have a true listing of what you have imported and from where. (The "*" just is a problem.) Personally, I never use that. I have an editor that makes life easier and I can type rather quickly, so I have fully qualified names on all classes that are outside of the pac

re: packages

1998-08-26 Thread Michael Sinz
class name, how can you know where it came from: SomeClass item=new SomeClass(a,x,t); With import statements that have "*", where in the world did this come from? And don't ask me to name my class "UtilTextFoobar" when it is already in the "ORG.sinz.util.text&

Re: OS/2 JVM three times faster than others!?

1998-09-17 Thread Michael Sinz
good file server in larger networks - it handles user connections rather well...) I hope they get a chance to run the V4 port of the JDK since the socket fix has a *major* impact on any programs that tend to wait on a socket. (Which generally is done a lot in client/server code) Michael Sinz -- Dir

Re: Problem spawning process with "several words"

1998-09-16 Thread Michael Sinz
ot; >4/ filename. I think you have the quotes in the wrong spot. On the command line you need to type: ci "-mblah blah blah" foo.c Doing ci -m"blah blah blah" foo.c does not work since the " is in the middle of an argument word. (Standard shell par

Re: Help of Setting up java for Linux

1998-09-17 Thread Michael Sinz
, there is lots of power there, but there is no excuse for the Java startup to not always add on the location of the system classes. If someone is replacing them, not search would get that far but most users do need them so having to put them into the classpath has become a major pain and

Re: OS/2 JVM three times faster than others!?

1998-09-17 Thread Michael Sinz
and the core JVM, both of which are very much the same since x86 code generation is the same on either platform. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: javac problem

1998-09-17 Thread Michael Sinz
major lib's and what other applications will the above >impact ? Make sure you delete them from inside the JDK directory tree and not the public versions! See the Blackdown FAQ for details. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] -

Re: RXTX, SerialImp.c

1998-09-21 Thread Michael Sinz
ms did not have threads. The Java model is to have threads be very easy and accessable and, if used in that form, can simplify the cases of many clients. Operating systems with no real thread limit have shown how this can be a major benefit in simplifying and optimizing such code. Michael Sinz

Re: CLASSPATH problem

1998-09-21 Thread Michael Sinz
s RPM. We really should put up a major line/paragraph in the install document about the problems with RedHat and the kaffe RPM. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: Swing: Can't find class ClassName

1998-09-22 Thread Michael Sinz
class name when trying to run the class you will be fine. The java command needs the full class name since ther is no "import" for the class name used to run from the command line - import is only a compile-time typing shortcut and not a run-time item. Classes that are not in a spe

Re: JDK & native threads

1998-09-23 Thread Michael Sinz
group (the shell would get confused) but this has been addressed in Solaris (and is not an issue in Linux) Plus, with native threads this is (or should not be) an issue. Also native threads still have issues with blocking calls and monitor locks. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: JDK & native threads

1998-09-23 Thread Michael Sinz
appers or because the blocking call is not part of the green threads wrapper) Then you will block. (Ok, so on older versions, reads from STDIN/STDOUT/STDERR were a problem but this has been addressed) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL P

Re: JDK & native threads

1998-09-23 Thread Michael Sinz
he one to report this and that Kevin was the one who did most of the work to address this. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: Need help with initial Java setup

1998-09-27 Thread Michael Sinz
. I just wish it was not abused so many times for things that really did not need to have special settings. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: fast multiple object creation ... can it be done!

1998-09-28 Thread Michael Sinz
make the code that much harder to understand and maintain. A JVM could, for example, notice that you are reusing certain objects and implement the pools "automatically" for you and thus provide the benefit for all java code without adding complexity to the Java code. (Just to the JVM, but

Re: JDK 1.2

1998-09-30 Thread Michael Sinz
e JDK 1.2 source and have no idea as to how much work it would be to do the port. We hope to get the code as soon as possible but from what Sun has said about the 1.2 changes, it could be a lot of work (and thus time) to do the Linux port. (We hope it will not be too much, but...) Michael Sinz -- Di

Re: java.lang.reflect.Method invoke bug?

1998-10-01 Thread Michael Sinz
// This should really never happen. context.Error(e.toString()); } } } Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: Trouble JDK 1.1.6 + HOTJAVA

1998-10-02 Thread Michael Sinz
fusion. It is not that it, in and of itself, is bad. With so many different people doing so many different linux systems and so many different ways they install things, it is easier to just make a blanket statement that *generally* is true and assume that those who are more advanced users can w

Re: slightly off-topic

1998-10-03 Thread Michael Sinz
hat its type is or you can ask if it is an instance of a specific class without the overhead of a try/catch of an exception while trying to typecast the object. In most cases one actually knows that all the elements in a vector are strings/etc so normally the cast is all that is needed or wanted.

Re: Java-Linux networking problem < Connection refused >

1998-10-05 Thread Michael Sinz
of a strange setup - check that you can "ping localhost" meaning that your system knows that as a name. (Normally one should have that setup but I have run into people who either deleted that definiton from their hosts file or never put it in...) Michael Sinz -- Director of Research & De

Re: Does Java apps has to have .class extension?

1998-10-05 Thread Michael Sinz
look for it as Bar.class. (Well, the default class loader will do that and if it is already loaded, it will not need to look again) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://ww

Re: DatagramSocket option in jdk1.1.6v4

1998-10-07 Thread Michael Sinz
have this problem though. Watch for jdk1.1.6v5 - it should be up on the web sites very soon. This is a known problem that was introduced in v4a (sorry) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on t

Re: Java app without X installed

1998-10-07 Thread Michael Sinz
can look at is to use the non-AWT/X version automatically whenever the DISPLAY variable is not set. You could still set the NS_JAVA to always use that, but at least it would be less confusing/more automatic for the cases where X is not running, let alone installed. Michael Sinz -- Director of Resea

Re: javac dies silently

1998-10-11 Thread Michael Sinz
r something in CLASSPATH that points to an old JDK install, this can cause things not to run. However, given that you are getting a silent failure it sounds more like a Kaffe install collision. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED]

Re: Fw: javac dies silently

1998-10-11 Thread Michael Sinz
On Sun, 11 Oct 1998 13:08:26 -0400, Nathan Buggia wrote: >How do you de-install Kaffe? Where is it located? Remove the RPM - you can use GLINT (the GUI) to remove packages that are installed. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PR

Re: RH5.1 configuration problem for running with Java???

1998-10-12 Thread Michael Sinz
libc5 libraries so that you can run the libc5 binaries. However, if your JNI code needs to interact with the green threads based function wrappers you may end up having problems. It is something I have yet to ever try. (I tend to try to stay in 100% Java whenever possible) Michael Sinz

Ooops, we have a small LIBC5 problem...

1998-10-12 Thread Michael Sinz
sGreaterOrEqual "$libdlVers" 1.9.9 } then # supplied libraries are not needed return 1 -8<8<-8<- Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: JAVA Error

1998-10-13 Thread Michael Sinz
Oh, and try this without CLASSPATH set. (I noticed that you had CLASSPATH set. If you really need CLASSPATH set, make sure you have "." in the CLASSPATH in addition to the other directories - just in case) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EM

Re: small patch

1998-10-13 Thread Michael Sinz
bash version 2.01.1(1) this change seems to be a problem. We are going to have to do something different since there seems to be a conflict of behavior here. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: Threads / CLASSPATH?

1998-10-14 Thread Michael Sinz
reading support. Windows NT has reasonable threading support but not very good performance. The Linux kernel threading support is rather high in overhead and there are complications with respect to the way the GC works. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

RE: help!!!

1998-10-11 Thread Michael Sinz
you do a "which javac" you should see that it is running the jdk116/bin/javac If that is not what it is running your path may be incorrect or you may have some other javac in the path that you will want to remove Michael Sinz -- Director of Research & Development, NextBu

Re: javac dies silently

1998-10-12 Thread Michael Sinz
On Sun, 11 Oct 1998 17:36:08 -0400, strider wrote: >On Sun, 11 Oct 1998 09:50:15 -0400, "Michael Sinz" <[EMAIL PROTECTED]> wrote: >> >> It should just work. Make sure (since you are RedHat 5.0) not to have >> Kaffe installed from the default Kaffe archiv

Re: mpEDIT+Threads/CLASSPATH?

1998-10-14 Thread Michael Sinz
ts classes.zip path. (A bug, IMHO, but it is how it does things) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: rmid with JDK1.1.6

1998-10-15 Thread Michael Sinz
http://java.sun.com/docs/books/tutorial/rmi/index.html (The solaris documentation is basically the "unix" documentation) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: setup question

1998-10-15 Thread Michael Sinz
I build the glibc libraries on RedHat 5.0 (albeit updated to current releases of the kernel and other security/bug fixes) What happens if you just type "java -version" or "javac" The first should give you the version of the java system you are running and the second should outpu

Re: rmid with JDK1.1.6

1998-10-15 Thread Michael Sinz
/rmi/index.html http://java.sun.com/products/jdk/1.1/docs/tooldocs/solaris/index.html Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: Working Button mnemonics under Linux Java?

1998-10-15 Thread Michael Sinz
own use. Many of the alt key strokes a friends machine do window operations or scrolling operations or desktop operations. >-Jim Burmeister, Metro Link Incorporated <[EMAIL PROTECTED]> Thanks for your answer Jim - There are so many places where the configuration in unix systems can "confuse" users. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: RPM JDK installation on RedHat 5.1

1998-10-15 Thread Michael Sinz
were to compile the JDK you would need either Motif or LessTif. Currently we have run into a number of strange behaviors in LessTif that prevent the JDK from running 100% correctly with AWT code. The MetroLink Motif does not have these problems. Michael Sinz -- Director of Research & Develo

Re: lifeless javac with RedHat 5.0 JDK1.1.6v5

1998-10-15 Thread Michael Sinz
nk they > should be explained clearly in README.linux. I looked at the v5 version > of this file, and no new information on this subject was added since v4a, > when I fought with the problem. Since you most resently fought with the problem, what is the best answer here? (Other th

Re: glibc question

1998-10-16 Thread Michael Sinz
and the latest srpm from redhat is version 2.0.7-13. > >I need the source files for debugging. Anyone know of a convenient >way to get the right source installed without making everything >get messed up? Well, if you are RPM enabled, just install the SRPM. Michael Sinz -- Directo

Re: Zero sized display panes from recompiled jdk

1998-10-16 Thread Michael Sinz
l This is one of the LessTif problems that I know of. From the last LessTif build I did it still was a problem. It works correctly in every Motif build (1.2, 2.0, and 2.1) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.co

Re: Zero sized display panes from recompiled jdk

1998-10-16 Thread Michael Sinz
l This is one of the LessTif problems that I know of. From the last LessTif build I did it still was a problem. It works correctly in every Motif build (1.2, 2.0, and 2.1) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.co

Re: libawt.so purgatory

1998-10-18 Thread Michael Sinz
as server-side applications/servlets. This reduces the size of the memory used and does not require that X be installed on the system. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: question about installing

1998-10-18 Thread Michael Sinz
t through "tar -xf". Otherwise you could download the .tar.gz version of the file. It is the exact same tar file only with gzip compression. This normally is very easy to extract since tar tends to know how to deal with this if you use "tar -zxf" (the -z tells it to use

Re: Sending objects down a stream problem

1998-10-18 Thread Michael Sinz
was sent already and does not send it again. You can either send new objects or close and open new streams for each one. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: Zero sized display panes from recompiled jdk

1998-10-19 Thread Michael Sinz
On Mon, 19 Oct 1998 10:37:43 -0600, John Campbell wrote: >>>>> Michael Sinz wrote >>John Campbell wrote: >>>Im getting very small display panes which cannot be resized >>>from my recompiled jdk1.1.6v5. >>This is one of the LessTif problems that I

Re: FW: Slackware and static versus ELF

1998-10-19 Thread Michael Sinz
e Java wrapper scripts will run a version of the JVM that does not need X and, in fact, can not use X. This is specifically made so that server-side Java applications/servlets can be run without the overhead that the larger JVM-with-X support code has. (Only a memory overhead issue, but memory is over

Re: Java Plugin doesn't work

1998-10-20 Thread Michael Sinz
hy 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. Mic

Re: CheckVersions Error...

1998-10-22 Thread Michael Sinz
s" 1.9.9 ) then # supplied libraries are not needed return 1 which is the difference in checkVersions that support both BASH 1.x and BASH 2.x syntax. (Sorry about the problem but my only LIBC5 system has BASH 2.x...) This should be in the v5a version of the JDK 1.1.6 JDK. Michael

Re: apache, jserv, blackdown's vm, memory leak?

1998-10-22 Thread Michael Sinz
y 2 or 3 seconds during rush hour. (And it has lots of threads but I wrote my own thread pool class since this was started back when there was a bug in the Sun code that leaked a bit of memory for every thread you created.) Michael Sinz -- Director of Research & Development, NextBus Inc

Re: Interprocess Communication with a Java Application

1998-10-23 Thread Michael Sinz
sier) to work over the network to systems of different platforms even. I do this a lot with normal sockets and RMI and serialization. (All three in one program even, but usuaully just sockets since that works almost everywhere) Michael Sinz -- Director of Research & Development, NextBus Inc. m

Re: Problem compiling with the JDK

1998-10-23 Thread Michael Sinz
essage tends to mean that you have kaffe installed from the old RedHat RPM. It makes a javac shell script in /usr/bin that tries to use kaffe as the JVM. Try checking that "which javac" points to your /bin/javac and not to /usr/bin/javac Michael Sinz -- Director of Research & Develo

Re: StrongARM port

1998-10-28 Thread Michael Sinz
at the moment, no one has such a machine making it a bit hard to do the port :-) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: HP wrong, Linux right... right?

1998-10-28 Thread Michael Sinz
eing able to close a resource from another thread without there being some Monitor (mutex in Java) on that resource to keep only one thread doing things with it at once. I would personally feel that such code, while it may work in some cases/systems, is not code I would assume would work everywhere

Re: newbie question

1998-10-29 Thread Michael Sinz
t;shared libraries >libXpm.so.4: cannot open shared object file: No such file or directory You need to update your XFree86 version. The Motif libraries we used to build the JDK now require the newer XFree86 releases. Michael Sinz -- Director of Research & Development, NextBus Inc

Re: problem running java under Linux

1998-10-29 Thread Michael Sinz
e LIBC5 version works while glibc will not be reliable. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: StrongARM port

1998-10-30 Thread Michael Sinz
products are all on Linux. In fact, they announced that it is now RedHat 5.1 (it used to be a cross-compiled version of RedHat 4.2) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web --->

Re: Which version of linux on which is JDK compiled?

1998-10-31 Thread Michael Sinz
dler with three arguments or only one argument, with >the macro SA_SIGINFO. > >The macro SA_SIGINFO is defined by including signal.h on >linux 2.1.X, but isn't defined on 2.0.X. On x86 we use the production kernels since most users will be using such kernels. Other platforms may u

Re: JDK for 21064?

1998-10-31 Thread Michael Sinz
I find this difficult to understand. I don't know what to do. I still hope to find some time to finish the Alpha work but CVS is much more important and will make the work that much easier to manage. (Lots of little changes in prototypes and return types) Michael Sinz -- D

Re: JNI trouble with JNI_CreateJavaVM

1998-11-01 Thread Michael Sinz
to do task switching while a call to a blocking I/O function is made. Native threads do not have that problem (but may have others :-() Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: lib&jdk probs

1998-11-04 Thread Michael Sinz
just the readme needs to be updated) and the 1.1.7 release adds a major feature for glibc systems - a native threads package! (not supported in libc5) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web

JDK 1.1.7 for x86 Linux

1998-11-06 Thread Michael Sinz
have the files. All of them should have them soon. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: Java SDK

1998-11-06 Thread Michael Sinz
This lets Java run without the AWT addons. If you have the wrong mix of libc/glibc (as in libc5 system and a glibc version of the JDK) you need to get the "other" one... Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: Which version of linux on which is JDK compiled?

1998-11-07 Thread Michael Sinz
On Sun, 01 Nov 1998 18:26:43 +0900, SHUDOH Kazuyuki wrote: >[EMAIL PROTECTED]("Michael Sinz") wrote: > >> >What platform on which does binary distribution of JDK >> >for linux compiled? Which version of linux kernel? > >> On x86 we use the productio

Re: Low level disk access

1998-11-11 Thread Michael Sinz
are controlling this from Java, going directly to the hard drive just seems a bit, well, funny. I do not know of any libraries for Java that provide low-level disk access. Using JNI (Native Methods) you could write those routes in another language (C is the easiest) and then use them from Java. Mic

Re: Getting jre to run...

1998-11-11 Thread Michael Sinz
.) You may wish to check that the jre command is the one you think it is. which jre should return the file .../jre117_v1a/bin/jre Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: classes.zip

1998-11-12 Thread Michael Sinz
ance for cluttering the list w/ goofy questions. Yes it is included in the JDK/etc. If you have tar -zxf the file the current version would be in: .../jdk117_v1a/lib/classes.zip Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - ht

Re: Retrieving a fully qualified hostname under NT

1998-11-13 Thread Michael Sinz
s and then as it for the host name. However, you are correct, the machine would need to be in DNS to support this. Note that if you are not DNS named, a fully qualified name will have little meaning. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] --

Re: Deprecated `Thread.stop()' in forthcoming JDK 1.2. Why?

1998-11-13 Thread Michael Sinz
nly way) I too like the feature but it is easy enough to have your own notification. A harsh stop may not be able to control what is happening at the moment or it would have to only check at certain points within the operations. Michael Sinz -- Director of Research & Development, NextBus Inc.

Re: Reusable threads?

1998-11-13 Thread Michael Sinz
hread pool class that works for me. It is not complete for public use (yet) but it does the job. It knows when it has no threads in use. It also dynamically expands as peak loading increases. The trick is that you need a "front-end" class to the thread class and then a class that

Re: jar

1998-11-17 Thread Michael Sinz
jar Doing just "jar -t" will tell jar to read stdin for the jar file itself - such as: cat jarfile.jar | jar -t Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: My Audio Problem was a permission issue: can't setuid .java_wrapper

1998-11-18 Thread Michael Sinz
d worry about something getting access to it - having all Java programs running as root would be...) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: jdk_1.1.7-v1a missing headerfiles

1998-11-19 Thread Michael Sinz
need to use jdk_1.1.7-v1a-glibc-x86.tar.gz along with the native threads package. The native threads package is just an "add-on" to the "traditional" JDK. (No need to download the same thing more than once...) Michael Sinz -- Director of Research & Development, NextBus Inc. mai

Re: Deprecated `Thread.stop()' in forthcoming JDK 1.2. Why?

1998-11-23 Thread Michael Sinz
thread systems. The core OS may not support the needed mechanisms to cleanly stop a thread at various points (such as during a blocked I/O) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: Deprecated `Thread.stop()' in forthcoming JDK 1.2. Why?

1998-11-23 Thread Michael Sinz
stems really do not like using the NMI (non-maskable interrupt) since it tends to make it impossible to know for sure that the system will be reliable then. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: java/Netscape question

1998-11-24 Thread Michael Sinz
page source is available, by definition of how the browser works. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: Netscape/CLASSPATH question

1998-11-24 Thread Michael Sinz
the like) Just look at how many times people have problems with this in a reasonably technical group like Linux. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

RE: CLASSPATH confusion

1998-11-25 Thread Michael Sinz
ot need to define things that are required definitions for the system to operate. (Such as where classes.zip is for the JVM since it generally does not make sense to use Java without it) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

RE: CLASSPATH confusion

1998-11-25 Thread Michael Sinz
lasses.zip file and thus if you use that you need to find classes.zip and put that into the -classpath option and... It is just a mess.) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: JDK-1.1.7.1a Installation: missing libXm.so.2

1998-12-21 Thread Michael Sinz
N_JAVA=true) version, then it will need that library. You should be able to install the JDK just fine and run it in its normal configuration. (Note that if the RPM does not include the statically linked JDK you may wish to grab the tar archive which does include the fully release.) Michael Sinz --

Re: jdk117_v1a glibc x86, where are the classes?

1998-12-29 Thread Michael Sinz
RE plus all of the code needed to develop java programs in addition to running them. For more details as to the differences, see the Sun readme files. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: ISO libstdc++-2.8 (to make jikes happy)

1999-01-01 Thread Michael Sinz
ch of the point of shared libraries is to reduce download time and disk space and in-memory space and ease of fixing problems in the library. However, it also means that you have problems with library versions and incompatibilities. Yuck. Michael Sinz -- Director of Research & Development,

Re: subscribe

1999-01-04 Thread Michael Sinz
CLASSPATH would not have been so poorly implemented) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: subscribe

1999-01-04 Thread Michael Sinz
and it cleans out any of the variables that should not be there and then runs the correct version of the netscape binary. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: What are four different packages for ?

1999-01-05 Thread Michael Sinz
ernationalization JDK == Developer kit + Run Time + Internationalization. If you ship a Java product you can *not* ship the JDK with it. You *can* ship the JRE or RT (and I18N) with it. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED]

Re: Is this a JVM bug? Why is my local variable not initialized?

1999-01-06 Thread Michael Sinz
{ >System.out.println ("d = " + d); > } > > public static void main (String[] args) > { >DerivedClass derivedClass = new DerivedClass (); > } >} >- > >$ java -version >java version "1.1.6" >$ java DerivedClass >d = 0 Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: [email protected]

1999-01-18 Thread Michael Sinz
pe of Linux rather than, say, i386 (386), i486 (486), i586 (Pentium), or i686 (PII/PPro) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: Reading from the Keyboard

1999-01-19 Thread Michael Sinz
ale correct work and for each line of input, will echo back the line with "--> " pre-pended to it. It exits at EOF or a thrown exception :-) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz

Re: port information

1999-01-20 Thread Michael Sinz
in such an environment. Most good unix implementations should do rather well. Now, the Linux port had to do lots of work to get Native threads to work in the Linux threading model. And the Green threads also took some work due to some library routine issues. (and the lack of poll() in the kern

Re: CLASSPATH problems.

1999-01-21 Thread Michael Sinz
;pwd'. can >anyone shed some light on what i must do? Since you have CLASSPATH set, you may wish to put "." in you CLASSPATH so that things in the 'pwd' are also loaded. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] ---

  1   2   3   >