Linux World
Hi! I just came from the Linux World expo. It's _really_ crowded there. There is one computer at the Sun booth that is running Linux 2.0. I didn't have opportunity to check it :-( but one of the exhibitors told me that the final release could be ready as early as thursday. I personally doubted, but he should have his source. On the other hand, one exhibitor at Cygnus told me that they have a Java tool (LibJava? I'm not sure) that is faster than JDK and can be downloaded free from the internet. I don't know much about Cygnus software, so please give me some points if it's worth to try it. Walter Linux and Java will save the world :-) | 408.294.4750 http://www.concentric.net/~Wdacruz/Index.shtml | [EMAIL PROTECTED] ___|___ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Help Required
Hi I am facing the following problem while trying to install activecache implementation of httpd on linux using jdk1.1.7 for linux with native thread support. $ httpd -v -r /nfs/bahar4/csa98016/activecache/server_root/config/httpd.conf classpath = .:/amd/bahar/home/home4/csa98016/activecache/Daemon/linux:/nfs/bahar4/csa98016/$ Set the Active Cache Manager loading library native ch/nfs/bahar4/csa98016/activecache/server_root/config/httpd.conf classpath = .:/amd/bahar/home/home4/csa98016/activecache/Daemon/linux:/nfs/bahar4/csa98016/$ Set the Active Cache Manager loading library native checking property path.separator ./libnative.so: undefined symbol: stat (libnative.so) java.lang.UnsatisfiedLinkError: no native in shared library path at java.lang.Runtime.loadLibrary(Runtime.java) at java.lang.System.loadLibrary(System.java) at SecurityManagerTest.main(security.java:146) This is CERN-HTTPD, version 3.0A, using libwww version 2.17 * Could you tell me why I am getting the error.My path settings are: * set MYPATH=( /nfs/bahar4/csa98016/jdk117_v1a/lib/classes.zip ) setenv JDK_HOME /nfs/bahar4/csa98016/jdk117_v1a setenv JAVA_HOME /nfs/bahar4/csa98016/jdk117_v1a setenv CLASSPATH /nfs/bahar4/csa98016/jdk117_v1a/lib/classes.zip setenv LD_LIBRARY_PATH .:/amd/bahar/home/home4/csa98016/activecache/Daemon/linux:/usr/lib:/amd/bahar/home/home4/csa98016/jdk117_v1a/lib/i686/native_threads cd activecache/Daemon/linux/ httpd -v -r /nfs/bahar4/csa98016/activecache/server_root/config/httpd.conf Thanks Satyajeet Seth __ Get Your Private, Free Email at http://www.hotmail.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
JDK 1.2 on Linux at Linux World Expo
Yes, folks, it's true -- JDK 1.2 is running on Linux at Linux World Expo, in the Sun booth. I saw it with my own eyes. The Sun rep there said that it hasn't been released yet, but should be Real Soon Now -- meaning this week if at all possible. (Of course, he's not the one who should be making promises, so please don't get distressed if this doesn't actually happen. The key players doing the port are *at* Linux World Expo, apparently, so are busy doing other things at the moment). If you are at Linux World Expo, drop by the Sun booth and stress to the reps there how important Sun's support of Linux and Java is to you. Believe me, making noises at this level will permit something to propagate to higher-ups. Matt Welsh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Latest Java 2 Rumor
>From a pretty good source at LinuxWorld -- Sun's going to allow the release of Java 2 for Linux with the socket bug (which apparently only affects multicasting on multi-homed machines running 2.0.3) *THURSDAY*! Which is 25 hours from now. And there was much rejoicing. -- Michael Lorton Chief Technology Officer Civet Systems -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Sun booth @ LinuxWorld
Hey, how come none of the people who've written in about the Sun booth talked to me while I was there this afternoon? Anyway, it's true, I'm shooting for a Thursday release. Steve PS: I'll be at the booth again on Thursday. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: has anyone got the native threads jdk1.1.7a1 running?
> I was having this problem but one of the nice folks from the blackdown > porting team told me how to fix it. The fix was to add the libjava.so > file to the process space with this command. > > setenv LD_PRELOAD libjava.so Thanks for the hint. I read something similar in the FAQ but it was mentioned only to handle problems with green threads. I tried it and it caused JNI_CreateJavaVM to return successfully. Unfortunately my program (which does not use threads at all btw) becomes somewhat instable after it. There are things happening that are difficult to trace, like wrong results in "sscanf" after it worked for a couple of times. See you - Markus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Un,subsribe
Please stop to send me mail __ Reply Separator _ [EMAIL PROTECTED] 02/03/99 19:58:00 To: [EMAIL PROTECTED]@internet cc: [EMAIL PROTECTED]@internet (bcc: Pierre MIGUEL/marc-otc/fr/socgen) Return Receipt: No Importance: Normal SUBJECT: Re: 1.2 but for a linux kernel bug? Stewart Allen wrote: > It would seem from the 1.2 status page that 1.2 is fully functional > except on 2.0.xx linux kernels. Is this correct? Do we have to wait > for a kernel patch to get 1.2 or can it be released with the caveat > that it requires a 2.2.x kernel? > > -stewart It would be nice if we could get it, at lest with the requirements of 2.2.x kernels. Is anybody working on the 2.0.x kernel bug? Dimtiris -- 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]
Daemon threads
greetings, i have a class which has a daemon thread ( setDaemon( true) before start()). I created an instance of this object in a Frame object. My problem is: even after i call dispose() of the Frame object the threaded object is not grabage collected and it continues running. i am using jdk 1.1.5 (soon upgrade to 1.2 :-)) and RH Linux 5.2 any mistake in my approach? how can we solve it? is it not the right place to answer this question? thanks in advance Anil -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Daemon threads
Hi, Your question is off-topic, because it has nothing to do with the Linux port of Java, but anyway: - when all the non-daemon threads are finished, the JVM exection will end. - probably you expected your application to finish, since you disposed its main Frame. - in fact there is at least one non-daemon thread that is running even after you disposed the Frame, and that is the event dispatch thread - so the solution is to kill somehow the event dispatcher (not recomended), or to call System.exit() to finish you application. Hope this helps. Best regards, Cãtãlin CLIMOV Anil kumar wrote: > greetings, > > i have a class which has a daemon thread ( setDaemon( true) before > start()). I created an instance of this object in a Frame object. > > My problem is: even after i call dispose() of the Frame object the > threaded object is not grabage collected and it continues running. > > i am using jdk 1.1.5 (soon upgrade to 1.2 :-)) > and RH Linux 5.2 > > any mistake in my approach? how can we solve it? is it not the right place > to answer this question? > > thanks in advance > Anil > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] begin: vcard fn: Cãtãlin CLIMOV n: CLIMOV;Cãtãlin org:DeltaSoft adr;quoted-printable:=AAos. Nicolina;;;Iaºi;Iaºi;6600;România email;internet: [EMAIL PROTECTED] title: JAVA Programmer tel;work: +40-32-232900 tel;home: +40-92-664323 x-mozilla-cpt: ;0 x-mozilla-html: TRUE version:2.1 end:vcard
What does this mean?
Hi all, I got the foll. screen full of error codes and a core dump when I tried running my program. I cannot understand what the errors are, can any one please throw some light? I am running jdk1.1.7 on RedHat5.1 on an P-2@ 266Mhz. The program i am writing uses Magician to get OpenGl calls going. <--> SIGSEGV 11* segmentation violation stackbase=0x415b2000, stackpointer=0x415b0f88 Full thread dump: "Screen Updater" (TID:0x4065dbd0, sys_thread_t:0x41614e0c, state:CW) prio=4 java.lang.Object.wait(Object.java) sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:70) sun.awt.ScreenUpdater.run(ScreenUpdater.java:90) "AWT-Motif" (TID:0x4065c9b0, sys_thread_t:0x415f3e0c, state:CW) prio=5 java.lang.Thread.run(Thread.java) "AWT-Input" (TID:0x4065c710, sys_thread_t:0x415d2e0c, state:R) prio=5 "AWT-EventQueue-0" (TID:0x4065c728, sys_thread_t:0x415b1e0c, state:R) prio=5 *current thread* NeuronFileparser.MakeglLists(NeuronFileparser.java:755) NeuronFileparser.BuildTheTree(NeuronFileparser.java:422) NeuronFileparser.btnOpenListener(NeuronFileparser.java:305) NeuronFileparser.access$0(NeuronFileparser.java:276) NeuronFileparser$1.actionPerformed(NeuronFileparser.java:134) java.awt.Button.processActionEvent(Button.java:256) java.awt.Button.processEvent(Button.java:229) java.awt.Component.dispatchEventImpl(Component.java:1809) java.awt.Component.dispatchEvent(Component.java:1741) java.awt.EventDispatchThread.run(EventDispatchThread.java:79) "Finalizer thread" (TID:0x40657210, sys_thread_t:0x4139be0c, state:CW) prio=1 "Async Garbage Collector" (TID:0x40657258, sys_thread_t:0x4137ae0c, state:CW) prio=1 "Idle thread" (TID:0x406572a0, sys_thread_t:0x41359e0c, state:R) prio=0 "Clock" (TID:0x40657088, sys_thread_t:0x41338e0c, state:CW) prio=12 "main" (TID:0x406570b0, sys_thread_t:0x81889b0, state:CW) prio=5 Monitor Cache Dump: (0x0x4137ae0c): Waiting to be notified: "Async Garbage Collector" (0x4137ae0c) sun.awt.motif.MToolkit@1080412072/1080801416: Waiting to be notified: "AWT-Motif" (0x415f3e0c) sun.awt.ScreenUpdater@1080417232/1080824632: Waiting to be notified: "Screen Updater" (0x41614e0c) Registered Monitor Dump: Thread queue lock: Waiting to be notified: "main" (0x81889b0) Name and type hash table lock: String intern lock: JNI pinning lock: JNI global reference lock: BinClass lock: Class loading lock: Java stack lock: Code rewrite lock: Heap lock: Has finalization queue lock: Finalize me queue lock: Waiting to be notified: "Finalizer thread" (0x4139be0c) Dynamic loading lock: Monitor IO lock: Child death monitor: Event monitor: I/O monitor: owner "AWT-Input" (0x415d2e0c, 1 entry) Alarm monitor: Waiting to be notified: "Clock" (0x41338e0c) Monitor registry: owner "AWT-EventQueue-0" (0x415b1e0c, 1 entry) Thread Alarm Q: sys_thread_t 0x4137ae0c [Timeout in 39 ms] sys_thread_t 0x415f3e0c [Timeout in 51 ms] sys_thread_t 0x415d2e0c [Timeout in 123 ms] Aborted (core dumped) <--> Thanks, -karthik. +-+ | Karthik Vishwanath, Junior Research Fellow, | | National Centre for Biological Sciences, TIFR Bangalore, India. | | Ph[Off]: (080)8561657/58/59/71/72; 8462895, Ext. 3231 | | mail to: [EMAIL PROTECTED] | | Alt mail: [EMAIL PROTECTED] | +-+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RMI and firewall
Hi, I'm having a problem in connecting with my server RMI from an applet througth a firewall. I tried to open the 1099 port but I got different messages of error. >From security error to time-out it depends on where is the PC I'm connecting. I tried to open all ports too, but nothing appened. If I try to connect behind the firewall all is ok. I have read that if RMI can't make a direct connection it attempts via HTTP, but I can't understand how. Can you explain me more ? Have you some source code to study ? How can I lookup my RemoteObject via http ? Thank in advance and apologize me for my english. Ciao Massimo begin: vcard fn: Massimo Conti n: Conti;Massimo org:Systeam S.p.A. adr:Via Eroi di Cefalonia, 39;;;Spinaceto;;00128;Italy email;internet: [EMAIL PROTECTED] title: Ing. tel;work: +39-6-5077031 tel;fax:+39-6-50770365 x-mozilla-cpt: ;0 x-mozilla-html: FALSE version:2.1 end:vcard
Search
Hello I search a C development environnement write in Java for running in any platform. In preference a graphic environnement. Thanks Irfan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
A Java VM that uses svgalib?
Hi Guys We're tossing around the idea of creating a linux JAVA port that does not require X. There would be several advantages to such a system, thin clients for one, Bill Gates would probably lose sleep over it, theres another (hehe). Since you are the experts I was hoping to get some useful feedback regarding this idea. Do you think it would be a prohibitivly enormous undertaking to make the vm work with svgalib? What resources could we get from blackdown? Would you be interested in any involvement in such a project? A veritable multitude other questions, later... Also thanks for your work guys. :) -- Rick Graham, Senior Developer BitFlash Graphics Inc., Ottawa, Canada. [EMAIL PROTECTED] http://www.bitflash.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: A Java VM that uses svgalib?
On Wed, 3 Mar 1999, Rick Graham wrote: > We're tossing around the idea of creating a linux JAVA port that does > not require X. There would be several advantages to such a system, thin > clients for one, Bill Gates would probably lose sleep over it, theres > another (hehe). > > Since you are the experts I was hoping to get some useful feedback > regarding this idea. > > Do you think it would be a prohibitivly enormous undertaking to make the > vm work with svgalib? Sun's JavaStation network computer doesn't use X. Instead it uses the Tiny AWT peers. See the directory sun/awt/tiny in the JDK 1.1 sources. Basically, all you would have to do is to implement all of the native methods declared in Tiny AWT in terms of svgalib function. However, I don't believe that any work has been done to allow Tiny to support Java 2. This would be the most difficult part. Cheers, Nigel Nigel Gamble[EMAIL PROTECTED] Mountain View, CA, USA. http://www.nrg.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: A Java VM that uses svgalib?
> > Do you think it would be a prohibitivly enormous undertaking to make the > > vm work with svgalib? Maybe a better move would be to implement it using libggi? jason Jason Gilbert | http://www.scott.net/~jason/ -- I wish I could make the garbage collector thread in my brain less aggressive. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: A Java VM that uses svgalib?
{NOTE:this is a thread from the java-linux list, I'm cross posting it to
ggi-develop because it's more relevant there.}
Jason Gilbert wrote:
> > > Do you think it would be a prohibitivly enormous undertaking to make the
> > > vm work with svgalib?
>
> Maybe a better move would be to implement it using libggi?
I took a look at ggi, prominently displayed at metalab in /pub/ggi. It seems
like exactly the right animal.
I browsed the faq, I see it supports my Matrox card, svgalib doesn't, out of the
box, anyway.
Getting it to function seems to be another matter...
It doesn't seem to want to work with a 2.2.1 kernel. The README.INSTALL insists
that the kernel be patched, but it refuses to deal with a 2.2 kernel.
If I look in the patches directory, I see that there isn't one for a
2.2.anything.
This does seem like the way to go, but I don't particularily want to go back to
a development kernel.
Any suggestions?
--
Rick Graham, Senior Developer
BitFlash Graphics Inc., Ottawa, Canada.
[EMAIL PROTECTED]
http://www.bitflash.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
problem with 'Compiler' ?
hi, everybody Again,I got some problems when calling java interpreter and 'appletviewer'. The system shows : $ javac Unable to initialize threads: cannot find class java/lang/Thread $ appletviewer Could not read properties file: /usr/local/jdk117_v1a/bin/../lib/appletviewer.properties I have installed glibc version Jdk117_v1a.i386 on RedHat 5.1. Moreover, is it necessary to install 'Native Thread Class'? Could anybody help me out? Thank you in advance. Cheers, Charles Get free e-mail and a permanent address at http://www.netaddress.com/?N=1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: A Java VM that uses svgalib?
A guy involved in the GGI project is working on a GGI version of the AWT. Such a port would run on SVGA, on the linux console, on X and all the other graphics targets that GGI supports. More info on GGI can be found at www.ggi-project.org and you can read about the GGI-AWT stuff on the GGI mailing list archives. Mo DeJong [EMAIL PROTECTED] gimme multimedia group On Wed, 3 Mar 1999, Rick Graham wrote: > Hi Guys > > We're tossing around the idea of creating a linux JAVA port that does > not require X. There would be several advantages to such a system, thin > clients for one, Bill Gates would probably lose sleep over it, theres > another (hehe). > > Since you are the experts I was hoping to get some useful feedback > regarding this idea. > > Do you think it would be a prohibitivly enormous undertaking to make the > vm work with svgalib? > What resources could we get from blackdown? > Would you be interested in any involvement in such a project? > > A veritable multitude other questions, later... > > Also thanks for your work guys. :) > > -- > Rick Graham, Senior Developer > BitFlash Graphics Inc., Ottawa, Canada. > [EMAIL PROTECTED] > http://www.bitflash.com/ > > > > -- > 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]
[Fwd: [java3d] Java Media source licensing to Linux]
This was posted in the J3D list. All the Java Media technologies will be ported to Linux and they already have a J3D demo running on Linux. Cool !!! -Augusto -- Augusto Sellhorn GE Harris Energy Control Systems Sun issued the press release (appended below) regarding the licensing of its leading Java Media technologies including Java 3D, Java Media Framework, Java Advanced Imaging and Java Sound to the Linux Blackdown Porting team, yesterday at the LinuxWorld Conference & Expo. This agreement enables the Linux community to develop and distribute media-enhanced applications for the Java 2 platform for non-commercial use. The Blackdown team will serve as a conduit to bring these Java Media APIs to the entire Linux community. The license was signed on Thursday, February 25, and we had Java 3D up and running on a Wintel laptop running Linux on Monday, March 2nd. This is once again a demonstration of the portability of Java 3D on any platform running Java 2. If you happen to be attending the LinuxWorld Expo, do stop by the Sun booth, to see Java 3D in action on Linux. /Subra --- Subra Mohan Java 3D Marketing Sun Microsystems, Inc. (650)786-5863, [EMAIL PROTECTED] --- Tuesday March 2, 5:42 pm Eastern Time Company Press Release SOURCE: Sun Microsystems, Inc. Sun to Deliver Power of Java Media Technologies to Linux Platform Cutting-Edge Java Media Technologies Will Enable Linux Users to Develop Media-Enhanced Applications for Multiple Platforms LINUXWORLD, SAN JOSE, Calif., March 2 /PRNewswire/ -- Sun Microsystems, Inc. (Nasdaq: SUNW - news) today announced that it has licensed its leading Java (TM) Media technologies to the Linux Blackdown Porting Team, an informal group of Linux developers. The licensing agreement delivers the inherent strengths of the Java programming environment to Linux users and includes the following Sun (TM) application programming interfaces (APIs): Java 3D (TM) API, Java Media Framework API, Java Advanced Imaging API and Java Sound API. This agreement enables the Linux community to develop and distribute media-enhanced applications for the Java 2 platform for non-commercial use. For the first time, Linux developers will be able to create platform-independent, network-centric applications for educational, business and technical users with the easy-to-use Java Media APIs. ``Adding Java Media APIs to the Linux arsenal gives developers an exciting new platform for exploring a wide range of visually and aurally engaging media -- from 3D, to multimedia, to sound,'' says Steve Byrne, Linux Blackdown Porting Team Leader. ``This brings together many disparate pieces of the puzzle -- Linux, Java, 3D graphics and multimedia - to form a major bridge to the rapidly expanding Linux developer community.'' By licensing several of Sun's Java Media technologies, the Blackdown team will serve as a conduit to bring these tools to the entire Linux community. Linux users will now be able to quickly and easily incorporate 3D graphics, 2D imaging and multimedia data -- including stored or streaming audio, video, MIDI -- into their applications. Because these APIs are built using Java technology's ``Write Once, Run Anywhere (TM)'' philosophy, media-enhanced applications developed using the APIs are able to run on multiple platforms, which dramatically reduces application development time and costs. ``Our agreement to provide this type of support for Linux is just another example of Sun's commitment to fostering technical innovation. Sun intends to enable a new generation of platform-neutral development activity by putting these Java Media technologies in the hands of Linux users,'' said Jon Kannegaard, vice president and general manager of the Java Platform at Sun Microsystems, Inc.'s Java Software. The Java Media APIs that will be available to the Linux community include: * Java 3D API The Java 3D API provides an object-oriented interface for applications that require high performance, interactive 3D graphics. The Java 3D API's scene graph-based programming model provides a simple and flexible mechanism for representing and rendering potentially complex 3D environments. The Java 3D API optimizes the scene and handles the low-level rendering details to provide the best possible performance. * Java Media Framework API The Java Media Framework API is a collection of classes that enable the display and capture of multimedia data within applets and applications written in the Java programming language. The Java Media Framework allows developers to incorporate audio and video of various media formats -- including QuickTime, MPEG and AVI -- into their cross-platform applets and applications. * Java Advanced Imaging API The Java Advanced Imaging API incorporates performance-oriented features such as tiling, deferred execution, optimization of combined operations, resolution-independent
sockets; data transfer limits
Has anyone come across a limit on the size of a transfer thru a Java socket? I'm using JDK116 (can't be certain of the version; downloaded it ~10/1/98). 3,541 bytes doesn't seem like much but anything larger than that gets lost. This is NOT a problem on Windows-95 which I'd rather not use. :-( Bill Paladino Senior Programmer BASCOM Global Internet Services 275-R Marcus Blvd Hauppauge, NY 11788 516 434 6600 / www.bascom.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [Fwd: [java3d] Java Media source licensing to Linux]
Wow, this is really cool! If people are interested I have created a scripting from end to the JMF using Tcl. With it you can create JMF enabled programs without writing Java code. If you would like to read more you can check out this copy of a paper I write for a USENIX conference on the subject. http://www.cs.umn.edu/~dejong/paper.html (or paper.ps) Mo DeJong [EMAIL PROTECTED] gimme multimedia group On Wed, 3 Mar 1999, Augusto Sellhorn wrote: > > This was posted in the J3D list. All the Java Media technologies will > be ported to Linux and they already have a J3D demo running on Linux. > Cool !!! > > -Augusto > > -- > Augusto Sellhorn > GE Harris Energy Control Systems -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Unidentified subject!
I just wanted to say that you guys kick ass! Keep it up! Miles Thomason (Linux enthusiast)
library path
I'm haveing trouble useing javac. It says "No library path set." can any one help me? _ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: sockets; data transfer limits
> Has anyone come across a limit on the size of a transfer thru a Java socket? Yes, I had this problem under Solaris. In my case packets greater than 1500 bytes was tryncated into 1500, most likely because of the ethernet packet size. I submitted such behaviour to Javasoft in their Bug Parade section but they said: "DataInputStream.read does not guarantee that all len bytes are read. It returns the number of bytes read and this may not be all len bytes. You may have to either loop on a read until you get all the bytes or use readFully().". Have a look at http://developer.java.sun.com/developer/bugParade/bugs/4095603.html The work around I use is simply the fragmentation of my 2Kb packet into two 1Kb ones. > This is NOT a problem on Windows-95 which I'd rather not use. Thios didn't use to happen under Windows as well (as noted in my bug report) but the point is that under any OS there is no guarantee about it... Too bad heh? JVc. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: sockets; data transfer limits
The reason for this "problem" has nothing to do with the Java implementation: it is an artifact of the TCP protocol. TCP is a "reliable byte stream transport protocol" which means that it guarantees reliable delivery of the data *bytes* in the order that they were sent, but it doesn't guarantee how the sequence of bytes is broken up into packets. Also, the UNIX socket API semantics upon which the Socket class is founded don't guarantee anything about how much you're going to read when you ask to read data: you block until something arrives and the interface gives you as much as it can up to what you asked for, but can (and will) often give you less. Any code -- whether Java or C or C++ or Perl or Tcl or Lisp or Basic or what have you -- which assumes that TCP will preserve "message" boundaries in stuff sent over a connection, is just WRONG. You might get lucky on some platforms but that will just be a matter of a coincidence that works in your favor. Any code using TCP should ALWAYS be written to allow for the fact that bytes sent can be broken up or coalesced in transit in any arbitrary way which preserves content and byte ordering. Assuming anything else is just asking for trouble. For example if a sending program does 3 writes of 4 bytes each, it is perfectly valid for that data to be delivered to the receiver in any of the following ways (and this list does not exhaust the possibilities): * as 3 packets of 4 bytes each (matching the sender's message sizes) * as 12 packets of 1 byte each * as 1 packet of 12 bytes * as a packet of 3 bytes followed by a packet of 7 bytes followed by a packet of 2 bytes Jeff Radick nomadic kernel/networking/mathematics sort of guy, for now [EMAIL PROTECTED] Re: --- > ... (mail header stuff deleted) ... > From: "Jauvane Cavalcante de Oliveira" <[EMAIL PROTECTED]> > ... (mail header stuff deleted) ... > To: Bill Paladino <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] > Subject: Re: sockets; data transfer limits > ... (mail header stuff deleted) ... > > Has anyone come across a limit on the size of a transfer thru a Java socket? > > Yes, I had this problem under Solaris. In my case packets greater than 1500 > bytes was tryncated into 1500, most likely because of the ethernet packet size. > I submitted such behaviour to Javasoft in their Bug Parade section but they > said: > > "DataInputStream.read does not guarantee that all len bytes are read. It returns > the number of bytes read and this may not be all len bytes. You may have to > either loop on a read until you get all the bytes or use readFully().". > > Have a look at > http://developer.java.sun.com/developer/bugParade/bugs/4095603.html > > The work around I use is simply the fragmentation of my 2Kb packet into two 1Kb > ones. > > > This is NOT a problem on Windows-95 which I'd rather not use. > > Thios didn't use to happen under Windows as well (as noted in my bug report) but > the point is that under any OS there is no guarantee about it... Too bad heh? > > JVc. > ... (signature stuff deleted) ... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Off topic question..
Hi, I see that IBM is porting Websphere to Linux. Are they going to use your VM? If not, do you think they are going to port their VM to Linux? Thanks so much Justin Knotzke. -- Justin F. Knotzke [EMAIL PROTECTED] www.shampoo.ca pgp pubkey: finger -l [EMAIL PROTECTED] | pgp -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Slow loading on AMD Elan 486
Running Blackdown 1.1.7 with linux 2.0.36 on an Elan SC400 development board (486, 33 MHz, no floating point unit) results in extremely long load times (up to an hour or more) for applets that load quickly on a desktop linux system. After loading, the applet runs OK. Any ideas what is happening? One possibilty we have considered is the lack of a floating point unit, is this plausible? -Richard Hodges -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Off topic question..
Justin Knotzke wrote: > > Hi, > > I see that IBM is porting Websphere to Linux. Are they going to use > your VM? If not, do you think they are going to port their VM to Linux? A look at their site doesn't suggest the existence of a "their VM", other than a port of Sun's code to their platforms. Unless they want to duplicate Blackdown's efforts, I can't imagine that they'd want to do their own port to Linux. Nathan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: A Java VM that uses svgalib?
I've already done it : ) I've written a java windowing system called shark windows. The AWT peers are implemented on top of the Swing. I have a driver written on top of a Java device dirver for the Cirrus Logic 5430 it's currently not functional I haven't upgred its api. One on top of a XLIB replacement called XTC. And one which bootstraps off the AWT for graphics calls. It has a portability layer at the graphics api level. Basically implement the Graphics class and it just works TM : ) Anyway I plan on a GGI driver as soon as I get around to it. Can someone give me the email adress of the person who is writting the AWT/ggi driver since if he has the graphics class working I'm 100% java from there up. Shark is very close to a stable release it's currently it's only avialable via CVS at www.gjt.org CVS java/org/gjt/shark I hope to have a release in the next week or two. Anway its almost complete I'm actually working on the File Viewer/application launcher right now. I've been able to succesfully run several apps to date. Mike Moses DeJong wrote: > A guy involved in the GGI project is working on a GGI version of the > AWT. Such a port would run on SVGA, on the linux console, on X and > all the other graphics targets that GGI supports. More info on GGI > can be found at www.ggi-project.org and you can read about the GGI-AWT > stuff on the GGI mailing list archives. > > Mo DeJong > [EMAIL PROTECTED] > gimme multimedia group > > On Wed, 3 Mar 1999, Rick Graham wrote: > > > Hi Guys > > > > We're tossing around the idea of creating a linux JAVA port that does > > not require X. There would be several advantages to such a system, thin > > clients for one, Bill Gates would probably lose sleep over it, theres > > another (hehe). > > > > Since you are the experts I was hoping to get some useful feedback > > regarding this idea. > > > > Do you think it would be a prohibitivly enormous undertaking to make the > > vm work with svgalib? > > What resources could we get from blackdown? > > Would you be interested in any involvement in such a project? > > > > A veritable multitude other questions, later... > > > > Also thanks for your work guys. :) > > > > -- > > Rick Graham, Senior Developer > > BitFlash Graphics Inc., Ottawa, Canada. > > [EMAIL PROTECTED] > > http://www.bitflash.com/ > > > > > > > > -- > > 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: library path
I'm not sure but this message means $JAVA_HOME/bin isn't into PATH. PATH=$PATH:$JAVA_HOME/bin CLASSPATH=$JAVA_HOME/lib/classes.zip where $JAVA_HOME is the absolute path to the jdk directory greetings Carlos Alberto Roman Zamitiz Departamento de Ingenieria en Computacion, Facultad de Ingenieria, UNAM [EMAIL PROTECTED] On Wed, 3 Mar 1999, Donald Rudder wrote: > I'm haveing trouble useing javac. It says "No library path set." can > any one help me? > > > > > _ > DO YOU YAHOO!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > -- > 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: Slow loading on AMD Elan 486
[EMAIL PROTECTED] writes: > Running Blackdown 1.1.7 with linux 2.0.36 on an Elan SC400 development > board (486, 33 MHz, no floating point unit) results in extremely long load > times (up to an hour or more) for applets that load quickly on a desktop > linux system. After loading, the applet runs OK. Do you mean "application" instead of "applet?" If not, there are a few folks on this list who would like to know where you got the 1.1.7 Activator for Linux. :-) > One possibilty we have considered is the lack of a floating point unit, is > this plausible? I'd give that fairly long odds. Try to break things down. When you type "java" at the shell, how long does it take to print the usage message? When you type "java java.lang.Character" at the shell, how long does it take to print the "main() is not defined" message? When you write the tiniest "hello world" program, how long does it take to run? Are you running X? How much memory do you have? Do you have enough swap? When you run other large programs (remember, the Java runtime is a large program even before it loads your code) do you get reasonable performance? Is it loading anything over the network, or trying to? Lots of unanswered questions. Best, daniel dulitz Valley Technologies, Inc. Peak Performance Real-Time DSP State College, PA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
