Unidentified subject!
Do you have something like Java Plug-in for Netscape? Alex -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How could one use Swing in linux 7.0
filename="text1.sdw"
appletviewer + fvwm conflict?
Hiya,
Sorry if this is covered in a FAQ. BTW where is the FAQ for java-linux?
I have this wierd problem with appletviewer where anytime I view an
applet with a TextField or a TextArea, the applet moves to like
-30-30. This only happens with, as far as I can tell, text components,
and not dependent on what LayoutManager is being used.
Strangely enough, if I activate the FVWM main popup menu a second after
starting appletviewer, FVWM apparently blocks the appletviewer, then
when I click somewhere else, the appletview appears and does not move
off-screen.
I'm using:
JDK 1.1.5, Version 7
FVWM2 + Afterstep (stock Redhat stuff)
RedHat5/i386/kernel2.1.99
Below is an example which exhibits this behavior. If you comment out the
adding of the TextField, it doesn't exhibit the behavior.
import java.applet.*;
import java.awt.*;
public class CrashMe extends Applet{
public void init() {
add(new Label("Am I Sleep-Dep'd?"));
add(new TextField("Hello World!"));
}
}
--
// Alex Rice
// [EMAIL PROTECTED]
// Southwest Cyberport
Re: Basics of using JNI under Linux
Nicholas Matsakis wrote: [snip] > 6) Put the shared library in your shared library path. Where is this > path define, exactly? I'm using tcsh, and I presume that $LPATH is the > path I'm interested in. It's the LD_LIBRARY_PATH you're looking for. Cheers, alex.
help...
Willy writes: > Can somepne pls. tell me if the thread is working on Linux or not > > What alternative can I used if Linux does not support threads > > Thanks If you are asking whether threaded Java programs run under Linux, the answer is "sure they do". If you meant something else, please re-phrase the question and I'll be happy to give you a more elaborate answer. Cheers, alex. -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook
Re: Why Japanese......????
Could anyone give me starting point: Why Japanese have faired well in the hardware industry but have made very little impact on software. Thanx
Re: Some weird security problems in netscape - getting worse
Do you try to read images from jar ? In this case try to place your images out of jar-file. -Original Message- From: Dimitris Vyzovitis <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>; Java Linux List <[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Monday, November 09, 1998 9:07 PM Subject: Re: Some weird security problems in netscape - getting worse >Can anyone explain how can getImage return a null pointer in netscape >while it worxs in appletviewer (and msie, although i wouldn't like to >s=admit ) ? > >java.lang.NullPointerException: trying to call hasError()Z >* at sun.awt.motif.X11Graphics.drawImage(X11Graphics.java:275) > at dip.applets.DIPApplet.run(DIPApplet.java:123) > at java.lang.Thread.run(Thread.java:504) >java.io.IOException: vcafe: not found > at java.lang.Runtime.exec(Runtime.java:170) >* at java.lang.Runtime.exec(Runtime.java:134) > at netscape.debug.Debugger.launchDebugger(Debugger.java:93) > at netscape.debug.Debugger.uncaughtException(Debugger.java:37) > at >netscape.applet.AppletThreadGroup.uncaughtException(AppletThreadGroup.java: 49) > >After some assertins in code (I removed them), it seems that the call >Image temp = getImage( getCodeBase(), imageInfo_[i].file_ ); >returns null. How can this be? > >Dimitris > With best wishes, Alex Romadinoff, Lead Software Developer, Mac department, OpenTeach, Ltd.
swing 4 linux
hi! i would like to know if there is a swing version for linux and where i could get it. thanks, alex a. __ Get Your Private, Free Email at http://www.hotmail.com
swing 4 linux
alex andrejin writes: > hi! i would like to know if there is a swing version for linux and where > i could get it. Swing is written in Java, so you just need to get it from Sun. No special versions for different OSes Cheers, alex. -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook
classes.zip
hi! could somebody tell me where i can get the classes.zip for linux? they are not included in the linux jdk nor jre. i realize it is a very basic question but i have found no docs to help me. & i apologize in advance for cluttering the list w/ goofy questions. thanks, alex a. __ Get Your Private, Free Email at http://www.hotmail.com
Failed to locate native library
hi! after decompressing the x86 and x86_native, and setting THREADS_FLAG, i get the following message after trying to execute 'appletviewer applet.html': "Failed to locate native library" am i missing something here? thanks, alex a. __ Get Your Private, Free Email at http://www.hotmail.com
2 questions: RH 5.1 and JDK; netscape.*
Hi, maybe someone can help me with 2 problems: i use RH 5.1 with glibc-2.0.7-13.i386.rpm (and devel) already installed. When i type javac in shell, i get the error message: "No library path set." I am using jdk1.1.6-v1-glibc and my .bash_profile is: export PATH=$PATH:/usr/local/bin:/usr/local/lib/jdk1.1.6/bin:. export LANG=ru export LC_ALL=ru export MOZILLA_HOME=/usr/locale/lib/netscape export CLASSPATH=$CLASSPATH:$MOZILLA_HOME/java/classes/java40.jar:/usr/local/lib/jdk1.1.6/lib/classes.zip export JAVA_HOME=/usr/local/lib/jdk1.1.6 The strange thing is, that javac works, when i use the full path: /usr/local/lib/jdk1.1.6/bin/javac (is it maybe some UNIX configuration problem by me?) And my 2nd problem is that i get message: "Package netscape.javascript not found in import." when compiling. Why not? Isn't the java40.jar in CLASSPATH ? Thank you for your help! Greetings Alex -- russkaya literatura v -- http://www.simplex.ru/lit.html internete http://www.friends-partners.org/~afarber/lit.html java preferans http://www.simplex.ru/pref.html besplatnye kommercheskie ob'yavleniya http://www.simplex.ru
ïÔ×ÅÔ: 2 questions: RH 5.1 and JDK; netscape.*
Hi again, i am sorry, i have overseen the actually answer in FAQ: the javac which was called, came not from JDK, but from kaffe. Now i have changed my PATH and it works: export PATH=.:/usr/local/bin:/usr/local/lib/jdk1.1.6/bin:$PATH Also, thanks for quick reply, Steve but both NC 4.05 and JDK seem to work fine with export CLASSPATH=MOZILLA_HOME/java/classes/java40.jar: /usr/local/lib/jdk1.1.6/lib/classes.zip Greetings Alex -éÓÈÏÄÎÏÅ ÓÏÏÂÝÅÎÉÅ- ïÔ: Alex Farber <[EMAIL PROTECTED]> >maybe someone can help me with 2 problems: i use RH 5.1 >with glibc-2.0.7-13.i386.rpm (and devel) already installed. >When i type javac in shell, i get the error message: >"No library path set." >I am using jdk1.1.6-v1-glibc and my .bash_profile is: > >export PATH=$PATH:/usr/local/bin:/usr/local/lib/jdk1.1.6/bin:. >export LANG=ru >export LC_ALL=ru >export MOZILLA_HOME=/usr/locale/lib/netscape >export >CLASSPATH=$CLASSPATH:$MOZILLA_HOME/java/classes/java40.jar:/usr/local/lib/jdk1.1.6/lib/classes.zip >export JAVA_HOME=/usr/local/lib/jdk1.1.6 > >The strange thing is, that javac works, when >i use the full path: /usr/local/lib/jdk1.1.6/bin/javac >(is it maybe some UNIX configuration problem by me?) > >And my 2nd problem is that i get message: >"Package netscape.javascript not found in import." >when compiling. Why not? Isn't the java40.jar in >CLASSPATH ? -- russkaya literatura v -- http://www.simplex.ru/lit.html internete http://www.friends-partners.org/~afarber/lit.html java preferans http://www.simplex.ru/pref.html besplatnye kommercheskie ob'yavleniya http://www.simplex.ru
Re: Off topic/java dead?
On Sun, 29 Nov 1998 17:32:54 + (GMT), Bernd Kreimeier <[EMAIL PROTECTED]> said: ... Bernd> I agree that Java is not dead, not by far (just look Bernd> at C++ to see how long these language developments take). Bernd> It's not outright well either, and not because of MS FUD, Bernd> but because Sun was more committed to describe the entire Bernd> world with an API inflation in their little Solaris/Win32 Bernd> empire, instead of focussing on getting the WORA promise Bernd> fulfilled for a small, solid core. They bloated their Bernd> precious little gem until it resembled a balloon filled Bernd> with hot air, a balloon that might well loose all momentum Bernd> in the presence of even the slightest friction. I know you were responding to Steve, but I have a couple of questions: In particular what parts of the API do you think are bloated? What about different versions of JVM floating around: picoJava, personalJava, Kaffe, servlets, numerous others? If it's too bloated, aren't there smaller, faster subsets of Java that one can use? I'm not saying you are wrong, I'm just trying to understand how Java would be used by people with projects like ID is doing or like embedded developers. Bernd> P.S.: Sun "supports" JDK on Linux, but I can't find anything Bernd> on JDC about a Linux release candidate or ETA. I can get Bernd> JDK 1.2rc2 for Win32 just fine. There. I don't feel better. To be fair, they only announced support on November 2nd. Give them a few weeks at least. -- Alex Rice <[EMAIL PROTECTED]>
Re: [FYI] Java violates US patent?
Java News Collector wrote: > > At 12:06 PM 12/7/98 -0600, Justin Lee wrote: > >Ernst de Haan wrote: > --- snip --- > >Yet, surely the concept of portable code can't be contained within that > patent. > >Portable, interpreted code has been around far longer than that patent. > For an > >example, pick any form of BASIC. Isn't Java just another multiplatform > >interpreted language? The only difference is the source code is compiled > into a > >binary format rather than the engligh-esque nature of other intrepreted > >languages. > > Not even that. BASIC tokenized its "executable" before writing it to disk. Just a minor nit-pick: not every implementation did that. Let me guess... you too are comming from the Sinclair world, aren't you? :-) Cheers, alex. -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook
Re: VisualAge for Java 2.0
On Fri, 11 Dec 1998 18:44:42 -0500, Jonathan Mark Brooks <[EMAIL PROTECTED]> said: Jonathan> I've been seeing a lot of favorable stuff about VA Java 2.0. I'll try to bring this on topic (sort of) for java-linux: sign the petition for porting IBM Visual Age for Java to Linux. It's on Scott Stanchfields' pages... can't raise it right now, maybe at http://www.jguru.com/Partners/VAJ/tips/ Visual Age for Java is a totally great, awesome product. I really like using it. It's the only "IDE" I've ever used that really seems to focus on the object model and actually accelerates finding & fixing problems. My opinion on Visual Cafe is that it's to unstable for real use. The last Beta version of VAJava2 was as stable or more so than the release of Cafe 2.5. -- Alex Rice <[EMAIL PROTECTED]>
Re: JDBC-connection in Linux
On Sat, 12 Dec 1998 02:21:06 +0100, "Thor Erik Karlsen" <[EMAIL PROTECTED]> said: Thor> Im developing a system that uses both servlets and applets. So far Thor> we = have used NT4, IIS4 with JRun 2.2a, MS SQL Server 6.5 and Thor> Symantec = dbAnywhere Server as the platform. Thor> I have Red Hat 5.0 installed at home and now I want to use it as Thor> the = platform, for testing purposes. What database should I use, Thor> is it free, = and what JDBC-middleware do I use? MySQL. see www.tcx.se/ For a JDBC driver there are several but I would recommend TWZ. MySQL beats the #$%^& out of Postgres and MSQL. Also a few commercial databases were ported to Linux recently, like Oracle and Sybase, prehaps? alex Thor> Thor Erik Karlsen Thor> Catalyst ONE AS Thor> [EMAIL PROTECTED] Thor> --=_NextPart_000_001C_01BE2576.131A9370 Thor> Content-Type: text/html; Thor> charset="iso-8859-1" Thor> Content-Transfer-Encoding: quoted-printable Thor> Thor> Thor> Thor> http-equiv=3DContent-Type> Thor> Thor> Thor> Thor> Im developing a system that uses = Thor> both servlets=20 Thor> and applets. So far we have used NT4, IIS4 with JRun 2.2a, MS SQL Server = Thor> 6.5 and=20 Thor> Symantec dbAnywhere Server as the platform. Thor> I have Red Hat 5.0 installed at home = Thor> and now I=20 Thor> want to use it as the platform, for testing purposes. What database = Thor> should I=20 Thor> use, is it free, and what JDBC-middleware do I use? Thor> Thor> Thor> Thor Erik KarlsenCatalyst ONE = Thor> AS href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] Thor> --=_NextPart_000_001C_01BE2576.131A9370--
Re: More questions from a newbie
On Thu, 31 Dec 1998 10:09:24 +, [EMAIL PROTECTED] said: M.Patel> How do you start thinking in Objects and not functions and Try _Thinking in Java_ by Bruce Eckel. It's available in print or on-line from www.mindview.net. Alex Rice
1.2 JIT or Hotspot?
Any word on whether Java 2 for Linux will have the JIT run-time? (Seems unlikely that Symantec would port it). What about the mythical HotSpot from Sun? Alex Rice
RE: [ATTENTION]: Mailing List Changes
> > Newsgroups have a different audience and accessing method. I, for one, > > would probably stop following this list if it became a newsgroup. Slightly off-topic: Newsgroups and mailing lists are so similar technically. Hasn't anyone written a free, stable two-way bridge between email and nntp? I'd love to keep subscribing to the list digest, but be able to use a news reader to browse the archives... Just a thought - - Alex
Re: JavaLinux for servlets [off-topic]
>AFAIK unix doesn't support real threads. For new requests a new instance ? >of the CGI is created with fork() or something like that? Now imagine a >server with a load around 99%. Are you sure ? What about 'clone' on Linux ? With best wishes, Alex Romadinoff
problems with UDP broadcasts in 1.2 pre1
It seems like 1.2 pre1 cannot do UDP broadcasts. DatagramSocket.send throws permission denied if broadcast address is specified. I looked at the kernel source (I use 2.0.36) and it looks like before broadcasting is allowed SO_BROADCAST socket option needs to be set on the socket. jdk 1.2 on NT dows not have this problem. Cheers, Alex PS: To java porting team, thanks for the 1.2 release --- Alex Harin, PhD Universal Computer Services Tel +27 11 339-6111 PO Box 31266 Braamfontein 2017, South Africa Cell +27 82 900-4779 20th Floor, Total House, Smit St, Braamfontein Fax +27 11 339-3421 Johannesburg, South Africa [EMAIL PROTECTED] ** http://www.ucs.co.za -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ...
On Fri, 23 Apr 1999 11:28:11 -0700, Riyad Kalla <[EMAIL PROTECTED]> said: Riyad> A professor of a friend of mine went to a SAP Training Riyad> conference and came back with the news that Sun is currently Riyad> re-writing java so it (speed wise) will be on par with the Riyad> likes of C or even faster. Its being rewritting in assembler Riyad> or something to that effect. I, of course, don't know the Riyad> details. Again this is a message from AFOAF (a friend of a Riyad> friend) Riyad> Is there any validity to this? It had me squirming in my Riyad> seat when he mentioned it at first, just curious. Sounds like the same old spheel to me. Ever since Java was dubbed "Java" it's always been the same old story: "in the near future Java will be as fast as C or C++". Alex Rice|[EMAIL PROTECTED]|http://www.swcp.com/~alrice Current Location: N. Rio Grande Bioregion, Southwestern USA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sun Bashing 2
ould look like, maybe somebody would be able to say something about it. I don't think adding a few C++ thingies to Java and calling it Java++ (or however) would make "a viable alternative". > There is currently > nothing like Java out there and this is not only dangerous Why is it dangerous? > but odd when you > look at the number of other languages out there. A fundamental part of the > evolution of a technology is competition. Well, nobody is holding you back! If you make something better, I'll be among the first to adopt it. > >So, give Sun a little slack. They are making an honest effort to do the > >right thing. It is far more constructive to work within the framework which > >they are trying to build, and to provide useful feedback on that framework, > >than simply "jumping ship" on Sun altogether. That approach can't do > >anything > >good for Java in the long run. > > Competition is good for Java! Substantiate this, please. What kind of competition? How is it good? What are the negative sides of it? Do the positive sides out-weight the negative ones? Do you REALLY want to make Java into the horrible mess C++ is today? Cheers, alex. -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sun Bashing 2
quot;deal" with it... > > If an open langauge/platform existed with the capabilities of Java then one > could go somewhere else, but that is not the case. > > >Sheesh, I can remember the times when we all coded our stuff in > >assembly, without whining about "additional accumulators" or > >an "ISO standardized instruction set". Sure, we've had some > >great "6502 vs. Z80" flame wars, but that was something > >different. :-) > > So should we be content with things like this? No. The above comment was only to point out that it's not only the tool that does the job, but the programmer. Please bear in mind, that I said it while I still thought you'd just be flame-baiting, so don't take it too seriously. :-) > >If you tell us exactly why you think so and what this "alternative" > >should look like, maybe somebody would be able to say something about > >it. I don't think adding a few C++ thingies to Java and calling it > >Java++ (or however) would make "a viable alternative". > > As I said in another reply to clarify this, Java is a great language and I > can count on one hand the number of improvements I would even entertain. So > if this theoretical alternative was created it would not vary significantly > from Sun's Java. > > > > There is currently > > > nothing like Java out there and this is not only dangerous > >Why is it dangerous? > > Because if Java becomes *the* platform Sun will become Microsoft. This is where we disagree. One of the main reasons for the success of Java is that it's clean, nice, comes with a lot of fully documented libraries (even in source) and platform independent. That's why J++ has failed (at least I think it failed). If Sun would try to change Java into something closed and proprietary, they would loose all they worked for for years - the people wouldn't allow being fooled into something like that *again* (the first time M$ did it). I don't think they can afford it. > Java is > fundamentally different platform, it is like nothing else that has ever been > created. Because of this it is somewhat nieve to think that it will not be > replaced by a second generation technology or at least experience some > competition. I don't think so. I just think that Sun can't push Javas' evolution very fast. As we've learned from another post in this thread, Sun already made a proposal for the only extension for which you said "yes" and I said "not sure" (generic programing)... > > > but odd when you > > > look at the number of other languages out there. A fundamental part of > >the > > > evolution of a technology is competition. > > > >Well, nobody is holding you back! If you make something better, I'll > >be among the first to adopt it. > > Okay, so you believe that something better could exist. That's a > start :^) I'm sorry if I made another impression. It would be very stupid of me to claim Java is perfect. > > > Competition is good for Java! > >Substantiate this, please. What kind of competition? How is it good? > >What are the negative sides of it? Do the positive sides out-weight > >the negative ones? > > > >Do you REALLY want to make Java into the horrible mess C++ is today? > > Okay, I will substantiate this... [snip three good points] I see your position now - it's not that much different from mine after all. Again, I'm sorry for the rough tone of my previous post. Cheers, alex. -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Dumb Question
Luther Baker writes: > I am using Red Hat and recently downloaded your jdk1.2. Unfortunately, I > am not as UNIX savvy as I need to be and the .bz2 extension is throwing > me. gunzip and gzip resond with errors that they don't understand the > file format. The .bz2 files can be handeled with the program called "bzip2". You can find it at http://www.muraroa.demon.co.uk/ Cheers, alex. -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: First Step
First thing: remove kaffe If you're on redhat, do: rpm -q kaffe to see if it's installed. If it is, use rpm -e to remove it -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java IDE
On Tue, 29 Jun 1999 23:37:26 +0200, Matthias Carlsson <[EMAIL PROTECTED]> said: Matthias> I'm having problem finding a Java IDE for Linux I like, and I Matthias> thought I should give it a try and ask here. What is everyone Matthias> here using to develop their classes in Linux? I'm used to KAWA Matthias> for Win32, but now after switching to Linux I've been unable Matthias> to find a good replacement. Matthias> I would appreciate any recommendations I could get. You might want to check out Visual Age for Java from IBM. They have a beta for Linux. Alex Rice|[EMAIL PROTECTED]|http://www.swcp.com/~alrice Current Location: N. Rio Grande Bioregion, Southwestern USA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: jre and redhat 6
That's really strange that you are having that much trouble. Here's what I did to install java on RedHat 6: install redhat (easier than Windows, btw) uninstall kaffe (rpm -e kaffe) install jdk1.2-pre2 for linux And everything worked from there. Just to be sure, I even installed the 1.1.7 jdks, and they worked too. The only one I didn't get to work was jdk1.2-pre1 On Wed, 7 Jul 1999, steve patient wrote: > Hi Folks > > Thanks to the many of you who recommended jre 1.1.7v3 - at least there > appears to be a consensus. > > I've downloaded and installed this and now get a shiny new error message: > > can't find java/lang/Thread > > It doesn't appear to make any difference what I set CLASSPATH to. I've > included every dir I can find with a class file in it - no change. Perhaps > I don't really have a grasp on CLASSPATH. I used: > > export CLASSPATH=/home/public/jre/:etc etc > > It's a real pity as I'm writing an article for Internet Magazine on chat > servers and desperately wanted a picture of one running under Linux - but I > can hardly recommend others do something I can't get to work. And I've > spent more time trying than the whole piece is worth (a week now). The bad > news is it took under a minute to set up on NT :) > > The only HowTo I could find is Eric Raymond's, but it's circa 1996 and > needs more technical background than I have to update. Huh, and I thought > getting DNS working was hard :) > > Cheers > Steve > -- > Steve Patient - v 01249 730474 - f 01249 730877 > > > -- > 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: rh6 and linux solved
On Wed, 7 Jul 1999, steve patient wrote: > know where the jar files are. I wish someone had told me earlier about jar > files. It sort of explains why I couldn't find so many of the files Oh... well... we thought everyone knew about those. :P :) Seriously though, I have that annoying problem of always looking for the most complicated problems first. :) That and jdk1.2 doesn't require you set the classpath, which is nice. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Which "IDE" for Suse Linux?
Emacs with JDE On Wed, 7 Jul 1999, Alexander Schatten wrote: > which "IDE" can you recommend for Suse Linux V6 and Java 2. I just tried > Netbeans, and heard something about Kaffe? can someone give me more > hints? > > thanx > > Alex > > > > Dipl.Ing. Alexander Schatten > Email: [EMAIL PROTECTED] > URL: http://www.bigfoot.com/~AlexanderSchatten > Address: Gallitzinstr.7-13/7/71160 Vienna/Austria > Tel: +43 1 914 29 84 FAX: +49 89 666 176 2292 > > > > > > -- > 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: JAVA multithread questions.
You create threads by making classes that implement runnable or extend thread. Calling .start() on those classes will make the code in the run() method of those classes execute in a new thread. So, that code should be your network connecting code. Good place to start is java.sun.com, follow the link to the Java Tutorial, there is a section on threading that walks you through the basics. Good luck! On Thu, 8 Jul 1999, Chien-Lung Wu wrote: > > Hi, > > I am doing java networking program. Since my project have a little trick > architecture, I am planning to use JAVA as my design language. > > The Questions are: > 1. one of my machine called PS have to connect to 3 different servers (R1, > R2, and R3) to collect info. So PS have to make connect with R1, R2, and > R3. I want PS to connect Servers independently, that means, the > connection is concurrent, not sequence. How can I do that? > > 2. I think PS is a very important part in my project. As I mentioned on 1. > PS is a client to communicate with 3 servers. However, PS is also a serevr > to be trigger by Q. How can I deal with this situation? Is JAVA > multithread can solve my question? > > > > The configuration I try to solve is as following. > > >+-<-->R1 > / > Q<-> PS-<---> R2 > \ >+---<---> R3 > > How can I use java multithread to desigm my program, such that PS can > communicate with R1, R2, and R3 respectly, and PS also can receive Q's > triger to satisfy Q's request? > > Can anyone give me some hints or guideline to do it? Do anyone can point > out some material about JAVA multithread and java network programming? > > Any suggestion will be appreciated. > > > C. L. > > > -- > 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: Debugging Java on Linux
Well, JDE for emacs is supposed to have a nice debugger interface, but I haven't used it. If you are coming from the windows GUI world, you would probably like the JDE. It's on the third party java-linux tools on blackdown's page. On Thu, 8 Jul 1999, Christian Cryder wrote: > Hi all, > > Can anyone offer any pointers on debugging on Linux? I'm coming from the NT > / GUI Debugger world and am not real familiar with Sun's command line > alternative. Basically, I'm looking for something can debug native and > optionally has a nice gui. > > Suggestions? > > TIA, > Christian > > Christian Cryder > Software Engineer - UHR Infrastructure > REALM Information Technologies - http://www.realminfo.com > Adventures in UHR - http://realm.granitepeaks.com > Plugin Version Control for Java (PVCj 1.0) - http://www.pssg.com/pvcj > > "What a great time to be a geek" > > > > -- > 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: display text
That's because there is is no constructor for TextArea(byte[]). To do what you are doing you need to convert the byte array into a String. Remember, Java is not C. Characters are unicode and thus 2 bytes long. Strings are made up of unicode characters, not ASCII. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java IDE for Linux?
emacs or xemacs with JDE is what I like the best so far. I've looked at NetBeans, and it's okay, but a little slow. I do like Together/J and Structure Builder that integrade modeling tools with code generation. On Thu, 22 Jul 1999, Guillermo Payet wrote: > > Hello, > > Can someone recommend a Java Development environment for Linux? That is: > an IDE to develop Java code, not necessarily written in Java. > > I looked at Kawa, a Java based IDE, but based on their Web site, it's not > clear > if will run under anything but Windoze. > > What are most people using? emacs? > > thanks > > --G > > > -- > 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: Constructor/Inheritance wierdness
I've never seen that. I've only seen constructors called like:
super(param1, param2, ...);
On Tue, 27 Jul 1999, Tim Reilly wrote:
> Hi, hopefully this one's a quickie. I'm using blackdown jdk 117v3 and
> getting the following error message when compiling my TemplateList class.
>
> According the the Java 1.1 specification I should be able to call the
> superclasses' constructor with this syntax. What am I doing wrong?
>
> Thanks,
>
> -Tim
>
>
> #
> # Compiler error message
> #
>
> TemplateList.java:29: Identifier expected.
> super.(host,MetaType,TemplateType);
> ^
> #
> # Snippet of TemplateList class declaration ( generates above error on
> # compiliation )
> #
>
> public class TemplateList extends Template {
>
> public TemplateList (String host, String MetaType, String TemplateType)
> {
>
> super.(host,MetaType,TemplateType);
> this.iStart = 1;
> this.iStop = 1 + config.iDefaultRecords;
> }
>
> }
>
> #
> # Snippet of Template class declaration ( compiles OK)
> #
>
> public class Template {
>
> public Template (String Host, String MetaType, String TemplateType) {
>
>
> }
>
> }
>
>
> --
> 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: Newbie question
Like my compadres before me said, native threads run at the OS level, and therefore can access multiple cpus. However, it is my understanding that this is the only time native threads should be used. On single processor systems, green threads are faster, and you aren't limited by any process limitations in the OS. Since in native threads, each thread runs in it's own process, you run the risk of running out of available processes. You don't have that with green threads. though I'm sure there are limitations on green threads as well, I don't know whether or not they are definite or limited only by machine capability. On Fri, 30 Jul 1999, Pere Serra wrote: > I have an easy question: > What's the difference between native threads and green theads? > Which one is more eficient/stable? > > > -- > 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: X-server
http://www.uk.research.att.com/vnc/index.html On Wed, 25 Aug 1999, Hanno Saks wrote: > Hi! > > Is out there available (or is even possible to do) any applets which can act > in framed HTML page as Xserver client > > Hanno > > > -- > 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: Sometimes easy things are hard/impossible in Java
> I think a better solution is to override getForeground / getBackground > of the component to return something related to it's parents? So now you have to override all the gui components just to override one method? I would think that would be a lot of work for very little gain, not to mention it would add unnecessary bulk to your app, don't you think? > renderer does not call getForeground but directly grabs it from a member > variable, this won't work. What you could do is override paint() to set Everything that descends from component inherits setBackground/getBackground and setForeground/getForeground. I don't know off the top of my head, of any components in the java libraries that ignore those properties. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sometimes easy things are hard/impossible in Java
> When writing gui apps, most of the time i have to override most of the > components anyway, except for generic items such as buttons. But this is > the only way i see to implement color themes, because it works when you > add/remove components dynamically. The recursive setColor won't work in > that case (although it is probably the simplest / fastest solution for > the static case). If all you are doing is changing the look of already existing components, you should be using PLAFs, not extending the components, thereby breaking PLAF. > If you look at the java.awt source, the toolkits, layout managers, etc. > use component.x values instead of component.getX(). I don't know if it > is the same with other member variables (such as foreground / > background) . The thing i was worried about is that if the java.awt > classes directly access the member variables, then overriding the > functions won't do any good... In the case of colors anyway, they use the get methods, I believe, because I have written things that override those before and they worked fine. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: want to use swing
Yes, you can download swing from java.sun.com/products/jfc/index.html On Fri, 10 Sep 1999, Sitanshu Bhusan Nanda wrote: > Hi, > > Can i use swing in jdk1.1.5? > Where can i download swing.jar or anything other than that which will > help me to use swing in my programs. > > Thanx. > Sitansu. > > > > -- > 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: Float -> Double conversion bug ?
That is actually documented I believe. It's not limited to jdk1.2. I
don't know why it can't be just 0.3 but it is. This is why
the language spec says not to compare floats and doubles without casting,
you will always get negative results even though you think you should have
a positive one.
So to compare 0.3d with 0.3f you would do:
double d = 0.3;
float f = 0.3f;
if ((float)d == f) { do something };
You will lose precicion on your double variable though, so make sure you
don't need it before you do it.
Back to why you can't store 0.3 as a double. I'm guess this has more to
do with the limitations of binary representation of floating point
numbers. It's been a long time since my intro to CS courses when I
learned all this, anybody have anymore info on this?
On Fri, 24 Sep 1999 [EMAIL PROTECTED] wrote:
> Dear all,
>
> If I try to put a float into a double variable the last bits of the
> precision are total garbage ! If I try to put the float 0.3 into the a
> double the result is 0.3001192092896 !!! This could be a 'feature'
> but it renders java (or at least jdk1.2) completely useless for numerics
> !
>
> Has anyone seen this behaviour
>
> below is the small program I used to test it, we first discovered this
> in a jpython program so hence the cross post to the jpython group.
>
> public class Main {
> public static void main(String args[]) {
>
> float a = 3.3f;
> double b = 3.3d;
>
> System.out.println("flt (ToIntBits) = "+Float.floatToIntBits(a));
> System.out.println("flt (ToLongBits) = "+Double.doubleToLongBits(a));
> System.out.println("dbl (ToLongBits) = "+Double.doubleToLongBits(b));
>
> }
>
> }
>
> For jpython this means that it is not possible to return a float array
> from java to jpython session, since it is always converted to double !!
>
> I modified the PyFloat.py file in such a way that the contructor for the
> PyFloat(float) uses the Float.toString() and then the
> Double.parse(string) to put the proper value in the private attribute
> value; It was also
>
> It is also necesary to modify the Py.java2py in the Py.py file, this
> function transforms a java array into a Python array. It seems that this
> code make no difference between a double and a float array, it always
> uses the double contructor from the PyFloat class so I modified that. I
> agree it is not very nice but at least it works.
>
> public PyFloat(float v) {
>super(__class__);
>
>// Nasty
>Float _tmp = new Float(v);
>value = Double.parseDouble(_tmp.toString());
>
>//this((double)v); ** Original code
> }
>
> snip function top
> if (o instanceof Number) {
> if (o instanceof Double ) {
>return new PyFloat(((Number)o).doubleValue());
> }
> else if(o instanceof Float) {
> return new PyFloat(((Float)o).floatValue());
> }
> snip function end
>
>
> Last question, It seems that if I create and later print an array (say
> something like : array([0.3, 0.4], 'f')) it first allocates PyFloat
> variables for 0.3 and 0.4, that it allocates the array BUT then it,
> when I want to print it, it again allocates two PyFloats to print it (in
> the __repr__() fucntion in PyArray, or actually in the get(int i) method
> which calls the Java method Array::get(Object, int)). Q: Why does it
> allocate twice ?
>
> Kind regards,
> Niels Hilbrink
>
> --
> Stehlin Merazzi Research sa. tel : +41 32 345 2123 - direct
> http://www.smr.ch +41 79 607 1014 - mobile
> Rue Dufour 109b +41 32 345 2120 - fax
> CH-2500 Bienne 4, Switzerland
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ¿How do it?
java.lang.runtime.exec On Sun, 26 Sep 1999, Juan Carlos wrote: > Hi friends, > > ¿How to execute an linux command, to obtain any > information, using Java? (ex: the CAT command). > I have Red Hat version 5.3, and jdk1.1.5. > > Thanks > > > > __ > Do You Yahoo!? > Bid and sell for free at http://auctions.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: Java and Enlightenment
I noticed this too under JDK 1.1.7 on Solaris 2.6. Some dialogs would move when you mouse over them. It seemed WM specific though. I had the problem running FVWM2 on Xfree86, but using Solaris CDE the problem wasn't present. The other thing was that the only application I noticed this kind of behavior in was the admin screen of Java Web Server. On Wed, 29 Sep 1999, Peter Graves wrote: > The authors of the Enlightenment window manager have some > interesting comments today about Java: > > http://www.enlightenment.org/news.html > > Their basic point is that "Java under X (AWT) is Broken"; they > don't mention which Java implementation they're referring to. > > I don't think things are all that bad with either version of the > Blackdown port (or with the new IBM 1.1.8 implementation either, > for that matter), but I have noticed that dialogs (in particular) > tend to drift a bit under various window managers, even though > there's explicit code in the application to save and restore > their position. Both Enlightenment and Windowmaker seem to have > this problem, but icewm, last time I checked, did not. Windows > VMs don't seem to have this problem at all. > > -Peter > http://armedbear.org > > > -- > 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: Changing the font on Swing slider
Yeah... I think it is in com.sun.plaf.DefaultLookAndFeel or something like that. On Fri, 8 Oct 1999, Jacob Nikom wrote: > Do you know where the information about > current settings is located? > > Jacob > > [EMAIL PROTECTED] wrote: > > > > hmmm... if that doesn't work, you might try overriding the PLAF for that > > component. > > > > On Thu, 7 Oct 1999, Jacob Nikom wrote: > > > > > Hi, > > > > > > I am trying to change the font style and size on some > > > of the Swing widgets, mostly JSlider (tick marks numbers), TabbedPanes > > > (tab names), etc. You cannot not set them up > > > directly with setFont. > > > > > > I could not find any information how to do it. Do you > > > have any idea how to do it? > > > > > > Thank you, > > > > > > Jacob Nikom > > > > > > > > > -- > > > 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: Stupid Newbie Questions: Catching unanticipated null pointer exceptions (Are there really any other kind =^)
> Exception in thread "main" java.lang.NullPointerException: > at java.awt.Container.addImpl(Container.java:316) > at java.awt.Container.add(Container.java:245) > at Tedit.(Tedit.java:100) > at Tedit.main(Tedit.java:557) The problem is in line 100 of Tedit.java, specifically in the constructor. I bet you're trying to add a null object to a container, either that or you're trying to add an object to a container that is null. I don't use JDB unless I'm really desparate. If you use Emacs and install the JDE for Emacs (you can get to it off of blackdown under third party tools I think) it integrates the jdb debugger into emacs so it kind of works like JBuilder's debugger where you can see what line you are on and skip/trace/etc into the source code, and watch the source code while the program runs. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Const in java
So there is no added benefit to declaring a parameter final other than to
allow access from inner classes within the method.
On Thu, 14 Oct 1999, Vartan Piroumian wrote:
> Hi folks,
>
> All parameters are ALWAYS passed by value in Java.
>
> When the parameter being passed is an object reference it is the
> VALUE OF THE REFERENCE that is passed by value, not the object being
> referenced.
>
> This may seem like a moot distinction, but it is not. A method cannot
> destroy the reference passed to it by changing the value of the formal
> parameter. The formal parameter is a copy.
>
>
> Regards,
>
> Vartan
>
>
>
> [EMAIL PROTECTED] writes:
> > On Wed, 13 Oct 1999, Robert Simmons wrote:
> >
> > > Since everything in java is passed by reference this becomes even more of an
>issue.
> > > Therefore can I do the following to achieve the desired safety ?
> >
> > Well, everything is not passed by reference in Java. I believe primitives
> > and immutable types are passed by value. Someone know the exact rules
> > behind this? I always have to write a little test program to remember.
> > Okay, I'll stop being pedantic.
> >
> > I think if you do
> >
> > public void myFunction(final SomeClass var) {
> >.. whatever ..
> > }
> >
> > Will do what you desire. Not positive though so some of the other wiser
> > folks on the list might wish to confirm this.
> >
> >
> > --
> > 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: Where is it?
You get those from java.sun.com, docs and apis. On Thu, 14 Oct 1999 [EMAIL PROTECTED] wrote: > OK. I am new to the java world and have installed java on my redhat 6.0 system. I >downloaded version 1.1.7 . I am missing the directory of docs and samples. Where are >these located? > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: escape character
yes On Fri, 15 Oct 1999, Yohans Mendoza wrote: > hi all, I was under the impression that the escape character in java was > \. > is that correct? > > TIA > > --Yohans > > > ~ > Yohans MendozaUnix Administrator > [EMAIL PROTECTED] Sirius Images Inc. > http://www2.utep.edu/~yohans http://www.sirius-images.net > ~ > > > -- > 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: Still looking for a solution.
Do you have to use AWT frames? If you use a swing frame, you can use a
glass pane to do what you are trying to do.
On Wed, 20 Oct 1999, Wayne wrote:
> Hello,
> I'm close, but no cigar. I'm still trying to get a frame to accept key
> events.
> In file TestCntrl.java I have -
>
> import java.awt.* ;
> import java.awt.event.* ;
>
> public class TestCntrl extends TestFrame
> {
> public static void main(String arg[])
> {
> new TestCntrl ().setVisible(true) ;
> }
>
> public TestCntrl ()
> {
> ToolKit theToolKit = this.getToolkit () ;
> Dimension outScreenSize = theToolKit.getScreenSize () ;
>
> this.setBounds (ourScreenSize.width/1, ourScreenSize.height/1,
> ourScreenSize.width/2, (int)
> (ourScreenSize.height * .8)) ;
>
> // When I add the button it doesn't work!
>
>Button myButton = new Button("TEST") ;
>add(myButton) ;
> }
> }
>
>
> In the file TestFrame.java
>
> import java.awt.* ;
> import java.awt.event.* ;
>
> public class TestFrame extends Frame
> {
> public TestFrame ()
> {
> enableEvents (QWTEvent.KEY_EVENT_MASK) ;
> }
>
> public void processKeyEvent (KeyEvent e)
> {
> super.processKeyEvent (e) ;
> System.out.println("Print key code" + e.getKeyCode()) ;
> }
> }
>
> Can someone tell me why this doesn't when I have the button. Also how
> can I get
> this to work without putting a handler on the button?
>
> TIA
> Wayne
>
>
> --
> 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: Linux and Java
I haven't seen this readme but I can tell you that the readme file for jdk 1.2 is the same for win and linux (it explains for the win platform the unix file paths...) Hope it helps, Maxx [EMAIL PROTECTED] - Original Message - From: Nicolas Raitman <[EMAIL PROTECTED]> To: Java <[EMAIL PROTECTED]> Sent: Thursday, October 05, 2000 8:22 PM Subject: Linux and Java > I downloaded Java jdk1.3 but when I read the system requierements it said > (winx) no Linux. Do I have to download another version of it in order to > use under Linux? > > Thanks > > > -- > 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: Events
Hi!
THIS means that you add an event listener to the group of event listeners of
the event handling method of the class who has the scope there.
In other words: the same way you add the button - add(button) - you have to
add the actionListener to be handled by actionPerformed method of THIS
class.
Best regards,
Maxx [EMAIL PROTECTED]
- Original Message -
From: Nicolas Raitman <[EMAIL PROTECTED]>
To: Java <[EMAIL PROTECTED]>
Sent: Thursday, October 05, 2000 7:38 PM
Subject: Events
> Hi to all. I am very lost with handling events in Java, so I have some
> questions, suppose I have this:
> It is an applet. Of course, most of the code has been omitted.
>
> public void init()
> {
>
> Button button1;
> button1 = new Button("OK")
>
> add(button1);
> button1.addActionListener(this); // in the first place, what does this
> 'THIS' mean ?
> }
>
>
>
>
> --
> 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]
j2sdk 1.3.0 for sparc-linux?
I really /need/ j2sdk 1.3.0 running on sparc-linux to run some java clients on my sparc box, what's the status on this one? The last news item dates back to September 2000 and there's been nothing new since. I do have j2sdk 1.2.2, but this doesn't seem to work with the client I'm using. I'm really desperate, I'll even help beta, or even alpha test sparc-linux j2sdk binaries. Or if you have no sparc boxes, I can help with that. System configuration: Linux kernel 2.2.19 glibc 2.1.3 binutils 2.10.1 gcc 2.95.3 not forgetting X11 - Xfree86 4.0.3. running on sparc32. Alex. -- Man throws egg at Widdecombe: snarling winged beast-creature stinking of sulphur emerges from her stomach and eviscerates him. http://www.tahallah.clara.co.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: j2sdk 1.3.0 for sparc-linux?
On Wed, 23 May 2001, Johan Vos wrote: > 1.3 is running on sparc-linux but not packaged yet. I will try to > package it before JavaOne. Thanks, you're going to make me a very happy man. I'll even test it for you ;o) Alex. -- Man throws egg at Widdecombe: snarling winged beast-creature stinking of sulphur emerges from her stomach and eviscerates him. http://www.tahallah.clara.co.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Mozilla plugin on sparc-linux?
I just noticed in the sparc-linux distribution of J2SDK 1.3.0 that there is no plugin for Mozilla. Any plans to provide one? I have managed to copmpile and install Mozilla but would like to use the plugin for Mozilla. -- Hey, they *are* out to get you, but it's nothing personal. http://www.tahallah.demon.co.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Mozilla plugin on sparc-linux?
On Sun, 15 Jul 2001, Johan Vos wrote: > I had problems building the plugin in the 1.3.0 version for RH 6.2. I > will try to include it in a 1.3.1 release for RH 6.2 Now that's excellent news to warm the cockles of me heart! Thanks for all the hard work you've put in. I do wish, however, that Sun would let the developers release the sources though. -- Hey, they *are* out to get you, but it's nothing personal. http://www.tahallah.demon.co.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
[VIRUS WARNING!]
Some fuckwit got my post from this mailing list and tried to send me a virus! Sadly for the braindead script kiddie, I don't do Windows! Contents of post minus virus as below -- Hey, they *are* out to get you, but it's nothing personal. http://www.tahallah.demon.co.uk -- Forwarded message -- Date: Wed, 18 Jul 2001 15:34:17 +0100 From: informatics <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Re: Mozilla plugin on sparc-linux? 'Alex Buell' wrote: - On Sun, 15 Jul 2001, Johan Vos wrote: - - > I had problems building the plugin in the 1.3.0 version for RH 6.2. I - > will try to include it in a 1.3.1 release for RH 6.2 - - Now that's excellent news to warm the cockles of me heart! Thanks for all - the hard work you've put in. I do wish, however, that Sun would let the - developers release the sources though. - - -- - Hey, they *are* out to get you, but it's nothing personal. - - http://www.tahallah.demon.co.uk ...' > Take a look to the attachment. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Java plugin for Mozilla?
Hi A month ago someone said they would be shortly releasing a port of Java21.3.1 for sparc-linux platforms that would include a java plug-in. What's become of that? I'd really like to give Netscape the boot. -- Be careful out there. http://www.tahallah.demon.co.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK 1.4 port status
On Mon, 27 Aug 2001, Jim Hazen wrote: > I'm currently using Blackdown 1.3.1 and I love it. It runs faster > (than the Sun version), works better, doesn't crash. Couldn't want > much more in a JVM. I'm looking forward to Blackdown's take on 1.4, > but since their promise on 6/25 that a beta would be available soon, I > haven't heard or seen anything. Anyone know what's going on? I'm still waiting for them to finish porting 1.3.1 to the sparclinux platform, as I need the java plugin to use with Mozilla. It's about the only thing stopping me from junking Netscape entirely. -- Be careful out there. http://www.tahallah.demon.co.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK 1.4 port status
On 30 Aug 2001, Juergen Kreileder wrote: > I still have problems with Mozilla on Sparc (even without Java), so > this might take a couple of days more... (You might be able to use > Java in Mozilla before that. There's a new Java integration API for > Mozilla: Waterfall. IIRC it will build with access to the Java > sources.) Odd. I have very few problems with Mozilla (I am using 0.9.3), and totally love it. It doesn't crash where Netscape *will* crash! I've only had Mozilla crash when I've forgotten to initialise it by running it as root after installation. Thanks, I'll look forward to testing the sparc-linux JDK 1.3.1 when it's out. I have a lot of java stuff that's guaranteed to cause most JVMs a nasty case of heartburn. ;o) Blackdown 1.3.0 on Sparc and 1.3.0 & 1.3.1 on Intel works fine! I am somewhat concerned by the requirement for glibc 2.2.4 though, as I don't particularly want to have to upgrade from 2.1.3. Why is it necessary, if at all? -- "We all make mistakes.. ", said the Dalek, whilst dismounting the dustbin. http://www.tahallah.demon.co.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK 1.4 port status
On 4 Sep 2001, Juergen Kreileder wrote: > > Odd. I have very few problems with Mozilla (I am using 0.9.3), and > > totally love it. It doesn't crash where Netscape *will* crash! I've > > only had Mozilla crash when I've forgotten to initialise it by > > running it as root after installation. > > Mozilla still crashes my X server at startup. Odd. Mine never crashes at startup. Can you tell me what versions of the software you are using: gcc, binutils, X11, and glibc. I am currently using glibc 2.1.3, gcc-2.95.3, Xfree86 4.1.0, and binutils 2.10.0. > As said before, for now glibc-2.1.3 is good enough. But at some point > we will require newer glibc/XFree releases which will allow us to drop > some ugly compatibility code and to use features available in newer > versions (e.g. Xinerama, Xv). That's fine by me. I'll be upgraded by that time, it's necessary to move up to glibc 2.2.4+ with binutils 2.11.x and gcc 3.x. -- Be careful out there. http://www.tahallah.demon.co.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Missing '-version' breaks build of OpenOffice..
Hi guys Just discovered to my horror that the configure script in OpenOffice relies on passing '-version' to javac to check that it is the right software to use with it. This problem seen on both intel and sparc platforms (1.3.1 and 1.3.0 respectively). Any plans to sort this out? Doing 'javac -version' works fine for Sun Microsystem's Java2 1.3.1. PS: I'm still waiting for 1.3.1 to be released for sparc-linux - look, if you haven't got the time, then give me the sources and I will be happy to test and report back. I've already signed up for the SCSL and got the sources for 1.3.1 on intel-linux, all I need is the sparc-linux code. Cheers, A Very Frustrated Programmer -- Love is good. Hate is bad. http://www.tahallah.demon.co.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Missing '-version' breaks build of OpenOffice..
On Sat, 8 Sep 2001, Kevin Ryan / KNB wrote: > Baloney. "javac -version" doesn't work anywhere, because the > "-version" is an option to "java", not to "javac". Yeah, I only realised this was the case 10 minutes ago. Anyway, looks like the problem is with OpenOffice's configure script. For some stupid reason it seems to want to do javac -version, and if it's not there.. > The simple fix/workaround is to pass this option to "java" VIA "javac" > using the "-J" option: > > javac -J-version That's useful to know though, thanks for this. -- Love is good. Hate is bad. http://www.tahallah.demon.co.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: [ANNOUNCE] Java 2 Standard Edition v1.3.1-02a-FCS for Linux
> The Blackdown Java-Linux Team is happy to announce the availability of > the Java 2 Standard Edition v1.3.1-02a-FCS for Linux on i386. Good work! When can we expect a PPC version of V1.3.1? Many Thanks, Alex -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
limit the memory used by java plugin
Hi, I am using the blackdown JRE1.3.1 PPC linux plugin for mozilla. Is there anyway to limit the amount of memory used by the JVM? I have tried setting the Max heap using the -Xmx8m argument to the plugin. This does not seem to make a difference. It appears that the plugin is taking about 20M of memory. I would like to limit it to about 8M. Any ideas? Thanks, Alex -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: File jni_md.h
Add the following to your CFLAGS and fill in the Java SDK directory. -I/include/linux/ -Original Message- From: Drew Lane [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 9:33 AM To: java-linux Subject: File jni_md.h Blackdown Java 1.3.1-02a for PPC I'm trying to recompile a program written in Java which make some native calls written in C. I'm getting the error: jni_md.h: No such file or directory I know that some people have recompiled this program on Intel boxes, so is this a problem with Blackdown PPC Java? Thanks, Drew -- 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]
linux kernel 2.6 multi threaded java apps
Hi, I noticed that 2.6 kernel no longer reports correct CPU use on multi threaded java applications. My tomcat instance reports 0% cpu use when infact it is using 90% cpu. I tried to view threads using top but nothing shows up. How can I enable CPU usage statistics for my multi threaded java applications (eg. tomcat) in linux 2.6 kernels? Alex -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: linux kernel 2.6 multi threaded java apps
Joseph Shraibman wrote: Alex Amerik wrote: Hi, I noticed that 2.6 kernel no longer reports correct CPU use on multi threaded java applications. My tomcat instance reports 0% cpu use when infact it is using 90% cpu. I tried to view threads using top but nothing shows up. How can I enable CPU usage statistics for my multi threaded java applications (eg. tomcat) in linux 2.6 kernels? Alex I'm guessing this is a problem with top, not the kernel. What platform are you on and where did you get the kernel? I am on a Pentium 4 machine running RedHat 9. Kernel sources 2.6.7 were downloaded from ftp.kernel.org. This happens only on some java applications such as tomcat and obejctdb, other apps such as Eclipse report their CPU usage correct. It is not limited to top, ps behaves the same way. When I reboot back to 2.4.x kernel series this problem dissapears. Thanks, Alex -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
FW: Odd seg fault (2)
I have a similar segmentation fault problem with an installation of L(inux) EM(mbedded) + kernel 2.2.14. Libc is 2.1.3 I believe. When I try to run a Java applet based on AWT I get the following: current locale is not supported in X11, locale is set to CX locale modifiers are not supported, using defaultSIGSEGV 11* segmentation violation si_signo [11]: SIGSEGV 11* segmentation violation si_errno [0]: Success si_code [0]: SI_USER [pid: 0, uid: 0] stackpointer=0xb57c Full thread dump Classic VM (Linux_JDK_1.2.2_RC4, native threads): "AWT-Motif" (TID:0x40e90060, sys_thread_t:0x82604e0, state:R, native ID:0x1807) prio=5 at sun.awt.motif.MToolkit.run(Native Method) at java.lang.Thread.run(Thread.java, Compiled Code) "SunToolkit.PostEventQueue-0" (TID:0x40e7bf10, sys_thread_t:0x8241b58, state:CW, native ID:0x1406) prio=5 at java.lang.Object.wait(Native Method) ... I tried setting LANG but to no avail. Can anyone suggest what I am missing here ? Thanks Alex -Original Message- From: Calvin Austin [mailto:[EMAIL PROTECTED]] Sent: 11 April 2000 18:51 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Odd seg fault Yes it is a bug with the way that the port handles locales, basically it tries to interogate the locale data for en, which is probably incomplete It was doing this to enable japanese support. The workaround is to set LANG to POSIX or a full locale, also the blackdown port does not have this bug . regards calvin > Resent-Date: Tue, 11 Apr 2000 08:28:56 -0600 (MDT) > Date: Tue, 11 Apr 2000 10:26:26 -0400 > From: Timothy Reaves <[EMAIL PROTECTED]> > X-Accept-Language: en > MIME-Version: 1.0 > To: java-linux <[EMAIL PROTECTED]> > Subject: Odd seg fault > Content-Transfer-Encoding: 7bit > Resent-Message-ID: <[EMAIL PROTECTED]> > Resent-From: [EMAIL PROTECTED] > X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/3475 > X-Loop: [EMAIL PROTECTED] > Resent-Sender: [EMAIL PROTECTED] > > I've recient;y upgraded to RH6.2 Doing so broke wine. WPO2K did not > work. So I read the wine newsgroup, and found this was due to the glibc > that 6.2 uses. It said to put the LC_ALL=en line in my profile. I did. > > What does this have to do with java? Just a moment. > > I have open two sid-by-side aterms. I edited my .bash_profile in > one, sourced it, and low-and-behold wine now works. Now the oddity. > Java (sun 1.2.2) does not! It seg faults with SIGSEGV 11. > > I can got to the second aterm, and java runs fine. So it has to be > this LC_ALL entry. Can anyone shed some light on this? > > Thanks. > > > -- > 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]
