InputStreamReader, file encoding and GUI
Hallo, how to read in and display national characters in a Java GUI program? Configuration: Linux RH 6.1, KDE with Polish locales + JDK117_v3. There are 2 main char encodings in Poland: Cp1250 (Win32) and iso8859_2 (Unix). I have following 3 files, containing PL national characters: pol.iso8859_2 (8859_2 encoding) pol.cp1250 (Cp1250 encoding) pol.unicode (Unicode encoding) I have also a GUI program, which reads a file using InputStreamReader with a particular encoding (this can be set thru a Choice object). Next a string is constructed and displayed in TextArea. The sequence looks like: File --> char[] --> String --> GUI Now, what I would expect is, when I load eg. pol.iso8859_2 using 8859_2 encoding I should see proper PL characters. One could draw the following table: File/Encoding 8859_2 Cp1250 Unicode pol.iso8859_2ok pol.cp1250 ok pol.unicode ok This does work on WinNT, unfortunately it does not work on Linux. The only combination which works is: pol.iso8859_2 with 8859_1 encoding (!?). 8859_1 is also the default encoding on Linux (!?), although LANG is set to pl_PL. Now, my questions are: 1. Why 8859_1 is the default encoding? 2. Why the table above "does not work" on Linux? 3. Why does pol.iso8859_2 "work" with 8859_1? 4. It is very interesting to know what happens during the last step: String --> GUI. I suppose String is converted to the default encoding, but I am not sure. If you wish I can post a simple program and pol.* files to demonstrate the problem. Thanks and best regards Marek Gmyrek. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Installing JDK1.2.2 RC1
After installation I executed 'java' to see if the results are correct, but java.sh is unable to generate the correct path to the java executable files. I have 'Corel Linux'. Thanks ... and sorry for my english. 'Con el conocimiento se acrecientan las dudas' Goethe. Juan Antonio López Fernández Dpto. Informática Sevilla Siglo XXI, S.A. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Nathan's Book
I realize that this is way off-topic for this list, and I apologize for that... But there's a rather nice web-site put together by Steve Wells and Brian Gannon that compares prices of books at a number of on-line sites: http://www.snmputils.com/booksearch/ It's amazing how the prices vary. For example, a search for Nathan Meyers' "Java Programming for Linux" (ISBN 1571691669) turns up: SITE PRICE VCSS $29.99 KingBooks$31.99 Borders $34.99 BookStreet $35.99 BooksaMillion$39.99 BookBuyer$42.49 Amazon $42.49 Powells $49.99 Softpro $49.99 And no, I'm not affiliated with any of these stores or the authors of the above site/PERL-script. I just use it a lot. Rich Ibbotson [EMAIL PROTECTED] Weiqi Gao wrote: > > Hi, > > I saw Nathan Meyers' new 'Java Programming for Linux' at Borders. > Browsed through it and found it packed with information that a > Java-Linux developer would want/need/find indespensable. Not a > textbook/tutorial. Lots of hints, tools, de-hype-ifications, whys, and > coverage. The spirit of Linux shines through throughout. > > I'm buying it from Amazon.com, they are giving a $7.50 discount on this > book. > > Thank Nathan you for such a wonderful book. And have fun updating it > every year for the next five years. You are going to update it, aren't > you? > > -- > Weiqi Gao > [EMAIL PROTECTED] > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
applet
Dear List, This is a more of a Java question. How can I get an applet to show in an applet window instead of a browser? For example, if I had a link on a page, the user clicks the link and my applet appears in it's own window. Cheers, Marcus Marcus Monaghan BOOT Computers Limited Tel : 01270 611299 Fax : 01270 611302 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: Nathan's Book
Just got my copy from FatBrain... get 'em while they're hot! Tom Copeland Junior Developer [EMAIL PROTECTED] -Original Message- From: kornel c [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 09, 2000 2:53 PM To: Nathan Meyers Cc: [EMAIL PROTECTED] Subject: Re: Nathan's Book Nathan, Congratulations! I wish you good luck with your book. I'll check it out myself. -kornel - Original Message - From: "Nathan Meyers" <[EMAIL PROTECTED]> To: "Weiqi Gao" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, January 09, 2000 9:03 AM Subject: Re: Nathan's Book > Weiqi Gao wrote: > > > > Hi, > > > > I saw Nathan Meyers' new 'Java Programming for Linux' at Borders. > > Thanks for the unsolicited testimonial. I finally got to touch a copy > myself for the first time yesterday, so I can finally announce: > > Now available in stores: Java Programming on Linux! > > It's very focused on Java solutions for Linux, with heavy coverage of > the Blackdown JDK and a look at many other solutions - including kaffe, > gcj, japhar, towerj, and more. What it is not, as you pointed out, is a > tutorial on Java or Linux - that ground is already well covered by > hundreds of other books. > > Assuming the market cooperates, I'll do updated editions. The Web site > (http://www.javalinux.net) will collect corrections and information > updates - and I'd be most appreciative of any corrections and updates > people send to me. There's a lot of activity to keep track of right now, > and I'm bound to miss a spot or two. > > > Nathan Meyers > [EMAIL PROTECTED] > > > > > Browsed through it and found it packed with information that a > > Java-Linux developer would want/need/find indespensable. Not a > > textbook/tutorial. Lots of hints, tools, de-hype-ifications, whys, and > > coverage. The spirit of Linux shines through throughout. > > > > I'm buying it from Amazon.com, they are giving a $7.50 discount on this > > book. > > > > Thank Nathan you for such a wonderful book. And have fun updating it > > every year for the next five years. You are going to update it, aren't > > you? > > > > -- > > Weiqi Gao > > [EMAIL PROTECTED] > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Which Linux JVM is better?
For what it's worth, my experience has been that the Blackdown RC3 port is much more scaleable and stable than the Inprise Linux port. I'd place my bets on the Blackdown port for server-side performance and scaleability. Although somewhat slow in porting, Blackdown is doing a very thorough job. My comments are based on tests using green threads without a JIT, at the moment. JC Andreas Rueckert wrote: > Hi! > > On Son, 09 Jan 2000 Nathan Meyers wrote: > > > > >Depends what you want to do. If you want to use native threads, you > >need the Blackdown JDK. If you want to use tools that depend on the > >Java Platform Debugging Architecture (like JBuilder and other IDEs), > >you need the Sun/Inprise JDK. > > How stable are the Blackdown RC3 native threads? Has anyone managed to run > LotusXSL, XP/XT with native threads? I had to use green threads here. > > Ciao, > Andreas > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Nathan's Book
Rich Ibbotson wrote: > > I realize that this is way off-topic for this list, and I apologize for that... > But there's a rather nice web-site put together by Steve Wells and Brian Gannon > that compares prices of books at a number of on-line sites: > http://www.snmputils.com/booksearch/ > It's amazing how the prices vary. For example, a search for Nathan Meyers' > "Java Programming for Linux" (ISBN 1571691669) turns up: I don't entirely believe these results. Early pricing information from the publisher was based on a low pagecount estimate, and some booksellers are taking time to catch up to the final list price. You'll need to visit the vendor and see what list price they're claiming to discount - if it's not $49.99, then you're not seeing their real discount price. Nathan > > SITE PRICE > VCSS $29.99 > KingBooks$31.99 > Borders $34.99 > BookStreet $35.99 > BooksaMillion$39.99 > BookBuyer$42.49 > Amazon $42.49 > Powells $49.99 > Softpro $49.99 > > And no, I'm not affiliated with any of these stores or the authors of the above > site/PERL-script. I just use it a lot. > > Rich Ibbotson > [EMAIL PROTECTED] > > Weiqi Gao wrote: > > > > Hi, > > > > I saw Nathan Meyers' new 'Java Programming for Linux' at Borders. > > Browsed through it and found it packed with information that a > > Java-Linux developer would want/need/find indespensable. Not a > > textbook/tutorial. Lots of hints, tools, de-hype-ifications, whys, and > > coverage. The spirit of Linux shines through throughout. > > > > I'm buying it from Amazon.com, they are giving a $7.50 discount on this > > book. > > > > Thank Nathan you for such a wonderful book. And have fun updating it > > every year for the next five years. You are going to update it, aren't > > you? > > > > -- > > Weiqi Gao > > [EMAIL PROTECTED] > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Ziff-Davis Story: Java and Open Source
Ziff-Davis' Jesse Berst has a column today pushing Open Source as Java's most likely salvation: http://www.zdnet.com/anchordesk/story/story_4306.html A particularly memorable excerpt: "Sun could revive the Java dream by making it an open source product. Unhappily, asking Sun CEO Scott McNealy to take that route is like asking Saddam Hussein to fix Serbia. Doing the right thing just won't occur to the man." Nathan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
REQUEST for voters!!!!!
Now I think I'm not the only one who needs to print from a JAVA application. And I suppose I am not the only one who has more than one printer. And I guess also, some of us use printers with more than one tray. I requested in May 1999 a more ?ADVANCED? printer support and I am afraid SUN is not willing or doesn't want to find the time to implement it. Now I would like to ask u all to view the RFE #4137899 and it's related and if u think, like I do, it's time for java applications to be able to do the requested thinks, PLEASE VOTE #4137899 Thx in advance Patrick -- - Save software competition, use Linux and Java! mailto:[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Nathan's Book
For example, Quantum Bookstore in Cambridge cited $39.99, but called it "preliminary" price. Jacob Nikom Nathan Meyers wrote: > > Rich Ibbotson wrote: > > > > I realize that this is way off-topic for this list, and I apologize for that... > > But there's a rather nice web-site put together by Steve Wells and Brian Gannon > > that compares prices of books at a number of on-line sites: > > http://www.snmputils.com/booksearch/ > > It's amazing how the prices vary. For example, a search for Nathan Meyers' > > "Java Programming for Linux" (ISBN 1571691669) turns up: > > I don't entirely believe these results. Early pricing information from > the publisher was based on a low pagecount estimate, and some > booksellers are taking time to catch up to the final list price. You'll > need to visit the vendor and see what list price they're claiming to > discount - if it's not $49.99, then you're not seeing their real > discount price. > > Nathan > > > > > SITE PRICE > > VCSS $29.99 > > KingBooks$31.99 > > Borders $34.99 > > BookStreet $35.99 > > BooksaMillion$39.99 > > BookBuyer$42.49 > > Amazon $42.49 > > Powells $49.99 > > Softpro $49.99 > > > > And no, I'm not affiliated with any of these stores or the authors of the above > > site/PERL-script. I just use it a lot. > > > > Rich Ibbotson > > [EMAIL PROTECTED] > > > > Weiqi Gao wrote: > > > > > > Hi, > > > > > > I saw Nathan Meyers' new 'Java Programming for Linux' at Borders. > > > Browsed through it and found it packed with information that a > > > Java-Linux developer would want/need/find indespensable. Not a > > > textbook/tutorial. Lots of hints, tools, de-hype-ifications, whys, and > > > coverage. The spirit of Linux shines through throughout. > > > > > > I'm buying it from Amazon.com, they are giving a $7.50 discount on this > > > book. > > > > > > Thank Nathan you for such a wonderful book. And have fun updating it > > > every year for the next five years. You are going to update it, aren't > > > you? > > > > > > -- > > > Weiqi Gao > > > [EMAIL PROTECTED] > > > > > > -- > > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Nathan's Book
Does "Java Programming for Linux" have anything about programming Java 3D on Linux? Jacob Nikom Nathan Meyers wrote: > > Rich Ibbotson wrote: > > > > I realize that this is way off-topic for this list, and I apologize for that... > > But there's a rather nice web-site put together by Steve Wells and Brian Gannon > > that compares prices of books at a number of on-line sites: > > http://www.snmputils.com/booksearch/ > > It's amazing how the prices vary. For example, a search for Nathan Meyers' > > "Java Programming for Linux" (ISBN 1571691669) turns up: > > I don't entirely believe these results. Early pricing information from > the publisher was based on a low pagecount estimate, and some > booksellers are taking time to catch up to the final list price. You'll > need to visit the vendor and see what list price they're claiming to > discount - if it's not $49.99, then you're not seeing their real > discount price. > > Nathan > > > > > SITE PRICE > > VCSS $29.99 > > KingBooks$31.99 > > Borders $34.99 > > BookStreet $35.99 > > BooksaMillion$39.99 > > BookBuyer$42.49 > > Amazon $42.49 > > Powells $49.99 > > Softpro $49.99 > > > > And no, I'm not affiliated with any of these stores or the authors of the above > > site/PERL-script. I just use it a lot. > > > > Rich Ibbotson > > [EMAIL PROTECTED] > > > > Weiqi Gao wrote: > > > > > > Hi, > > > > > > I saw Nathan Meyers' new 'Java Programming for Linux' at Borders. > > > Browsed through it and found it packed with information that a > > > Java-Linux developer would want/need/find indespensable. Not a > > > textbook/tutorial. Lots of hints, tools, de-hype-ifications, whys, and > > > coverage. The spirit of Linux shines through throughout. > > > > > > I'm buying it from Amazon.com, they are giving a $7.50 discount on this > > > book. > > > > > > Thank Nathan you for such a wonderful book. And have fun updating it > > > every year for the next five years. You are going to update it, aren't > > > you? > > > > > > -- > > > Weiqi Gao > > > [EMAIL PROTECTED] > > > > > > -- > > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Nathan's Book
Jacob Nikom wrote: > > Does "Java Programming for Linux" have anything about programming Java > 3D on Linux? There's a chapter on how to build, install, and test-drive the current Linux Java3D implementation. Nathan > Jacob Nikom > > Nathan Meyers wrote: > > > > Rich Ibbotson wrote: > > > > > > I realize that this is way off-topic for this list, and I apologize for that... > > > But there's a rather nice web-site put together by Steve Wells and Brian Gannon > > > that compares prices of books at a number of on-line sites: > > > http://www.snmputils.com/booksearch/ > > > It's amazing how the prices vary. For example, a search for Nathan Meyers' > > > "Java Programming for Linux" (ISBN 1571691669) turns up: > > > > I don't entirely believe these results. Early pricing information from > > the publisher was based on a low pagecount estimate, and some > > booksellers are taking time to catch up to the final list price. You'll > > need to visit the vendor and see what list price they're claiming to > > discount - if it's not $49.99, then you're not seeing their real > > discount price. > > > > Nathan > > > > > > > > SITE PRICE > > > VCSS $29.99 > > > KingBooks$31.99 > > > Borders $34.99 > > > BookStreet $35.99 > > > BooksaMillion$39.99 > > > BookBuyer$42.49 > > > Amazon $42.49 > > > Powells $49.99 > > > Softpro $49.99 > > > > > > And no, I'm not affiliated with any of these stores or the authors of the above > > > site/PERL-script. I just use it a lot. > > > > > > Rich Ibbotson > > > [EMAIL PROTECTED] > > > > > > Weiqi Gao wrote: > > > > > > > > Hi, > > > > > > > > I saw Nathan Meyers' new 'Java Programming for Linux' at Borders. > > > > Browsed through it and found it packed with information that a > > > > Java-Linux developer would want/need/find indespensable. Not a > > > > textbook/tutorial. Lots of hints, tools, de-hype-ifications, whys, and > > > > coverage. The spirit of Linux shines through throughout. > > > > > > > > I'm buying it from Amazon.com, they are giving a $7.50 discount on this > > > > book. > > > > > > > > Thank Nathan you for such a wonderful book. And have fun updating it > > > > every year for the next five years. You are going to update it, aren't > > > > you? > > > > > > > > -- > > > > Weiqi Gao > > > > [EMAIL PROTECTED] > > > > > > > > -- > > > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > > > -- > > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] begin:vcard n:Meyers;Nathan url:http://www.javalinux.net version:2.1 email;internet:[EMAIL PROTECTED] title:Author: Java Programming on Linux fn:Nathan Meyers end:vcard
Re: applet
Instantiate a new Frame and use it instead. public class blah extends Applet { public void init() { Frame f = new Frame("Text"); f.setBounds(100,50,300,100); f.show(); } } On Mon, 10 Jan 2000 [EMAIL PROTECTED] wrote: > Dear List, > This is a more of a Java question. > > How can I get an applet to show in an applet window instead of a browser? > For example, if I had a link on a page, the user clicks the link and my > applet appears in it's own window. > > Cheers, > Marcus -- Trent Jarvi [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Nathan's Book
I guess they are having trouble catching up, as suggested. Borders has it listed twice: once as $39.99 (status = "Not yet published") and once as $34.99 ($15 off the cover price, ships in 24 hours). But they don't list an author on either version! The "low bidder" (vcss.com) has altered their price from $29.99 to $37.99 since this morning. Jacob Nikom wrote: > > For example, Quantum Bookstore in Cambridge cited $39.99, but called > it "preliminary" price. > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
jdk1.2.2 on Slackware?
Hi... I am trying to get jdk1.2.2 to run on Slackware but it doesn't seem to work. I read on the blackdown's faq that it works with the latest libc5 but it's not working... here's my configuration: libc.so.5.4.46 (latest) ld1.9.9 (latest) Here's what happens when I do java: java was not found in /bin/i386/native_threads/java I am currently running jdk1.7 which works fine! Thanks. /-\ | Pedro Guimaraes -- [EMAIL PROTECTED] | \-|-|-/ __o | | _`\<, .../...\...(*)/(*) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
HELP: jdk122rc2 swing stuff doesn't work
I downloaded and unpacked jdk1_2_2rc2-linux-i386.tar.gz. I assume that the lack of installation instructions means that the java examples in demo/ can be run in-place i.e. there's no need to define environment varibales such as CLASSPATH and JAVA_HOME. The README files with each demo seem to support this. Obviously I've fixed my PATH so that the java binaries in bin/ are used. Running the examples from a shell using "java -jar .jar" produces the following output (this example taken from the Stylepad demo): % java -jar Stylepad.jar ... --snip some rubbish about adobe-symbol font not found-- ... Exception in thread "main" java.lang.Error: can't load javax.swing.plaf.metal.MetalLookAndFeel at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:856) at javax.swing.UIManager.initialize(UIManager.java:926) at javax.swing.UIManager.maybeInitialize(UIManager.java:948) at javax.swing.UIManager.getUI(UIManager.java:559) at javax.swing.JPanel.updateUI(JPanel.java:110) at javax.swing.JPanel.(JPanel.java:70) at javax.swing.JPanel.(JPanel.java:100) at javax.swing.JRootPane.createGlassPane(JRootPane.java:224) at javax.swing.JRootPane.(JRootPane.java:181) at javax.swing.JFrame.createRootPane(JFrame.java:154) at javax.swing.JFrame.frameInit(JFrame.java:147) at javax.swing.JFrame.(JFrame.java:124) at Stylepad.main(Stylepad.java:73) Now, I've checked jre/lib/rt.jar and javax.swing.plaf.metal.MetalLookAndFeel.class is definitely present. So what do I do now ? Alistair. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Java 3d installation problem
Hi, I run RedHat 6.0, libc-2.1.1 and Blackdown jdk1.2pre-v2-debug.tar.bz2. I installed Java3D package from ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/java3d/1.1.1/i386/ Everything went smoothly, even the installation of the MesaGL library. I was able to run a lot of MesaGL demos. However, when I started to run Java3d examples, every example complained about the lack of libMesaGl.so.3 library: appletviewer -J-mx64m HelloUniverse.html java.lang.UnsatisfiedLinkError: /homes/nikom/Java/jdk1.2/jre/lib/i386/libJ3D.so: libMesaGL.so.3: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(Compiled Code) at java.lang.ClassLoader.loadLibrary(Compiled Code) at java.lang.Runtime.loadLibrary0(Compiled Code) at java.lang.System.loadLibrary(Compiled Code) at javax.media.j3d.UniverseManager$1.run(Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at javax.media.j3d.UniverseManager.(Compiled Code) at javax.media.j3d.VirtualUniverse$2.run(Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at javax.media.j3d.VirtualUniverse.(VirtualUniverse.java:464) at HelloUniverse.(Compiled Code) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Compiled Code) at sun.applet.AppletPanel.createApplet(Compiled Code) at sun.applet.AppletPanel.runLoader(Compiled Code) at sun.applet.AppletPanel.run(Compiled Code) However, Mesa's installation script did not create MesaGL library - it only produced libGL.so, libGLU.so, libglut.so, etc. How I can get libMesaGL.so and where I have to put it? Thank you, Jacob Nikom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java 3d installation problem
Jacob, Just make a symlink to libGL.so as libMesaGL.so.3 - in Mesa3D 3.x, the default for the build is to name the libraries libGL.so etc., for easier swappability with "real" OpenGL implementations. Earlier versions of Mesa3D used the name libMesaGL.so for the libGL.so library. The sumlink can be created in whichever directory your libGL.so lives in. --Jeff Jacob Nikom wrote: > > Hi, > > I run RedHat 6.0, libc-2.1.1 and Blackdown jdk1.2pre-v2-debug.tar.bz2. > I installed Java3D package from > ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/java3d/1.1.1/i386/ > > Everything went smoothly, even the installation of the MesaGL library. > I was able to run a lot of MesaGL demos. > > However, when I started to run Java3d examples, every example > complained about the lack of libMesaGl.so.3 library: > appletviewer -J-mx64m HelloUniverse.html > java.lang.UnsatisfiedLinkError: > /homes/nikom/Java/jdk1.2/jre/lib/i386/libJ3D.so: > libMesaGL.so.3: cannot open shared object file: No such file or > directory > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary0(Compiled Code) > at java.lang.ClassLoader.loadLibrary(Compiled Code) > at java.lang.Runtime.loadLibrary0(Compiled Code) > at java.lang.System.loadLibrary(Compiled Code) > at javax.media.j3d.UniverseManager$1.run(Compiled Code) > at java.security.AccessController.doPrivileged(Native Method) > at javax.media.j3d.UniverseManager.(Compiled Code) > at javax.media.j3d.VirtualUniverse$2.run(Compiled Code) > at java.security.AccessController.doPrivileged(Native Method) > at javax.media.j3d.VirtualUniverse.(VirtualUniverse.java:464) > at HelloUniverse.(Compiled Code) > at java.lang.Class.newInstance0(Native Method) > at java.lang.Class.newInstance(Compiled Code) > at sun.applet.AppletPanel.createApplet(Compiled Code) > at sun.applet.AppletPanel.runLoader(Compiled Code) > at sun.applet.AppletPanel.run(Compiled Code) > > However, Mesa's installation script did not create MesaGL library - it > only > produced libGL.so, libGLU.so, libglut.so, etc. How I can get > libMesaGL.so > and where I have to put it? > > Thank you, > > Jacob Nikom > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- Jeff Galyan http://www.anamorphic.com http://www.sun.com jeffrey dot galyan at sun dot com talisman at anamorphic dot com Sun Certified Java(TM) Programmer == Linus Torvalds on Microsoft and software development: "... if it's a hobby for me and a job for you, why are you doing such a shoddy job of it?" The views expressed herein do not necessarily reflect those of my employer. Sun Microsystems, Inc., has no connection to my involvement with the Mozilla Organization. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
unsubscribe
unsubscribe