java on linux
Hey, I'd like to help out with the project. What can I do? Corwin
Re: Compilation weirdness
This seems to be a problem of the compiler not being able to determine that the variable has been initialized. I remember having a problem on a Win JDK - (pre 1.1.5) If you declared a variable without initializing it & later initialized it in some if-else statment - it used to crib giving errors about un-initialized errors. Thanks.
JDK 1.1.6v4a problem
I having problems seeing text in textfields and I get lots of the following... Warning: Name: textfield Class: XmTextField Character 'l' not supported in font. Discarded. I didn't get this 1.1.6 I've tried the older font.properties but that made no difference. I'm using 1.1.6v4a on a RH5.0 (with most of the current patches) Clues anyone? (I'll submit a bug when I'm sure it's not me doing something dumb!) Joe -- Joe Carter Software Engineer Brite Voice Systems Ltd, Gatley, Cheshire. UK. mailto:[EMAIL PROTECTED]
Re: JDK1.1.6v4a can't find library libXp.so.6
>On Tue, 8 Sep 1998 [EMAIL PROTECTED] wrote: > >> | --- >> | In message, [EMAIL PROTECTED] writes: >> | >> | I have the same setup as Wim does (RedHat4.2) and encounter the >> | same problems: can't load library libXp.so.6 . >> | >> | For now, you want to grab the .tar.gz for libc5 and install it by hand. >> >> Actually I don't want to be bothered with the upgrade to XFree86-3.3.2 >> if it is not absolutely nescessary. >> >> Does somebody know if the dependency of jdk116v4a on XFree86-3.3.2 >> happened coincidentally or was it on purpose, but just forgotten to >> write about in the release notes... Cristopher Seawood wrote: >The dependency comes from using Motif 2.1 which requires the printing >extension of X, libXp, which is new as of X11R6.3, I think. Motif 2.1 >has been used for several releases of the jdk, so I'm surprised this >seems to be such a big deal. If you look in the redhat-4.2/updates >directory, you'll find the XFree86 3.3.2 rpms for libc5. > Thanks for the information. I have my jdk1.1.6v4a running under RedHat4.2 The library libXp is in XFree86-libs-3_3_3-2-1_i386.rpm. Since I couldn't install ld.so.1.9.9 I kept my 1.9.5 but removed libc.so.5 and libdl.so.1 from $JAVA_HOME/lib/i686/green_threads/ as indicated by Paul Ho and my jdk worked. One problem though. Since I installed XFree86 3.3.2 (I installed all the updates) my X server won't start as a regular user (I can start it as root). When I run X as a regular user I get: xf86OpenConsole: Server must be running with root permissions. You should be using Xwrapper to start the server or xdm. Where to find Xwrapper or what is wrong? Regards Wim Ceulemans
[Fwd: [Fwd: Distribution of runtime portions]]
Hi, I had requested the following information some time back. I will be most obliged if you can give me an idea about the following : Rohit Kaila wrote: > > Rohit Kaila wrote: > > > > Hi, > > > > The SUN documentation says that while JRE can be distributed > > freely with the Java Applications/Applets, the JDK cannot be > > distributed. I wanted to distribute the runtime features of > > the JDK ported to linux with my Java application, can I do so > > freely ?? > > > > thanx, > > --rohit.
Netscape Java Mail Client
thought someone might find this post interesting.. -greg [EMAIL PROTECTED] Subject: source to Grendel (a Java mail reader) released Date: Tue, 08 Sep 1998 18:24:36 -0700 From: Jamie Zawinski <[EMAIL PROTECTED]> Organization: the mystic knights of mozilla, http://www.mozilla.org/ Newsgroups: netscape.public.mozilla.announce, netscape.public.mozilla.mail-news, netscape.public.mozilla.java Followup-To: netscape.public.mozilla.mail-news Grendel is a mail/news client, written in Java. Grendel was a part of the 1997 effort to rewrite Navigator/Communicator from scratch in Java. That project (code named ``Xena,'' but sometimes referred to by the press as ``Javagator'') was cancelled before completion. Nobody is actively maintaining Grendel, and it needs a lot of work before it will be usable. But there it is. Perhaps you'd like to give it a caring home? For details, see http://www.mozilla.org/projects/grendel/ That makes Grendel the third incomplete mail client we've released the source to this year! (Actually, that's not quite true -- we've now released the incomplete source code to one mail client, and the source code to two incomplete mail clients -- but who's counting.) -- Jamie Zawinski [EMAIL PROTECTED]http://www.mozilla.org/ (work) [EMAIL PROTECTED]http://www.jwz.org/ (play)
gcj
hi, FYI: http://sourceware.cygnus.com/java/ -- Levente -- E-Mail: Levente Farkas <[EMAIL PROTECTED]> Homepage: http://www.inf.u-szeged.hu/~lfarkas/ PGP public key & Geek Code: [EMAIL PROTECTED] --
Re: JDK1.1.6v4a can't find library libXp.so.6
On Wed, 9 Sep 1998, Wim Ceulemans wrote: > Thanks for the information. I have my jdk1.1.6v4a running under RedHat4.2 > The library libXp is in XFree86-libs-3_3_3-2-1_i386.rpm. > > One problem though. Since I installed XFree86 3.3.2 (I installed all the > updates) my X server won't start as a regular user (I can start it as root). > Where to find Xwrapper or what is wrong? Xwrapper is in the main XFree86 package. You need to install all of the XFree86*-3.3.2 rpms as there were some security concerns that were addressed, iirc. You'll then want to make /etc/X11/X a symlink to your actual X server (/usr/X11R6/bin/XF86_SVGA) and make /usr/X11R6/bin/X a symlink to /etc/X11/X. Conversely, you could just make /usr/X11R6/bin/X a symlink to your server but I believe there are reasons (fsstnd related) for using the former method. - cls
ddd, gdb, jdb and java: debuging on linux
Hi, I've been missing a good debuger for java on linux for quite some time. It was then that I found this on the ddd (http://www.cs.tu-bs.de/softech/ddd/) manual, under "News": ** - JDB support. DDD now also supports JDB as inferior debugger. All important JDB features are available via the GUI. - Java support. Requires GDB 4.17 or later (or JDB, of course). All data display features are available in Java. ** Well, I went nuts, 'cause ddd is the cream of the crop, I personally think... And I went to try it for myself. After guessing a lot (couldn't find a straight documentation on ddd for this), I found that a "ddd --jdb &" does the first trick (i.e. to use jdb as back end for ddd). It's somewhat cumbersome, as you have to restart things every time your program exits (and starting jdb takes quite some time), but the worst is: I could not display any variable... It tells me my variable is not valid in that context. But I could do breakpoints, "steps" and "nexts", etc... Well, now I could not figure out how to do the second trick (i.e. debug java with gdb). I have gdb 4.17, but I couldn't find a way to use it to debug a java program. Did any of you folks have success on this? Thanks a lot! -- Luiz Otavio L. ZorzellaComputer Engineer [EMAIL PROTECTED]
Re: ddd, gdb, jdb and java: debuging on linux
On Wed, 9 Sep 1998 12:10:23 -0700 (PDT), Luiz Otavio L. Zorzella wrote: >Hi, > >I've been missing a good debuger for java on linux for quite some >time. It was then that I found this on the ddd >(http://www.cs.tu-bs.de/softech/ddd/) manual, under "News": I don't know if it is "good" but the IBM Alphaworks debugger known as JIKES DEBUGGER works rather well (IMHO) for most JAVA programs. It is written in 100% "pure" Java so it runs if you Java can do AWT correctly. The nice thing is that it comes with source code too. Check out the 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 Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz
Re: JDK1.1.6v4a can't find library libXp.so.6
Wim Ceulemans wrote: >> Where to find Xwrapper or what is wrong? > Cristopher Seawood wrote: >Xwrapper is in the main XFree86 package. You need to install all of the >XFree86*-3.3.2 rpms as there were some security concerns that were >addressed, iirc. You'll then want to make /etc/X11/X a symlink to your >actual X server (/usr/X11R6/bin/XF86_SVGA) and make /usr/X11R6/bin/X a >symlink to /etc/X11/X. Conversely, you could just make /usr/X11R6/bin/X a >symlink to your server but I believe there are reasons (fsstnd related) >for using the former method. > If I try to install the main XFree86 package (XFree86-3_3_2-1_i386.rpm) I get a message saying: pam > 0.59 is needed But I only find a pam 0.59 for glibc (Redhat 5.0). If I try to install this I get: failed dependancies: libnsl.so.1 libcrypt.so.1 libc.so.6 ld-linux.si.2 Regards Wim Ceulemans
Re: Expanding arrays
Sounds like you need a Vector object ( java.util.Vector ) Maarten van Leunen wrote: > Howdie, > > Is there a way to expand arrays. Like, I want to put a unknown number of > strings in an array. > > And then "return" the array of Strings in the Method. > > I read one string, and wish to add it to the array without having to > define the amount of Strings in the array previously. > > -- > Maarten van Leunen > > Student - Fontys Institute of Technology Eindhoven > e-mail: [EMAIL PROTECTED] > http://www.il.fontys.nl/~maartenl > http://lok.il.fontys.nl/
Re: JDK1.1.6v4a can't find library libXp.so.6
Wim Ceulemans wrote: > > >On Tue, 8 Sep 1998 [EMAIL PROTECTED] wrote: > Cristopher Seawood wrote: > >The dependency comes from using Motif 2.1 which requires the printing > >extension of X, libXp, which is new as of X11R6.3, I think. Motif 2.1 > >has been used for several releases of the jdk, so I'm surprised this > >seems to be such a big deal. If you look in the redhat-4.2/updates > >directory, you'll find the XFree86 3.3.2 rpms for libc5. > > > > Thanks for the information. I have my jdk1.1.6v4a running under RedHat4.2 > The library libXp is in XFree86-libs-3_3_3-2-1_i386.rpm. > > Since I couldn't install ld.so.1.9.9 I kept my 1.9.5 but removed libc.so.5 > and libdl.so.1 from $JAVA_HOME/lib/i686/green_threads/ as indicated by Paul > Ho and my jdk worked. > > One problem though. Since I installed XFree86 3.3.2 (I installed all the > updates) my X server won't start as a regular user (I can start it as root). > > When I run X as a regular user I get: > > xf86OpenConsole: Server must be running with root permissions. > You should be using Xwrapper to start the server or xdm. > > Where to find Xwrapper or what is wrong? > > Regards > Wim Ceulemans You need to setuid the X server to root. Or, you need to get a copy of Xwrapper, which can be found at the Xfree86 ftp site. (ftp://ftp.xfree86.org) I'm not sure of the exact location, but you should be able to find it there. If not, drop me a line and I'll do some checking for it. Its easier than figuring out which rpm to download. -- *** Bob Schaefer | "Raisins scare me..." work: [EMAIL PROTECTED] |--Joon -"Benny & Joon" home: [EMAIL PROTECTED] | ***
Re: [Fwd: [Fwd: Distribution of runtime portions]]
Rohit Kaila wrote: > I had requested the following information some time back. > I will be most obliged if you can give me an idea about > the following : > > > > The SUN documentation says that while JRE can be distributed > > > freely with the Java Applications/Applets, the JDK cannot be > > > distributed. I wanted to distribute the runtime features of > > > the JDK ported to linux with my Java application, can I do so > > > freely ?? You *can* distribute the JRE. That's exactly what you need. - Dan
Re: JDK 1.1.6v4a problem
I had the similar problem with Netsape! After I install the redhat5.1 and upgrade to netscape4.0.6, the problem went away! On Wed, 9 Sep 1998, Joe Carter wrote: > I having problems seeing text in textfields and > I get lots of the following... > > Warning: > Name: textfield > Class: XmTextField > Character 'l' not supported in font. Discarded. > > I didn't get this 1.1.6 > I've tried the older font.properties but that made > no difference. > > I'm using 1.1.6v4a on a RH5.0 (with most of the current patches) > > Clues anyone? > > (I'll submit a bug when I'm sure it's not me doing something dumb!) > > Joe > > -- > Joe Carter Software Engineer > Brite Voice Systems Ltd, Gatley, Cheshire. UK. > mailto:[EMAIL PROTECTED] > >
Re: JDK1.1.6v4a can't find library libXp.so.6
On Wed, 9 Sep 1998, Wim Ceulemans wrote: > If I try to install the main XFree86 package (XFree86-3_3_2-1_i386.rpm) I > get a message saying: > > pam > 0.59 is needed > Ok, I talked to Mike Wangsmo at RedHat and it looks as though there are problems with the updates directory. He said that this problem was corrected over a month ago and that it should be straightened out in a day or so. Sorry for the inconvenience. - cls