JD1.1.8 availability!!
Hi! Does JDK1.1.8 is available on x86 Platform?. Thanks & Regards Pramila
Re: New site for doing Java on Linux jlinux.org
Hi Chris, Looks good. It valuable to me. It's also viewable on lynx, that's a pro IMHO. I run FreeBSD btw, I'll try to run one of the Linux JDK 1.2 implementations on my FreeBSD 3.2 box one of these days. I'll be watching jlinux! Ernst On Thu, 6 Jan 2000, Christopher Smith wrote: > On Thu, Jan 06, 2000 at 07:59:55PM -0500, Jacob Nikom wrote: > > Very good idea. However, how to separate Java from Java/Linux from > > Linux? Java/Linux from PC? Are you going to have different pages > > for those topics? > I'm not sure what you mean. Do you mean to break the information up > into sections according to these categories: > > a) Java info > b) Java & Linux info > c) PC info > > If so, my intention was to specifically point Linux developers in the > direction of tools/info that would help them develop Java. If those > tools/info help other developers for Java or other developers for > Linux, so be it, but lots of other sites provide that info as > well, and they undoubtedly have more detailed information. > > I've done 2 presentations now about doing Java on Linux, and I field > questions about it all the time, so I figured this was a specific > problem that people have a lot of questions about. > > Does that answer your question, or did you have something else in > mind? > > --Chris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Java Assembler
> Who can recommend a java assembler for me? I run Sun/inspire java on redhat 6.1. Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
jasmin
I download jasmin. It generated HelloWorld.class file. But I cannot run java HelloWorld. Is it due to the version of java? I use Sun/Inprise version java for linux. thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable
Hi, I've got an error when I try to run my code (it create an image using Java2D) from telnet (by example), but not when I run it from X : Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:61) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Compiled Code) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Compiled Code) at java.awt.image.BufferedImage.createGraphics(Compiled Code) at BaroChart.AbstractBaroChart.(Compiled Code) at BaroChart.PieChart.(Compiled Code) at BaroChart.BaroChartFactory.Make(Compiled Code) at test_pie.main(Compiled Code) It's important for me because I want to produce images (charts) in batch mode and from my Web site (witch isn't connected to an X server...). I use Linux Debian 2.1 / blackdown JDK 1.2.0 (gclib 2.0). Do I need to configure X in a special way to do this ? Thank's Eric. ___ Eric SCHAEFFER [EMAIL PROTECTED] POSTER CONSEIL 118 rue de Tocqueville 75017 PARIS FRANCE Tel. : 33-140541058 Fax : 33-140541059 ___ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable
Eric SCHAEFFER wrote: > I've got an error when I try to run my code (it create an image using > Java2D) from telnet (by example), but not when I run it from X If you want to do this sort of thing without having a display, use Xvfb to emulate an X server. Xvfb :1 You may need to install Xvfb. Then start Java apps with the environment variable setting DISPLAY=localhost:1.0 Thanks to Jurgen for that one! Robbie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable
Hi Eric, the awt code always tries to connect to an X server. If the machine your program is running on has an X server running but you cant't connect it's because as a telnet user you don't own the console and therefore are not allowed to connect (it may be that you want to supervise other user's work, which is normally not desired). The solution reported to work on this list several times even if there is no X server at all is to use the virtual frame buffer X server. This is a program that acts like an X server to its clients, but has no real display. The name of the program is xvfb, if I recall correctely. Matthias Eric SCHAEFFER wrote: > > Hi, > > I've got an error when I try to run my code (it create an image using > Java2D) from telnet (by example), but not when I run it from X : > > Exception in thread "main" java.lang.InternalError: Can't connect to X11 > window server using ':0.0' as the value of the DISPLAY variable. > at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) > at > sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:61) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Compiled Code) > at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Compiled > Code) > at java.awt.image.BufferedImage.createGraphics(Compiled Code) > at BaroChart.AbstractBaroChart.(Compiled Code) > at BaroChart.PieChart.(Compiled Code) > at BaroChart.BaroChartFactory.Make(Compiled Code) > at test_pie.main(Compiled Code) > > It's important for me because I want to produce images (charts) in batch > mode and from my Web site (witch isn't connected to an X server...). > > I use Linux Debian 2.1 / blackdown JDK 1.2.0 (gclib 2.0). > > Do I need to configure X in a special way to do this ? > > Thank's > Eric. > ___ > > Eric SCHAEFFER > [EMAIL PROTECTED] > > POSTER CONSEIL > 118 rue de Tocqueville > 75017 PARIS > FRANCE > Tel. : 33-140541058 > Fax : 33-140541059 > ___ > > -- > 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: jasmin
On Fri, Jan 07, 2000 at 10:06:20PM +0700, yangyuexiang wrote: > I download jasmin. It generated HelloWorld.class file. > But I cannot run java HelloWorld. > > Is it due to the version of java? > I use Sun/Inprise version java for linux. The Sun/Inprise version should be fine. What is the error message you are getting? --Chris PGP signature
jdk1.2.2 can't work with star office
Hi, I downloaded jdk-1.2.2-RC3-linux-i386.tar.gz and installed it on a PIII machine running RedHat 6.1. Everything seems working fine until I installed StarOffice 5.1. When I run staroffice, it always complains it can't find a shared library file in jre. the following is the error message: preOpen 2 - /usr/local/jdk1.2.2/jre/lib/i386/classic/libjvm.so: libhpi.so: cannot open shared object file: No such file or directory error: could not load java anybody knows what's wrong and how to fix it? Thanks a lot! __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: jdk1.2.2 can't work with star office
Bin Zhang wrote: > > Hi, I downloaded jdk-1.2.2-RC3-linux-i386.tar.gz and > installed it on a PIII machine running RedHat 6.1. > Everything seems working fine until I installed > StarOffice 5.1. When I run staroffice, it always > complains it can't find a shared library file in jre. > the following is the error message: > > preOpen 2 - > /usr/local/jdk1.2.2/jre/lib/i386/classic/libjvm.so: > libhpi.so: cannot open shared object file: No such > file or directory > error: could not load java > > anybody knows what's wrong and how to fix it? Thanks a lot! Greetings, I don't know what causes this, but I can describe the simple steps that I took to solve it on my system. The StarOffice installation readme file lists a few specific versions of jdk and jre with which the product is known to work. I simply installed the newest jre in that list, which was jre117_v1a. I did not try to use jdk1.2 with StarOffice. Takes a little extra disk space, but saves a lot of pointless effort, in my opinion. -- Alan Westhagen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: jasmin
Christopher Smith wrote: > On Fri, Jan 07, 2000 at 10:06:20PM +0700, yangyuexiang wrote: > > I download jasmin. It generated HelloWorld.class file. > > But I cannot run java HelloWorld. > > > > Is it due to the version of java? > > I use Sun/Inprise version java for linux. > The Sun/Inprise version should be fine. What is the error message you > are getting? > > --Chris > > >Part 1.2Type: application/pgp-signature The error message is: Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld (wrong name: examples/HelloWorld) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:442) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:101) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$1(URLClassLoader.java:216) at java.net.URLClassLoader$1.run(URLClassLoader.java, Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java, Compiled Code) at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) Thanks yang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: jasmin
On Sat, Jan 08, 2000 at 10:07:31AM +0700, yangyuexiang wrote: > Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld (wrong > name: examples/HelloWorld) > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:442) > at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:101) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) > at java.net.URLClassLoader.access$1(URLClassLoader.java:216) > at java.net.URLClassLoader$1.run(URLClassLoader.java, Compiled Code) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java, Compiled Code) at > java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java, Compiled Code) > at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) Looks to me like you are typing in: java examples/HelloWorld instead of: java examples.HelloWorld In the future, try including what you typed in and the error message from the get go... it makes it easier to figure out what's going wrong. --Chris PGP signature
Re: heap space and performace (what is going on??)
Nathan Meyers <[EMAIL PROTECTED]> wrote: > I don't mean to be heretical, but using an unoptimized sample > implementation is not always the best solution for mission-critical > server applications. Sure. But, > The Blackdown ports, and the more recent IBM and > Inprise ports, are a huge boon to Java developers and users on Linux - > but they're sample implementations that have ported a lot of inefficient > code directly from Sun. IBM has been modifying large part of Sun's classic VM. Especially in memory system. It's not only a ported version. For example, handle is removed. To be exact, With classic VM, double memory references is needed to reach object data from a handle, but IBM's mixed mode interpreter (MMI), Sun's HotSpot VM and ResearchVM require only single reference. The source code for IBM JDK is not released publicly yet, but we can see some part of it in some header files located at JDK_HOME/include/, oobj.h and interpreter.h. Kazuyuki SHUDO Happy Hacking! Muraoka Lab., Grad. School of Sci. & Eng., Waseda Univ. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: heap space and performace (what is going on??)
SHUDO Kazuyuki wrote: > > Nathan Meyers <[EMAIL PROTECTED]> wrote: > > > I don't mean to be heretical, but using an unoptimized sample > > implementation is not always the best solution for mission-critical > > server applications. > > Sure. But, You're right, I was painting with too broad a brush. IBM's results, as shown in the benchmarks, have been very impressive. I'm looking forward to seeing their JDK1.3. Nathan > > > The Blackdown ports, and the more recent IBM and > > Inprise ports, are a huge boon to Java developers and users on Linux - > > but they're sample implementations that have ported a lot of inefficient > > code directly from Sun. > > IBM has been modifying large part of Sun's classic > VM. Especially in memory system. It's not only a ported > version. > > For example, handle is removed. To be exact, With > classic VM, double memory references is needed to reach > object data from a handle, but IBM's mixed mode > interpreter (MMI), Sun's HotSpot VM and ResearchVM > require only single reference. > > The source code for IBM JDK is not released publicly > yet, but we can see some part of it in some header files > located at JDK_HOME/include/, oobj.h and interpreter.h. > > Kazuyuki SHUDO Happy Hacking! > Muraoka Lab., Grad. School of Sci. & Eng., Waseda Univ. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Help needed for installation
Hi All, Downloaded linux JDK from blackdown.org. And give the class path as per directions. Now when I tried to compile a simple Java program it showing the error "can't find application home". I'm using Redhat6.1, Shell: bash. Please let me know how to configure JDK in linux. Thanx in adv for any kind of information. Thanx and Regds, Rajesh. - www.chequemail.com A FREE web based email service ... get paid to use it ! - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: heap space and performace (what is going on??)
At 07:19 1/6/00 -0800, "Michael E. Moores" <[EMAIL PROTECTED]> wrote: >you are TOTALLY incorrect in your assumptions >about where i am using roxen. then I whole heartedly appologize for my confusion. >i don't even have any idea what hell you are toaking about. ahem. your address is "moores at REAL DOT COM". your x-sender field is "moores at prognet dot com" which is of course the parent company of real. >real servers? encoding? >whatever man. Do I actually have to point you to the url? http://www.real.com/ A part of the RealNetworks company; who among other things sell a server box which is a turn key solution for radio stations and such to allow them to begin broadcasting on the net. This product line and it's intended use fit your description to a tee; and while I don't beleive they use java today, I can EASILY see them doing some development in that direction. This is what lead to that assumption, if you say I'm off base then fine, I'll take your word for it at face value. >At 03:13 AM 1/6/00 -0600, Chris Abbey wrote: >> >>my nose is itching. I might be smelling what I think I smell, >>in which case I'm sick of it. I might be imagining things... >> to your off list question then: There have been an increasing number of comercial companies lately who have tried to push OSS products into production before they were ready. These people have then come screaming to the community on lists such as this one trying to get help. One such user was screaming that his company was loosing thousands of dollars a day, three or four people on the list did a lot of email debugging to determin that they had not RTFM and had setup contradictory configurations. When they presented a "bill" to the complainer they were blown off. Too many companies it seems are seeing OSS/free software as the answer for turning marginal bussiness models into successful models. I'm not saying you fit this model, and that was the point of my disclaimer... this COULD be that type of case, but I wasn't really sure; as I said, no offense was intended. >>we have not had to spend much cash to get >>what we need on the web side. >[...] >>what is the consensus about when the blackdown jdk >>will be ready for what i need to do? i would rather >>use it; money not being a major issue. if that is the case - that you haven't had to spend much money for the web side, and that money isn't a major issue - and this previous statment is also what your working on: > a medium volume ecommerce site which is responsible > for millions of dollars of revenue. then I will again invite your company (whoever it may be) to use some of the money you *would have spent* had you used a commercial JVM to give back to the community... you referenced oracle/sun (you're right on that nightmare... don't even get me started) so I'll ask you to look at the total cost of operation for the solaris production VM and consider putting some fraction thereof back in after you move into production and start raking in those millions of dollars of revenue. hell... if nothing else buy all nine of 'em pizza and beer. since this had even less to do with linux on java than much of the recent traffic here I'll take followons off list; but I wanted to appologize for the misunderstanding publicly. -=Chris cabbey at home dot net <*> http://members.home.net/cabbey I want a binary interface to the brain! Today's opto-mechanical digital interfaces are just too slow! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
