Re: Setting Netscape to Use JDK

1999-05-20 Thread pridemor
Sorry. You can't. It is possible to install java libraries such as Swing, but you can't currently tell Netscape to use another JVM. Of course, the java plugin is an exception, but the HTML has to be coded to request the plugin... Russ [EMAIL PROTECTED] on 05/19/99 10:18:22 PM To: [EMAIL

Re: Java debugger ?

1999-05-18 Thread pridemor
There are a couple I've used: JDE - a java development environment for Emacs. Pretty good if you like Emacs. (almost enough to get me to switch :-). It uses the JDK debugger. Jikes Debugger - I found it useable, but not great. From IBM AlphaWorks. [EMAIL PROTECTED] on 05/18/99 08:41:04 A

plugin 1.1.2 + Window

1999-05-17 Thread pridemor
I'm trying to debug an app / applet that puts up a SplashScreen (extends Window). I can see the splash screen fine as an application and with appletviewer, but NOT with the 1.1.2. plugin in Netscape 4.5. Any ideas? This works on NT, but also fails on Solaris/Intel the same as Linux. I tried ch

jar & symlinks

1999-05-14 Thread pridemor
Can anyone tell me why jar can't deal with symbolic links? I have a directory in my source tree containing graphics files, etc. and I'm building my java classes to a separate, parallel tree. I'd like to just simply create a symbolic link to the graphics directory, but when I run "jar cf foo.jar"

Re: javax.swing not found

1999-05-11 Thread pridemor
Netscape doesn't (yet) work with Java 2, aka JDK 1.2, but you can view swing applets if you put the swing classes in Netscape's classpath. I use a shell script to launch it, setting the CLASSPATH appropriately, so that an environment variable I'm using won't interfere. For 1.2, you are stuck wit

JavaPlugin 1.1.2

1999-05-07 Thread pridemor
Anyone else tried the JavaPlugin from http://www.wisp.net/~kreilede/ ? I tried the version for glibc 2.0 on my RedHat 5.2 box (glibc 2.0.7) and Netscape 4.51. After installation, running netscape immediately resulted in "Bus error". :-(

Re: More problems with Java2 and Redhat6.0

1999-05-03 Thread pridemor
I don't know if this is the problem you are seeing, but I have fixed problems such as you described in our dialog boxes (extends JDialog) by moving a call to setModal from near the bottom of the constructor to the top. It also works fine if you pass true to super() in the constructor. The dialog

Re: RMI troubles

1999-04-22 Thread pridemor
127.0.0.1 is your loopback interface. There was a post on this list recently about someone needing to edit their /etc/hosts file, putting localhost after their real hostname. Russ [EMAIL PROTECTED] on 04/22/99 12:40:03 PM To: [EMAIL PROTECTED] cc:(bcc: Russell Pridemore/Lex/Lexmark) S

Re: Too manyopen files in system

1999-04-20 Thread pridemor
You can't depend on garbage collection, since it may not be invoked until after you run out of file descriptors. To see how many you are using, take a look at "lsof". It's on the RedHat 5.2 CD, or get it from ftp://vic.cc.purdue.edu/pub/tools/unix/. [EMAIL PROTECTED] on 04/20/99 04:02:36 AM

(fwd) Re: Port of IBM's VM?

1999-04-14 Thread pridemor
And here's the response... -- Forwarded by Russell Pridemore/Lex/Lexmark on 04/14/99 02:24 PM --- [EMAIL PROTECTED] on 04/14/99 01:33:15 PM To: Russell Pridemore@LEXMARK cc: Subject: Re: Port of IBM's VM? The people who can do something about

Re: Port of IBM's VM?

1999-04-14 Thread pridemor
Addressing this question to David Shields or Philippe Charles, authors of Jikes, might be a place to start... David and Philippe, thank-you for supporting Linux in your Jikes development. Any chance of seeing the fast new IBM Java VM for Linux? Russ [EMAIL PROTECTED] on 04/14/99 07:17:25 AM

Re: Using Syslog from Java

1999-04-05 Thread pridemor
Cynthia, Well, not exactly. What I have done is to make a daemon out of our Java application. I don't have much experience with threading under Linux, but someone mentioned on this list that signal handling can be tricky since the thread that receives the signal may not be the thread listening

Re: Native Threads in Linux Port for 1.2

1999-03-23 Thread pridemor
Yes, native threads are working in the 1.2 prerelease. Green threads, this time, is a problem when used with the JIT, but you can disable it, of course. Russ [EMAIL PROTECTED] on 03/23/99 11:25:09 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Russell Pridemore/

Re: a few issues with jdk1.2 pre release

1999-03-19 Thread pridemor
I'm seeing similar problems with jdk1.2, swing, and a remote X server. I'm running "X-Win32" from StarNet Communications on NT4. My java application works fine locally with either 1.1.7 or 1.2. It works fine remotely with 1.1.7. With 1.2, I see a frame for a few seconds, then it disappears. The

Re: Platform Independance

1999-03-18 Thread pridemor
Tried ftp? Java tools don't mind end-of-line conventions. Personally, I'm using Samba to mount my Linux home directory as a share on my NT machine. Works great. I can do anything from either machine and it all stays in synch. (I work mostly on Linux, but have to use PVCS on NT - yuck). Good l

system limits

1999-03-18 Thread pridemor
I'm sure I saw a note on this list about increasing the limit on file descriptors and/or processes by modifying the kernel source, but I can't seem to find one. Can someone point me in the right direction? Is it "safe" to increase these limits? What are the tradeoffs? BTW, yes this IS java-lin

Re: Creating a stub wrapper for JDK 1.2 on Linux and non-L

1999-03-16 Thread pridemor
though, what is this Invocation API? Is it operating system specific or pure Java? Peter __ Reply Separator _ Subject: Re: Creating a stub wrapper for JDK 1.2 on Linux and non-L Author: pridemor ([EMAIL PROTECTED]) at lon-mime Date:

Re: Creating a stub wrapper for JDK 1.2 on Linux and non-Linux

1999-03-16 Thread pridemor
> Of course there is no such thing as Bourne on Windows/NT boxes what > is best JDK 1.2 class path for these systems. Someone on my team is writing a small native NT program to locate the JRE, etc., based on registry settings, then launch a java runtime via the invocation API. We'd rather n

Re: Vector?

1999-03-11 Thread pridemor
Oops. The problem was that I forgot to import java.util.Vector in the little class I tested. I feel really stupid, now. Russ [EMAIL PROTECTED] on 03/11/99 01:35:23 PM To: Russell Pridemore@LEXMARK cc: Subject: Re: Vector? Russ, I do believe that the problem is the java that comes

Re: Vector?

1999-03-11 Thread pridemor
The sources *are* in jdk1.2/src.jar and the class files are in jdk1.2/jre/lib/rt.jar. "unzip" works nicely on jar files, too. I don't know why the compiler can't find them. I just wrote a simple test and got the same result... Russ [EMAIL PROTECTED] on 03/11/99 11:16:34 AM To: [EMAIL PR

Re: can't find libjava.so

1999-03-11 Thread pridemor
If you have jdk1.2/bin in your PATH, the sym links there point to a shell script which sets LD_LIBRARY_PATH appropriately. You don't have to set it yourself unless you are writing native code to use the Invocation API. Russ [EMAIL PROTECTED] on 03/11/99 07:07:58 AM To: [EMAIL PROTECTED] c

Re: how to remotely launch java (nt, linux) ? (off-topic...)

1999-03-08 Thread pridemor
Doesn't JINI address problems like this? [EMAIL PROTECTED] on 03/07/99 07:39:52 PM To: [EMAIL PROTECTED] cc:(bcc: Russell Pridemore/Lex/Lexmark) Subject: how to remotely launch java (nt, linux) ? (off-topic...) Hello, this is definitely off topic, but I'm hoping someone here migh

Re: What should one download, exactly?

1999-03-08 Thread pridemor
The URW fonts are included as an RPM on the RedHat 5.2 CD. I don't think they get installed by default, however. (???) Russ [EMAIL PROTECTED] on 03/07/99 05:14:40 PM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] (bcc: Russell Pridemore/Lex/Lexmark) Subject: Re: What should one down

Re: NATIVE CODE

1999-03-08 Thread pridemor
Look in $(JDK_HOME)/include/genunix/ [EMAIL PROTECTED] on 03/06/99 07:46:01 AM To: [EMAIL PROTECTED] cc:(bcc: Russell Pridemore/Lex/Lexmark) Subject: NATIVE CODE Dear sir, I use linux OS. I want to include a "C" function for writing into sound card in a real-time application u

Re: Java 2 initial impressions

1999-03-05 Thread pridemor
Yes, I read the README. And you suggestion fixed the linking problem. Thanks, Russ [EMAIL PROTECTED] on 03/05/99 01:49:32 PM To: Russell Pridemore@LEXMARK cc: [EMAIL PROTECTED] Subject: Re: Java 2 initial impressions > Russ Pridemore writes: Russ> - The invocation API stuff

Re: java shell script

1999-02-22 Thread pridemor
Oops. Sorry for wasting everyone's time. Turn out that it is a problem with native threads, and it works fine with green threads. Thought I tested that... Russ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: java shell script

1999-02-22 Thread pridemor
Turns out the exec worked. I'm using bash, BTW, to answer the question. I've written lots of shell scripts and never seen anything like this before. I wrote a simple little C program equivalent to the Java class I posted and it runs perfectly from a script. What's the difference??? I normally

Re: java shell script

1999-02-19 Thread pridemor
No, I'm seeing the same problem with both green and native threads... [EMAIL PROTECTED] on 02/19/99 05:17:34 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] cc:(bcc: Russell Pridemore/Lex/Lexmark) Subject: Re: java shell script On Fri, 19 Feb

java shell script

1999-02-19 Thread pridemor
Greetings, I'm having problems running java from within a shell script. The java application mostly runs, but I've noticed that it does not receive a ^C interrupt and it cannot read from stdin when invoked this way. Typing "java ..." directly at my bash prompt does not demonstrate this problem.

Re: Swing 1.1 & Netscape Communicator?

1999-02-11 Thread pridemor
On my RedHat machine, I replaced the soft link in /usr/bin with a shell script which sets the classpath: #!/bin/bash export MOZILLA_HOME=/usr/lib/netscape for i in ${MOZILLA_HOME}/java/classes/*.jar do CP=${CP:-.}:$i done for i in /path/to/swing/*.jar do CP=${CP:-.}:$i done unset i

Re: Fonts under 1.2 on Alpha-Linux

1999-02-10 Thread pridemor
Try editing your properties file and replacing the font you listed with: -b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-iso8859-1 Good luck [EMAIL PROTECTED] on 02/10/99 02:46:39 PM To: [EMAIL PROTECTED] cc:(bcc: Russell Pridemore/Lex/Lexmark) Subject: Fonts under 1.2 on Alpha-L

Re: JBuilder and Linux

1999-01-21 Thread pridemor
Running 'zip -l jbcl2.0.jar' on your Linux box will tell you if the desired class is inside... [EMAIL PROTECTED] on 01/20/99 09:59:14 PM To: [EMAIL PROTECTED] cc:(bcc: Russell Pridemore/Lex/Lexmark) Subject: JBuilder and Linux I wrote a project on JBuilder2.0 (windows), but my web

Re: How to get Netscape 4 working Swing and JMF Applets?

1999-01-13 Thread pridemor
Write a shell script to launch netscape, instead of calling it directly. In the script, you can set your CLASSPATH as needed, including java40.jar. [EMAIL PROTECTED] on 01/13/99 06:28:51 AM To: [EMAIL PROTECTED] cc:(bcc: Russell Pridemore/Lex/Lexmark) Subject: How to get Netscape 4 wo

RE: serial port program

1998-12-30 Thread pridemor
Yes, Sun is most certainly thinking about this topic. Check out http://www.javasoft.com/products/javacomm/index.html [EMAIL PROTECTED] on 12/30/98 08:14:29 AM To: [EMAIL PROTECTED], [EMAIL PROTECTED] cc:(bcc: Russell Pridemore/Lex/Lexmark) Subject: RE: serial port program I