package importing conventions

1999-05-03 Thread Troy Wu
On Mon, 3 May 1999, Michael Sinz wrote: >class layout of java. So yes, it's fine that you declared a >variable as: > >java.util.List foo; Actually, I feel that the real problem is that import lets you use a wildcard. That is, IMHO, the real design flaw in Java. If import requi

Re: Line numbers vs Compiled Code in stack traces

1999-04-19 Thread Troy Wu
The VM Spec says that the LineNumberAttribute can be ignored; any such information that the VM provides is a function (IMHO) of the completeness of the debugging implementation in the VM. Not sure that answers your question --troy On Mon, 19 Apr 1999, Jason Proctor wrote: Hi eve

Re: javac can not find com.sun.java.swing.JApplet class

1999-04-01 Thread Troy Wu
How about checking the JDK-1.2 docs...? The package name is: javax.swing.* not com.sun.java.swing.* On Wed, 31 Mar 1999, Richard James wrote: public class RootApplet extends com.sun.java.swing.JApplet { --

Re: libstdc++-libc6.0-1.so.2... and the Linux mess (IMHO)

1999-03-24 Thread Troy Wu
On 24 Mar 1999, Albert Y.C. Lai wrote: stuff. Yet, if I get it right, that the linux port requires such beasts as libstdc++-libc6.0-1.so.2 means it is linked against cutting Well, libstdc++-libc6.0-1.so.2 isn't a "real" library, I don't believe. Simply symlinking libstdc++.so to the "beast

Re: JDK1.2 and CORBA

1999-03-24 Thread Troy Wu
I'm not having a problem, really. The situation is that the output of idltojava compiler of CDK-A doesn't compile with CORBA classes of CDK-B (Corba Development Kit, that is =). Only runtime object instances are interoperable; not their source. *.java files generated by IDL compiled with JDK's

Re: Corba

1999-03-23 Thread Troy Wu
On Tue, 23 Mar 1999, Chee Foong wrote: java code. You can look into the java code and you will realized that they will not be much more work converting idl to java code by hand. Actually, this isn't quite true. The _YourClassOperations.java files are rather simple--they are just interfaces

Re: JDK1.2 and CORBA

1999-03-23 Thread Troy Wu
In case anyone's keeping track, I'm sending my thanks for the Java2 port. =) You guys are way cool We're using CORBA as distributed with Java2, and it's working perfectly. We have a rather large application using Swing (JFC), CORBA, JDBC, and multi-threading, and we're running servers (servan

Re: open, read, ioctl calls in java?

1999-03-05 Thread Troy Wu
We've recently written a device driver (for Linux), and it uses ioctl(2). We use a separate C program which is also a BSD-socket server to drive the device at the user-level. The socket server is for Java apps which also need to use the device. If you want to use ioctl(2), you probably need JN

Re: Multi-Threading: Preemptive?

1999-02-24 Thread Troy Wu
Moses, If I have two programs crunching FFTs (e.g.), then a preemtively multi-tasking OS can interrupt one process and run the other. Linux is such an OS. I don't think that it's wrong (e.g.) to run two threads concurrently, with at least one being CPU-bound. BTW, does anyone know if the

java-linux@java.blackdown.org

1999-02-21 Thread Troy Wu
good, and Linux is a good enterprise platform. I'm also curious to know what sort of enterprise-level apps are exploiting Java on Linux -- is there more to enterprise Java than servlets? Definitely. We use java at the Stanford Nanofab for reservation, equipment, and other process an

Re: setting up swing

1999-01-12 Thread Troy Wu
On older versions, it was necessary to set SWING_HOME to the path to your swing installation (e.g., /usr/local/swing-1.1). --troy On Tue, 12 Jan 1999, Patrick wrote: You just need to set the CLASSPATH and export it in the bashrc and include the files for it. There are docs for

Re: jdk1.2

1998-11-30 Thread Troy Wu
On Mon, 30 Nov 1998, Singleton, Terry wrote: Is there any sense of when the JDK will be ported once 1.2 is released. I am Perhaps the best place to track JDK-1.2 development is at the Sun site since they have offered to port JDK-1.2 to Linux. somewhat new to Linux and Java so I have to

Re: JAVA/Linux problem

1998-11-28 Thread Troy Wu
You need to append the directory containing David.class to your CLASSPATH environment variable; e.g., export CLASSPATH=/some/dir/1:/some/dir/2:/your/class/dir where /your/class/dir contains David.class. --troy On Fri, 27 Nov 1998, David House wrote: I just installed the J

Re: New user

1998-11-26 Thread Troy Wu
Doesn't exist yet. www.sunsoft.com for details. --troy On Thu, 26 Nov 1998, Tobias ramos wrote: Hi there, people... i have 1 machine redhat 5.1 and need very very to install JDK 1.2.x but i dont found... anibody say to me where i find Thanx.

RE: Open Java

1998-11-06 Thread Troy Wu
On Thu, 5 Nov 1998 [EMAIL PROTECTED] wrote: | > 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! Agreed. | > >The big problem I have is the current closed

Re: Swing 1.0.3

1998-10-19 Thread Troy Wu
On Mon, 19 Oct 1998, Miguel Mateos Lopez wrote: I have some problems with the file swing.jar. When I compile an example, the compiler returns errors. It doesn't find out included packages in swing.jar. CLASSPATH is OK. Are you putting the full classpath; i.e.: C

Re: Cannot run java

1998-07-24 Thread Troy Wu
That file is a shell-script; you could be getting the 'No such file or directory' error if an executable in the shell-script is missing (the first '#!/bin/*sh' command is a notorious offender). --troy On Fri, 24 Jul 1998, Clarence Johnson wrote: > When trying to run java, we

Re: Startup problems

1998-07-07 Thread Troy Wu
You need to get the newest glibc (2.0.7-x) RPM from RedHat. Also, it's NOT important to compile the kernel for Java binaries; you only need to do this if you don't want to type 'java HelloWorld' and just 'chmod a+x HelloWorld.class ; HelloWorld.class'. Without kernel Java binary support, 'java