RE: Alpha port?
> "Mark" == Mark Morgan <[EMAIL PROTECTED]> writes: Mark> Hello - We are looking at doing some serious development on Mark> Alpha Linux, and were wondering what the status of JDK for Mark> it is. Can you shed any light on it for us? Mark> Thanks, -- Mark Morgan Partner Aurora Logic, LLC Mark> [EMAIL PROTECTED] 406 863 9863 phone 406 863 4915 fax I too am interested in the JDK for alpha linux. I have the binary distribution from Uncle George. jdk116_alpha_21164a_linux_bin_v1.gz jdk116_alpha_linux_classes_v1.gz But found some problems when trying to use habanero on top of it. Further, I'd be interested in getting the diffs so I could try them on jdk117 and help out with the alpha port.
Re: libawt.so purgatory
(Jon Peterson) wrote: > /usr/local/java/bin/i586/green_threads/java_ns: can't resolve symbol > 'XFreeColors' Jon, It appears to be running java_ns...? I dont have v2 but the README.linux for v5 states: "You will not be able to run any AWT based applications with the nonstatically linked java interpreter, so only set NS_JAVA for non-GUI based applications. [For the curious: in the bin/i586/green_threads/ directory, the executables (java for the static version, and java_ns for the non-static version) are kept. " I got the same error message by setting NS_JAVA=true in a otherwise good setup... regards jim watson
question about installing
Hi, i'm not sure if this is the right email address to send a question of this nature to, i apologize if it isn't. I just downloaded the file jdk_1.1.6-v5-glibc-x86-tar.bz2 and i am unsure how to install it. I am new to Linux, and i am aware of the command 'tar zxvf filename', but i get an error message that it doens't look like a tar archive. i tried renaming to a .Z and .tar extension but it didn't work. thanks.
Re: question about installing
On Sun, 18 Oct 1998, Sunny Sandhu wrote: > > Hi, > > i'm not sure if this is the right email address to send a question of > this nature to, i apologize if it isn't. > > I just downloaded the file jdk_1.1.6-v5-glibc-x86-tar.bz2 and i am > unsure how to install it. I am new to Linux, and i am aware of the > command 'tar zxvf filename', but i get an error message that it doens't > look like a tar archive. i tried renaming to a .Z and .tar extension > but it didn't work. > > thanks. > First you should have bzip2 package installed in you machine. If you are using RedHat < 5.0 try ftp://ftp.redhat.com/pub/contrib/i386/bzip2-0.9.0b-1.i386.rpm if RedHat > 5.0 ftp://ftp.redhat.com/pub/redhat/redhat-5.1 (or 0)/RedHat/RPMS/bzip2-0.1pl2-1.i386.rpm If you have other linux distribution try http://www.digistar.com/bzip2/bzip2-*.* After this try: bzip2 -d jdk...tar.bz2 and you'll obtain the tar file. Run: tar -xf jdk..tar and you'll obtain that you wish. Another way (if you have a RedHat distribution installed on your machine) is to install the jdk rpm's from: ftp://ftp.redhat.com/pub/contrib/i386/jdk.rpm ( RedHat <= 4.2) or ftp://ftp.redhat.com/pub/contrib/hurricane/i386/jdkrpm ( RedHat >= 5.0) Good luck, === Sorin LINGUREANU ([EMAIL PROTECTED], [EMAIL PROTECTED]) Network Administrator in Data Communication Center "Gh. Asachi" Technical University of Iasi http://www.tuiasi.ro/pages/CCTI Bd. Copou, nr. 22 Work Phone: +40 (0) 32 214410 Iasi - ROMANIA Mobile Phone: +40 (0) 92 242321 ===
Re: libawt.so purgatory
On Sun, 18 Oct 1998 17:56:17 +1000, jim watson wrote: > > > > >(Jon Peterson) wrote: > >> /usr/local/java/bin/i586/green_threads/java_ns: can't resolve symbol >> 'XFreeColors' > >Jon, > >It appears to be running java_ns...? > >I dont have v2 but the README.linux for v5 states: > >"You will not be able to run any AWT based applications with the nonstatically >linked java interpreter, so only set NS_JAVA for non-GUI based applications. >[For the curious: in the bin/i586/green_threads/ directory, the executables >(java for the static version, and java_ns for the non-static version) are kept. >" > >I got the same error message by setting NS_JAVA=true in a otherwise good >setup... Yup, that is what would happen. If you want to use the dynamically linked Java with AWT you need to set DYN_JAVA=true. This version will need to have Motif shared libraries on your system. Normally you would not set either DYN_JAVA or NS_JAVA if you want to run AWT and do not own a copy of Motif. NS_JAVA is mainly there so that you can run non-GUI Java applications without X-Windows installed. Such 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
On Sun, 18 Oct 1998 03:17:58 -0600, Sunny Sandhu wrote: > >Hi, > >i'm not sure if this is the right email address to send a question of >this nature to, i apologize if it isn't. > >I just downloaded the file jdk_1.1.6-v5-glibc-x86-tar.bz2 and i am >unsure how to install it. I am new to Linux, and i am aware of the >command 'tar zxvf filename', but i get an error message that it doens't >look like a tar archive. i tried renaming to a .Z and .tar extension >but it didn't work. .tar.bz2 files are much like .tar.gz files only they are compressed using bzip2 rather than gzip. bzip2 is rather new and not "fully established" yet so many systems do not have this installed. Tar also does not directly know about bzip2 (at least the versions I have) So, you need to get BZIP2 to decompress the file and then run that 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 gzip filter) 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: libawt.so purgatory
Thanks to Mr. Watson and Mr. Sinz for replying. Yes, changing the NS_JAVA environmental variable worked. At some point in the install procedure I had set it in an attempt to resolve an earlier difficulty... but instead of unsetting it, I unset, as my earlier note suggested, JAVA_NS. Heh. Thanks again. - Jon
installation?
Hi there - I'm an experienced linux user but brand new to java. I've followed the directions in the linux java faq (http://www.blackdown.org/java-linux/docs/faq/FAQ-java-linux-3.html#ss3.2) for installation on (a rigorously patched) i386 RH 5.1: --(snip)-- $ tar zxvf /tmp/jdk1.1.6.tar.gz $ export DISPLAY=:0 $ export PATH=/usr/local/jdk1.1.6/bin:$PATH $ appletviewer \ /usr/local/jdk1.1.6/demo/awt-1.1/lightweight/OpenlookButtons/example.html --(snip)-- All easy enough, except that the jdk_1.1.6-v5-glibc-x86.tar.gz file doesn't seem to contain a "demo" subdirectory or anything called "awt". Just "lib", "bin", and "include". Are there other files I need to get and install for a complete installation? Additionally, there is a "biss-awt" subdir on the ftp site with multiple versions and I'm confused about which (if any) that I need and where (if anywhere) I would put them under the "jdk116_v5" subdir. They also contain no "demo" subdir. One more thing, what are all the other files in the "i386" directory: rt_1.1.6-v5-glibc-x86.tar.gz jre_1.1.6-v5-glibc-x86.tar.gz i18n_1.1.6-v5-glibc-x86.tar.gz What are they, are they required, and where do they get installed? Please enlighten me. I'm really confused and just want to write java GUIs. Thanks! -- Clint Miller - KD5BYY http://www.infinop.com/ Infinop, Inc. mailto:[EMAIL PROTECTED] 3401 E. University #104 voice:940.484.1165/fax:0586 Denton, TX 76208
Sending objects down a stream problem
I'm almost sure this is one of those problems cuased by my misconception of how things work in Java v.s. C++, but I have run this thing around for days without resolve. Maybe someone can see the obvious I'm trying to send a serialized class down a network pipe and am only getting the first one on the other end. The rest seem to vanish. The concept is to have a gpsStat class serialized and sent down the pipe each second to a client that will display it. My code appears to be working for the most part except that the object sent from the server to the client never changes from the first one I sent. On the sending end I have: gpsStat y=new gpsStat(); //make object to serialize while(true) {//fake data into gpsStat y.month++; y.day++; y.year++; sleep(500); //fake pause to simulate GPS reciever objOStream.writeObject(y); //send it objOStream.flush(); } while(true)//keep printing out objects as they arrive { gpsStat g=(gpsStat)objIStream.readObject(); //get object System.out.println("server returned -> "+g.toString()); //print object } Anybody see my mistake? Full source and example are at http://ouray.cudenver.edu/~gavalent/java/problem1.html -- Glenn Valenta Engineering @ http://www.coloradostudios.com [EMAIL PROTECTED] http://ouray.cudenver.edu/~gavalent/ [EMAIL PROTECTED] Personal mail [EMAIL PROTECTED] Work mail
Re: Sending objects down a stream problem
On Sun, 18 Oct 1998 17:29:52 -0600, Glenn Valenta wrote: >I'm almost sure this is one of those problems cuased by >my misconception of how things work in Java v.s. C++, >but I have run this thing around for days without resolve. > >Maybe someone can see the obvious > >I'm trying to send a serialized class down a network pipe and am >only getting the first one on the other end. The rest seem to vanish. [code deleted...] You are trying to send the same object down the same (already open) object output stream. The serialization stuff keeps track of what 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: Sending objects down a stream problem
> Michael Sinz writes: Michael> On Sun, 18 Oct 1998 17:29:52 -0600, Glenn Valenta wrote: >> I'm almost sure this is one of those problems cuased by >> my misconception of how things work in Java v.s. C++, >> but I have run this thing around for days without resolve. >> >> Maybe someone can see the obvious >> >> I'm trying to send a serialized class down a network pipe and am >> only getting the first one on the other end. The rest seem to vanish. Michael> [code deleted...] Michael> You are trying to send the same object down the same Michael> (already open) object output stream. The serialization Michael> stuff keeps track of what was sent already and does not Michael> send it again. Michael> You can either send new objects or close and open new Michael> streams for each one. You can use ObjectOutputStream::reset() instead of closing/opening new streams. 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
Printing from applet using Netscape
Java people, I'm trying to print from my applet ran in Netscape 4.05 ... My applet is in a signed jar and uses a plugin ... Running the applet and trying to print, I get the message (from the Java console): Invalidating certificate principals in [http://blah-blah-blah/,] What needs to be done before I could get to print from my applet? Than'x for all the help ... :-) -- Laura