jdk1.7 Connection Refused
I'm running xntpd on a local server that's also connected to the Internet as a web server running Slackware 3.6 on Linux 2.0.34. It's not just the xntpd, but other services as well, but I continue getting conection refused errors in java.net.ConnectionException exceptions when trying to connect to the web page with the embedded .class file using either a browser, or appletviewer. I'll spare the java source, since I'm quite sure it's related to the java.net.* libs in general and not my /etc/services settings. I can synch both other boxes using command-line ntpdate tempe without problems, but none of my java apps can connect using sockets. A little tip on whether I need to embed a signature in the apps, or, is there something else someone can clue me in on? Regards, Van -- = Linux rocks!!! www.dedserius.com = -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Upper Case
Hi, I'm new to Java and would like some advice on how to convert a string to upper case. Thanks in advance, Van Sy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java 1.1.6 can't add!
A small thing: Whenever I give my Java APplication a nice name in the Titlebar, it says in the titlebar "No Name". Whenever I try to give my little Java Frame/Java Window/Java Dialog a nice name in the Titlebar, it says "No Name" in the titlebar. Anybody any idea why that is? -- Maarten van Leunen Student - Fontys Institute of Technology Eindhoven e-mail: [EMAIL PROTECTED] http://www.il.fontys.nl/~maartenl http://lok.il.fontys.nl/
Sorry about the title.
-- Maarten van Leunen Student - Fontys Institute of Technology Eindhoven e-mail: [EMAIL PROTECTED] http://www.il.fontys.nl/~maartenl http://lok.il.fontys.nl/
String -> Integer/Double/etc
Howdie, Isn't there a way for a String to be transported to int or double or float or something? The way I'm doing it now is by creating an Object Double, and initializing it with a String. Then using a method of Double to retrieve the value as an ordinary double. This is a bit of a hassle. -- Maarten van Leunen Student - Fontys Institute of Technology Eindhoven e-mail: [EMAIL PROTECTED] http://www.il.fontys.nl/~maartenl http://lok.il.fontys.nl/
Expanding arrays
Howdie, Is there a way to expand arrays. Like, I want to put a unknown number of strings in an array. And then "return" the array of Strings in the Method. I read one string, and wish to add it to the array without having to define the amount of Strings in the array previously. -- Maarten van Leunen Student - Fontys Institute of Technology Eindhoven e-mail: [EMAIL PROTECTED] http://www.il.fontys.nl/~maartenl http://lok.il.fontys.nl/
Printing of Graphics
Howdie Anybody know any good way of using Toolkit and Graphics in order to print Spreadsheet-kinda output? In a slightly easier way then to draw rectangles all over the paper and draw text inside them, I hope? And how can I put scaling into effect? Drawing stuff despite changes sizes? -- Maarten van Leunen Student - Fontys Institute of Technology Eindhoven e-mail: [EMAIL PROTECTED] http://www.il.fontys.nl/~maartenl http://lok.il.fontys.nl/
Arithmetic Precision Errors
Howdie, I have this panel containing fields that I have to arithmetically change. However, with some fields, with the following calculation I get the following results: 172.5 / 1000 = 0.172501 817.0 / 1000 = 0.81701 4975.0 / 1000 = 4.975005 Why is that and how do I stop it? It looks like a Pentium-bug. *sigh* I use doubles and ordinary TextFields. -- Maarten van Leunen Student - Fontys Institute of Technology Eindhoven e-mail: [EMAIL PROTECTED] http://www.il.fontys.nl/~maartenl http://lok.il.fontys.nl/
JDK1.2
Hi there Stupid question, but I have to ask.. When do you expect to release JDK1.2 for Linux? Thanks Regards Theo
In what rpm do I find libXm.so.2
Hi, I am trying to install a jdk redhat pacjage but it needs libXm.so.2. Does anyone know where I can find that library, i.e. in what rpm is it stored? Thanks, Sander
Updating/Painting
Howdie, Let me first begin to say that it's a great honour for me to finally be here. Anyway, I've got an application, a frame, a ScrollPane in the frame, a Panel in the frame, and these two are not normally updated when I add something to the panel. Any ideas? Have been lookin at setVisible, paint, paintAll, update, PaintEvent, Adjustment, etc, and it's just too weird for now. A final resizing of the window does result in an update of the said Panel. What paintmethod does the resizing stuff use? -- Maarten van Leunen Student - Fontys Institute of Technology Eindhoven e-mail: [EMAIL PROTECTED] http://www.il.fontys.nl/~maartenl http://lok.il.fontys.nl/
Re: java takes too much CPU time
Heikki Suopanki wrote: > > Java application takes 10-20% of CPU time even with lot of 'sleep()'. > On Solaris it takes less than 0.1%. > Is that normal? > > Even a minimal application which only sleeps and sleeps and > prints a message to stdout takes 1-2% of CPU time. > > Redhat 5.1, jdk1.1.6 > Machine is a dual 233Mhz. > > -Heikki I'm currently working on a Sun Sparcstation 20. And I generally get a 5% CPU time from my Java Applications and Applets. After all, it's an interpreter. Especially during the creating of a LayoutManager, with lots of components (say for example, a long spreadsheet/or list of labels), it takes forever to get the screen to "calm down". -- Maarten van Leunen Student - Fontys Institute of Technology Eindhoven e-mail: [EMAIL PROTECTED] http://www.il.fontys.nl/~maartenl http://lok.il.fontys.nl/
Packages
Howdie, Anyone know how these darned packages work? Or where a good guide is available concerning packages? I can't seem to find anything about it in the nice Sun Java Tutorial. -- Maarten van Leunen Student - Fontys Institute of Technology Eindhoven e-mail: [EMAIL PROTECTED] http://www.il.fontys.nl/~maartenl http://lok.il.fontys.nl/
a question
Dear sir I install jkd1.2 in redhat version 5.2 . I compile java program by "javac ..." it 's all right . When I run "java ..." it can't load awt classes. This message like here : $java mynameclass Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/jdk1.2/jre/lib/i386/libfontmanager.so: libstdc++-libc6.0-1.so.2: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(Compiled Code) at java.lang.ClassLoader.loadLibrary(Compiled Code) at java.lang.Runtime.loadLibrary0(Compiled Code) at java.lang.System.loadLibrary(Compiled Code) at sun.security.action.LoadLibraryAction.run(Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.font.NativeFontWrapper.(NativeFontWrapper.java:41) at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:61) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Compiled Code) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Compiled Code) at sun.awt.motif.MToolkit.(MToolkit.java:59) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Compiled Code) at java.awt.Toolkit$2.run(Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.getDefaultToolkit(Compiled Code) at java.awt.TextComponent.enableInputMethodsIfNecessary(Compiled Code) at java.awt.TextComponent.(Compiled Code) at java.awt.TextField.(Compiled Code) at Tawt.(Compiled Code) at Tawt.main(Compiled Code) / Could you guide me to fix this problem . please show me your reply. I am waiting from you . Thank you for your reading. Bye. _ Get your private, free Email by Vietnamese at http://vol.vnn.vn B¹n cã thÓ t¹o mét hép th miÔn phÝ trªn http://vol.vnn.vn -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [off-topic] stop MS bashing please (was: Re: -Xrunhprof:cpu=times)
On Sun, 13 Jun 1999, Louis-David Mitterrand wrote: > On Sun, Jun 13, 1999 at 01:13:04PM +1000, Chris Kakris wrote: > > Juergen Kreileder wrote: > > > > > > That's because it isn't implemented in pre1 & pre2. It will work with > > > the next release. > > > > Excellent. Thanks. > > > > Chris (kill -9 Microsoft) Kakris > ^ > Why don't we recognize and respect competition for what it's worth? As if MS respects the competition. > Moreover preaching to the choir is lame. [Sorry everyone i just had to reply to this troll] Lighten up, most people i know that use Windows every day also like to bash MS. It's just harmless fun. Especially for Linux users :-). I mean we're involved on this list with Java and Linux how much more non-MS can you get. So lighten up please. Linux still is a hackers OS, hackers don't like tight rules, if this were a corperate list this sort of sigs would indeed be inappropriate IMHO. BTW: I preach choice in my sig. -- Andre van Dijk-= Linux: Choice with a captial C++! =- mailto: [EMAIL PROTECTED] icq : 4249631 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: netscape 4.61, Java, Redhat 6.0
I am runnining netscape 4.61 on Rehat 6.0 I did five test on the circle applet yesterday (nice one) and today with no change in the set up of any software Once it locked up netscape within 5 seconds. No problems at all in the other try-outs peter van Toorn > > > Paul Ho wrote: > > > At 11:58 AM -0400 07/23/99, Nelson Minar wrote: > > >Could it really just be me? I'm running pretty basic Netscape, about > > >the only change I made was running Fortify over the browser. Trivial > > >applets like > > > >http://nelson.www.media.mit.edu/people/nelson/research/mas964/ps2/CircleRepetition.html > > >are killing it. Try it yourself - run the applet, click and hold in > > >the window and drag around awhile. (Enjoy the pretty circles). For me, > > >after about 15 seconds of this, Netscape locks up solid. > > > > No problem here. Netscape communicator 4.61 from Redhat rpm on RedHat 6.0 with > > updates from (updates|rawhide).redhat.com > > > > Netscape do locks up from time to time. Your applet just fail to do it this time >;-) > > > > Cheers, > > Paul > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- > [ Riyad Kalla ] > [ InterAccess Corporation ] > [ University of Arizona ] > > -- > 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]
Too old an Applet?
Hi, I've put together an applet that queries a database over a JDBC connection. When I run appletviewer all's well. When I use Netscape 4.5, ok. However, Netscape 4.5 puts a bit too much strain on my system to work flexibly with. Using the 'lighter' Netscape 3.01 (still a staticly linked colossus ;-) I get the strange message: 'Cannot load applet. The zip file's so old it hasn't even got a version to it' Apart from the strange sense of humor used I don't really get the point. NS 3.01 should run this applet. Which zip file? classes.zip is in my $CLASSPATH... I'm using JDK 1.1.6 on TurboLinux 3.0 Appreciate your help. Gr. Eric Free web-based email, anytime, anywhere! ZDNet Mail - http://www.zdnetmail.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: We need change, I think...
On Wed, 18 Aug 1999 13:00:20 Gunnar Stahl wrote: >> > >maybe in the desktop area. And they knew that it was very usefull to create the >thought and feeling of a "java community". But the big heads at solaris >suddenly noticed that linux is becoming more and more stronger and that they >have to take care of it. And taking care of it means dropping their support for >linux while claiming to support it. Means stop developing java for linux. That >is the only way they can hurt linux. (Maybe the resign I don't think SUN itself is hostile to Linux. I think Java is the outcome of an idealistic view shared by some (and a funding company with commercial interests), the both of which clashed as always. Now Blackdown care about Linux, otherwise they wanted to get paid for this hercules-job they're doing. Blackdown do not respond to market stress (as far as I'm told, and they got some stuff to fix), and this is just, because they're not commercial. So the company wants to cash in short term and forgets about the long-term cash flow called Linux by not entering the Linux arena. This is Sun's prime mistake. Now IBM will grab their pretzels and eat 'em! HAH WILLIE! IBM's got powerful Net stuff on their OS/390 platform already. Soon as they port Linux, they'll port OS/390. They from that point in time have - 1. strongest on mid-range servers (linux) 2. strongest on JAVA and NET connection (Linux, AIX, and OS/39) and of course already serice the most part of coorperate data in the world on their MVS databases. This is the world according to I. Free web-based email, anytime, anywhere! ZDNet Mail - http://www.zdnetmail.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
PPC (debian) is driving me crazy for over a year now!
Hi, I just can't get java to work on my G3 (ppc - j2sdk1.3 and j2re1.3). I can acces the JavaPluginControlPanel (that looks like he's written in Java, so I guess I have a VM), and it looks like everything's fine, just I cant get mozilla to work with the plugin. I already linked libjavaplugin_oji.so to my mozilla plugin dir (/usr/lib/mozila/plugins), but this didn't changed anything. If anyone out there could answer me, or redirect me to someone else, I would really be greatfull (year I know, that won't change you lives...) Thanks in advance! signature.asc Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Re: VB and Access == Java and ????
Eric Mosley wrote: > Thanks for all the responses! Most people suggested an rdbms with JDBC > which is something I'll look into. > But, seeing as how I know that there will be only about 2000 objects, what > if I just read them in and put them in a vector/linked list/hash table. In > your experience would that slow the app down/bloat it out too much for > comfort? > If it was C++ I wouldn't even worry about it. Stop ! There is a much better way: using an object database. Look at www.odi.com and download the free ObjectStore - PSE. This is a pure Java database, so it runs on every platform. The version 2.0 is just released an it is fantatastic ! With this solution you don't have to deal with two models (object model for java and a data model for the database). You just have one object model. When you postprocess a class file, you indicate that objects of this class are persistent. There is not much coding for persistency. So you won't have about 30 % JDBC coding for mapping objects to tables. Good luck ! Herald
Re: v2-test ready
Steve Byrne wrote: > [EMAIL PROTECTED] writes: > > Hi all, > >I am new to this list and looking forward to participate. I just > > installed the jdk1.1.6v1 this morning and the two problems I encountered, > > menu not displaying properly and title bar displaying AWt... have already > > been discussed on this list. (I checked the archive). > > Try looking in http://www.blackdown.org/~sbb/1.1.6/v2-test > The files here are what is intended to be 1.1.6v2, unless we hear from people > there are serious problems with the release. Great, is this the version for glibc ? Herald
Re: IDE for Java
Hi Naoki I use Netbeans for Linux from http://www.netbeans.com It's an absolutely WONDERFUL IDE. Check out the website. It supports JDK 1.1 and the new version X2 supports JDK 1.2. It's based entirely on Javabeans components and Swing. It runs on Solaris, Linux, NT as it is written in Java. I don't have the pleasure of owning a Mac, so I don't know how it runs under the new MacOS java 1.1 runtime (anyone tried this?) I find it slightly sluggish on Linux as I haven't found a JIT that works with Netbeans (Ideas, help anyone?) At least that's why I assume it's a bit sluggish. What's more, it's free for non-commercial use. For commercial use it's very reasonably priced too. Later Mike >I'm looking for a good IDE for Java on Linux. >Is everybody using emacs? Or is there anything better? >I am Java programmer but new to Linux. We are Microsoft of Borg, you will be assimilated! Resistance is fut... *BZZRRT* General Protection Fault in MSBorg32.DLL, Please contact the vendor of this Borg for more information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
alternate visual
Is there any way to make java GUI apps use a different X visual? (e.g. like netscpape's 'netscape -visual 0x22') ? Actually, this new visual *is* my default visual, but some apps, like netscape and java GUI apps seem to ignore it... Regards, Bryan Van de Ven _ 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: Off-Topic(bzip2 on RH6.0).
Hi, At 10:00 PM 02/07/99 , Nagaraj S.B wrote: >Hi all, >I have downloaded JDK1.2pre-v2.tar.bz2 from glibc2.1.But in my linux >system which is RH6.0 donot have bzip2 tool for unzipping the JDK1.2 >file but I have gzip.Pls tell me where I can get gzip version of JDK1.2 >or else how can I load bzip2 on my RH6.0. You can install bzip2 from your RH6.0 CD. I cannot recall in exactly which package, so you will have to search for it. Groete Deon -- Cellpoint SA (Pty) Ltd.| GSM datacommunication solutions http://www.cellpt.co.za| http://www.technorinc.com Voice: +27-(0)11-254-5100 | Fax: +27-(0)11-805-6053 mail: [EMAIL PROTECTED] | home: http://www.wasp.co.za/~deon Unite for Java! - http://www.javalobby.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: official linux j2ee sun release
On Thu, 25 May 2000, [EMAIL PROTECTED] wrote: > I don't suppose anyone out there has any idea when IBM's WebSphere > application server version 3 *advanced* is going to be made available for > linux... Or is it not going to be made available? Or is it already > available, and simply not advertised anywhere? It isn't, and isn't going to - at least, that's what sources (oooh. Doesn't that sound mysterious) in IBM told me. Anyway, the current planning is for a WAS 3.5 (NT/AS400/AIX) release somewhere in Q3 or 4, and a 4.0 release somwhere next year. With all the time and energy invested in those two releases, the Advanced edition is probably not high on the list... CU, Edwin -- . . . every morning is the dawn of a new error. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]