Java 1.1.6 can't add!
I have installed JDK 1.1.6 on my RedHat 5.0 Linux box and when performing mathmatical calculations in java I get incorrect results. Take for example (float)14.39 I can do a basic System.out.println and it will print out on the command line: 14.38999. What is wrong with my JDK 1.1.6? I am new to Java so hopefully I'm just missing something small here. Steve
RS232/Java
Dear All, I know that this question isn't really related to java/Linux but I could do with a few pointers.. I'd like to write an application that sends and receives short ASCII text strings using the com port on my PC, using RS232. Could anybody point me to any packages/existing source code that already does this so I can see how to do it. Thanks in advance. Jim \\\|/// \\ - - // (--@ @--) +-oOOo-(_)-oOOo-+ | Jim Watson MCI (Sri Lanka)| | e-mail: [EMAIL PROTECTED] | +---Oooo+ oooO ( ) ( )) / \ ((_/ \_)
The Can Even Steal Your Identity!
ARE YOU BEING INVESTIGATED? Has your personal and credit information been stolen? Has someone assumed your identity? Would you like to locate an old friend, relative, military buddy or sweetheart? Do you want to find a person's assets to collect a debt or judgement? Would you like to check a person's criminal record before renting them space or giving them employment? Would you like to fix up your credit bureau report, create a new identity or even disappear? Are you going to have surgery? Would you like to know how many malpractice suits have been filed against your doctor? Now you can learn all this plus much, much more with our brand new 45 page report "INTERNET SLEUTH"! Learn the Internet tools and resources that are used to investigate you, your relatives, friends, neighbors, enemies, employees or anyone else! We will give you thousands of Internet locations to look up people, credit, social security, current or past employment, driving records, criminal records, medical information, military records, addresses, phone numbers, immigration, divorce, labor and criminal laws! We will also give you sources to find missing children and parents, hazardous waste sites, how to do Freedom of Information Act information searches, how to do skip tracing and backround checks on prospective dates, brides or grooms, employees, renters, vendors, new clients and competitors! You will also learn about and where to get surveillance and spy devices, private mail forwarding and annonymous email forwarding sites, search for copyrights, patents and court cases and how to make your assets untraceable! We will show you how to get copies of credit reports, adoption databases, information on drugs, poisons and how to get your share of government programs and benefits! Can you find this information by using the Internet Search Engines? The answer is MAYBE if you get lucky and if you want to spend many hours going through 25,000 plus hits per subject! We and our staff have spent hundreds of hours and many thousands of dollars compiling this information for you! Now you can have it on a silver platter for LESS THAN TWENTY BUCKS during this special email promotion! You frequently hear over the media, television, radio, the newspapers, how personal information is being used, traded and sold over the Internet...usually without your permission or knowledge. Our report will show you HOW IT IS DONE!!! Would you like to find that old romantic flame...find telephone, address or email information on almost anyone...even unlisted phone numbers? How about your family "tree"? We will teach you how to turn years of work into hours of fun! Military? Check Army, Navy, Air Force and Marine records. extensive Vietnamese war records, MIA info, much more! Looking for a job? Find the job you are seeking...even in another state or another country! We will teach you how! Looking for a new love interest or spouse or even sex partner? We will show you where to look for fast results! Want up-to-the-minute health and medical information? Learn how to cure fears and phoebias, the latest drugs and treatments for almost any ailment or desease from the drug companies themselves as well as from universities and the Center for Desease Control. Want to learn the most effective way to loose weight? It's all here in our report! If you believe that the information compiled about you should be as available to you as to the people that compile it about you without your knowledge or permission than you must order "THE INTERNET SLEUTH REPORT" immediately! Our "INTERNET SLEUTH REPORT" is normally sold by direct mail for $39.95 and will soon be in book stores for $29.95. However, to generate publicity and "get the word out" we are making this 10 day Email Special Offer of our Complete 45 Page Report for only $19.95 plus $3 for shipping and handling [total $22.95]. Sold with our 10 Day Money Back Guarantee! This is the biggest bargain on the Internet and the information it will give to you will give you great power! It can really change your life in a positive way. Order Now! The Complete 45 page "INTERNET SLEUTH REPORT" only $19.95 plus $3 shipping and handling - total $22.95. Shipped in plain wrapper by First Class Mail. Add $5 for priority mail delivery. Add $20 for overnight Express! We accept Visa, MasterCard, American Express or Discover. We can also accept your check by phone or Fax. You may order by phone 9 am to 10 pm [NY Time] by phoning [718] 287-3800 You may order by fax 24 hours per day by phoning our fax line at [718] 462-5920. You can fax your credit card information or your check To Email your order - DO NOT HIT REPLY ON YOUR KEYBOARD Send email to our special email address below: [EMAIL PROTECTED] [Note: If you order by email and do not receive an email confirmation within 24 hours, please phone our office at 718-287-3800] You can also order by mail by sending $22.95 cash, check, mo
Benchmark
Hello all! Where can I find a widely used benchmark program? There are currently quite many JVM:s available for Linux, and it would be nice to be able to compare them. /Per Widerlund
RE: Java Servlets -N- Linux?
-- | From: steve / mime, , , [EMAIL PROTECTED] | To: java-linux / mime, , , [EMAIL PROTECTED] | Subject: Java Servlets -N- Linux? | Date: Thursday, September 03, 1998 3:36PM | | Hello, | | Can Java Servlets be developed on a Linux box? We are setting up a |Linux | web server and want to use Java Servlets if possible. Is there a Linux | version of the Java Servlet Development Kit or do I need something like | JRun from livesoftware ( http://www.livesoftware.com )? Any help is | appreciated If you run the apache web server you should plug in mod_jserv 0.9.11 available at: http://www.apache.org/java/ I manager to get servlets up and running with apache 1.3.0 and mod_jserv 0.9.11 Good luck, Addy.
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/
Re: Java 1.1.6 can't add!
Hi Steve, It's a problem inherent to floating point computations. U may use the double datatype to increase precision. If you need arbitrary precision computations, u should use the Java Ultimate Math Package, written by the Utrecht University, Netherlands. It is available @: http://members.xoom.com/znerd/java/jump/ It's distributed under the GNU General Public Library License (hooray). Source code, whitepaper, javadocs etc. all available. Meself happens to be the guy who wrote it. Let me know if you use and whether you like it. :-) Ernst Original Message Follows >From [EMAIL PROTECTED] Thu Sep 3 22:58:04 1998 Received: (from listadm@localhost) by shell.ncm.com (8.8.5/8.7.5) id CAA02701; Fri, 4 Sep 1998 02:07:28 -0400 Resent-Date: Fri, 4 Sep 1998 02:07:28 -0400 Message-Id: <> X-Sender: [EMAIL PROTECTED] X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Fri, 04 Sep 1998 00:51:59 +1000 To: [EMAIL PROTECTED] From: Steve Curry <[EMAIL PROTECTED]> Subject: Java 1.1.6 can't add! Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Resent-Message-ID: <"FvtSt1.0.0g.OEuxr"@shell> Resent-From: [EMAIL PROTECTED] X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/1880 X-Loop: [EMAIL PROTECTED] Precedence: list Resent-Sender: [EMAIL PROTECTED] I have installed JDK 1.1.6 on my RedHat 5.0 Linux box and when performing mathmatical calculations in java I get incorrect results. Take for example (float)14.39 I can do a basic System.out.println and it will print out on the command line: 14.38999. What is wrong with my JDK 1.1.6? I am new to Java so hopefully I'm just missing something small here. Steve +-+ | "Come to me all you who are weary and burdened, and I | | will give you rest." | | | | -- Jesus Christ (Mt. 11:28) | +---+-+ | Ernst de Haan | email mailto:[EMAIL PROTECTED] | | Java programmer | web members.xoom.com/znerd/ | +---+-+ __ Get Your Private, Free Email at http://www.hotmail.com
RE: Benchmark
-- | From: qtxperw / mime, , , [EMAIL PROTECTED] | To: java-linux / mime, , , [EMAIL PROTECTED] | Subject: Benchmark | Date: Friday, September 04, 1998 11:19AM | | Hello all! | | Where can I find a widely used benchmark program? | | There are currently quite many JVM:s available for | Linux, and it would be nice to be able to compare | them. I use the benchmarks which are included in the Kaffe distribution (at least in the 0.9.2 one). They only do bare bone calculation stuff like qsort, fibonacci, sieve etc. I am interested in becnhmarks that do AWT benchmarking as well. I think volanomark and caffeinemark are benchmarking tools that do these kind of tests Cheers, Addy. | | /Per Widerlund |
Re: re: packages
> On Wed, 26 Aug 1998 11:33:42 -0300 (ADT), Kenny Freeman wrote: > > > > >> I personally am rather against most import statements as they can > >> only help to confuse the issue of what you are looking at. Even worse > >> is import of a whole package - since then you do not even see in the > >> code all of the possible class names that just got defined... However, > >> if used very rarely and only when really justified, they can help > >> reduce the typing needed and not reduce the maintainability of the code. > >> > >> Sorry about that, but I have had to fix code where the top of the > >> file had import .*; import .*; etc. Basically importing every > >> package in the whole product - almost 30 lines of these - and then > >> trying to figure out what the DataTrack class is and which one it used - > >> since there was a different one in three different packages... > >> > >> BTW - This was only one person who did this in his souce - and his > >> code was usually the code we had to fix. But he was a contractor and > >> did not follow our coding standards. > > > >Well, that is still no real argument against packages. However the > >.whatever packages were generated, there should have been a way to > >make things a bit less cryptic. I couldn't imagine not being able to use > >the import statement. Things like: > > tmp = new ken.encryption.RSA.RSAMessageDigest() > > tmp2 = new ken.util.file.FileReader("blah.txt") > >get on my nerves pretty quick. People who make bad names for packages like > > should keep there code to themselves. Well, thats my $ 0.02 > > No, it names were not x. I just am not in a position to explain the > names. The names were nice, but the imports where all of the type: > > import ORG.junk.foo.bar.*; > import ORG.junk.blah.foo.*; > import ORG.junk.blah.bar.*; > > etc. for about 30 lines... > > So, the code was importing classes that it never needed or used, > it was importing conflicting classes, and it was very hard to maintain. > (All of his source files started with the same set of lines but none > of them used all of the classes...) > > I would have liked it if the import statement could *not* have "*" > and thus you would have to: > > import ORG.junk.foo.bar.TimeTrack; > etc. > > This way you would always have a true listing of what you have imported > and from where. (The "*" just is a problem.) > > Personally, I never use that. I have an editor that makes life easier > and I can type rather quickly, so I have fully qualified names on all > classes that are outside of the package that the source is in. It also > means that when I read the code I can see instantly what package the class > came from.) If you publish a library of `packages' for other developers then it is a good to use fully qualified names as a courtesy. Most of us want to avoid long compilation times !!! Cheers Peter -- Peter Pilgrim Deutsche Bank (UK) Ltd "When the seagulls follow the trawler, it is because they think sardines will be thrown in to the sea." Eric Cantona commenting on his feet-first attack on a Crystal "Ya going down" Palace supporter.
ORB uder linux?
Hi, Anybody knows anything about free CORBA2 ORB uder linux, or some idl2java precompiler for linux?
More problems with Dialog boxes
I also had a little problem with the implementation of the Dialog bog class when running on linux. The problem consisted of the box being displayed with it's bottom 1/2 inch not visible. Is this a known bug? I did find a workaround though, I was able to implement my own class using the JFrame class of the swing package. Just wondering... -Jeremy -- Jeremy F. Audino Software Engineer Codonics Inc. 17991 Englewood Drive Middleburg Heights, Ohio 44130 USA (440) 243-1198 ext. 265 [EMAIL PROTECTED]
Oro Inc
Does anyone know what's happened to the Oro Inc web site? Or even Oro in general? http://www.oroinc.com (I'm sure at least one of their people used to read this list...) Joe -- Joe Carter Software Engineer Brite Voice Systems Ltd, Gatley, Cheshire. UK. mailto:[EMAIL PROTECTED]
javacomm ioctl help
I am trying to add hardware handshaking to the RXTX package and am having lots of troubles with the java environment. I have a routine in C that handles hardware handshaking without any problems. However, incorporating this routine into java with JNI causes all sorts of strange problem. i.e a call to tcgetattr works immediately after turning h/w handshaking off, however when this routine is called again I get an IO error on the tcgetattr call, just trying to read the damn status! Somehow jumping fro the C code back into java and back again stuffs up the port somehow. Anyone have any ideas What the hell does the java do to the machine since I can't even open a port non_blocking under java!! Also, does any one know where I can get a good desciption of the ioctls? this would be VERY useful. Cheers Dave Atkinson
sorry about the cc
sorry everybody (unless you have anything to do with spam), I haven't even finished my first coffee yet (well, I mean I hadn't at that point)My apologies for my big clumsy fingers hitting ^XI've got a short fuse and a slow mind sometimes. __ Kenny Freeman <[EMAIL PROTECTED]> "a population that gives up its freedoms in the name of order will ultimately end up losing both." -someones .sig on comp.hw.overclking
Looking for Java Programmer
Hello, There is a good chance that we may be needing to hire a Java programmer who loves Linux in the next few weeks. If you are interested in this job please let me know ASAP. Please include pay requirements and a 1-2 page resume. REQUIREMENTS: - Fun-- Must be willing to have fun! This is very important. Linux -- Must have a good understanding of Linux Java-- Must have 2+ Years of JAVA programming skill OR show a very solid understanding Database -- Need to be able to work with databases (MSQL, MySQL, Oracle, etc). Java Servlets -- Need to be able to program Java Servlets or want to learn. Apache-- Needs to have experience with Apache (setting up Virtual hosts, etc) QMail -- Needs to have experience with Qmail or willing to learn HTML -- Who doesn't have this skill? :-) BENEFITS: - Medical Brand new VA Research Linux Workstation Good Coffee Small Office environment Small town ( 13,000 population, Located in NW Oklahoma...) JOB DESCRIPTION: - Developing Java Servlets (This will be the most common job) Developing Java Applets Developing Java Applications Tying these to databases Thanks, Steve Curry
Optimal Directory Structure?
I realize that there is not one answer to this question but I would like some of you veteran java/linux developers to suggest what the optimal directory structure and setup of the CLASSPATH variable is. I am, frankly, a C++ programmer trying to learn java and I am continually frustrated over the myriad ways I can be foobared by CLASSPATH. And then packages on top of that. I have been trying the different java tools that are out there, such as Jacob and JDE. Every time I do, I seem to spend an inordinate amount of time chasing down problems that are due to different ideas from the developers of these packages of how and where CLASSPATH should be defined. In the environment? In the makefile? In the "project file"? How to set it so that the setup that works for compilation also works for running, debugging, etc. I know it isn't rocket science, but it is annoying. What I am looking for is a strategy. I want to be able to set it one way and forget about it, at least until the next project. Any advice would be appreciated.
Re: RS232/Java
Check out the Java Communications API at the JDC (free registration required). http://developer.javasoft.com/developer/earlyAccess/javacomm/index.html There's example code in this month's JavaWorld, http://www.javaworld.com/javaworld/jw-09-1998/jw-09-indepth.html, and a rich description in an older article, http://www.javaworld.com/javaworld/jw-05-1998/jw-05-javadev.html hope this helps, Steve Jim Watson wrote: > > Dear All, > > I know that this question isn't really related to java/Linux but I could do > with a few pointers.. > > I'd like to write an application that sends and receives short ASCII text > strings using the com port on my PC, using RS232. Could anybody point me > to any packages/existing source code that already does this so I can see > how to do it. > > Thanks in advance. > > Jim > \\\|/// >\\ - - // > (--@ @--) > +-oOOo-(_)-oOOo-+ > | Jim Watson MCI (Sri Lanka)| > | e-mail: [EMAIL PROTECTED] | > +---Oooo+ > oooO ( ) >( )) / > \ ((_/ > \_)
Re: Java Servlets -N- Linux?
Check out the Java-Apache Project at http://java.apache.org/. Greg Steve Curry wrote: Hello, Can Java Servlets be developed on a Linux box? We are setting up a Linux web server and want to use Java Servlets if possible. Is there a Linux version of the Java Servlet Development Kit or do I need something like JRun from livesoftware ( http://www.livesoftware.com )? Any help is appreciated Steve Curry
Re: RS232/Java
If you are on Linux platform look also at http://www.mail-archive.com/java-linux@java.blackdown.org/msg01184.html Pavel. Jim Watson wrote: > > Dear All, > > I know that this question isn't really related to java/Linux but I could do > with a few pointers.. > > I'd like to write an application that sends and receives short ASCII text > strings using the com port on my PC, using RS232. Could anybody point me > to any packages/existing source code that already does this so I can see > how to do it. > > Thanks in advance. > > Jim > \\\|/// >\\ - - // > (--@ @--) > +-oOOo-(_)-oOOo-+ > | Jim Watson MCI (Sri Lanka)| > | e-mail: [EMAIL PROTECTED] | > +---Oooo+ > oooO ( ) >( )) / > \ ((_/ > \_)
Re: Java 1.1.6 can't add!
On Fri, 4 Sep 1998, Steve Curry wrote: > I have installed JDK 1.1.6 on my RedHat 5.0 Linux box and when performing > mathmatical calculations in java I get incorrect results. Take for example > (float)14.39 I can do a basic System.out.println and it will print out on > the command line: 14.38999. What is wrong with my JDK 1.1.6? I am > new to Java so hopefully I'm just missing something small here. There is nothing wrong with the JDK; this is standard behaviour for floating point numbers, because of the way they are stored by the computer. Using the double type you will have more precision, but you will still have problems like this, so if you absolutely must have 100% sharp precision you must use other ways, like fixed point numbers simulated with integers, or something.
Re: Benchmark
>Hello all! > >Where can I find a widely used benchmark program? > >There are currently quite many JVM:s available for >Linux, and it would be nice to be able to compare >them. More probably you have already knew about this VM_SPEC tool: http://java.sun.com/features/1998/08/spec.html If not -- hope it helps Paul
Re: about exec
Massimo Conti wrote: > > Hi | > here is how I made this : > > import java.lang.Runtime; > > public void startService(String programName) { > > try { > path = "/your/path/"; > (Runtime.getRuntime()).exec(path+programName); > } > catch (Exception e) { > System.out.println(e); > } > } > It's not so easy.!! For exemple, if you want to run "ls", you must handle the output with stream and do a loop to show the result. For my job I need to interface some comands like this: psxy -R...parameters...> prova.ps psxy is a GMT (Generic Mapping Tolls)command which creates a ps file. It doesn't work!!! I don't know what is handled from Linux and what must be implemented with java. Is there anybody who knows more about it?
Re: The Can Even Steal Your Identity!
FUCK OFF. __ Kenny Freeman <[EMAIL PROTECTED]> "a population that gives up its freedoms in the name of order will ultimately end up losing both." -someones .sig on comp.hw.overclking On Fri, 4 Sep 1998 [EMAIL PROTECTED] wrote: > ARE YOU BEING INVESTIGATED? > > Has your personal and credit information been stolen? Has someone > assumed your identity? > > Would you like to locate an old friend, relative, military buddy or sweetheart? > > Do you want to find a person's assets to collect a debt or judgement? > > Would you like to check a person's criminal record before renting > them space or giving them employment? > > Would you like to fix up your credit bureau report, create a new > identity or even disappear? > > Are you going to have surgery? Would you like to know how many malpractice > suits have been filed against your doctor? > > Now you can learn all this plus much, much more with our > brand new 45 page report > > "INTERNET SLEUTH"! > > Learn the Internet tools and resources that are used to investigate you, > your relatives, friends, neighbors, enemies, employees or anyone else! > > We will give you thousands of Internet locations to look up people, > credit, social security, current or past employment, driving records, > criminal records, medical information, military records, addresses, > phone numbers, immigration, divorce, labor and criminal laws! > > We will also give you sources to find missing children and parents, > hazardous waste sites, how to do Freedom of Information Act information > searches, how to do skip tracing and backround checks on prospective dates, > brides or grooms, employees, renters, vendors, new clients and competitors! > > You will also learn about and where to get surveillance and spy devices, > private mail forwarding and annonymous email forwarding sites, search > for copyrights, patents and court cases and how to make your > assets untraceable! We will show you how to get copies of > credit reports, adoption databases, information on drugs, > poisons and how to get your share of government programs and benefits! > > Can you find this information by using the Internet Search Engines? > The answer is MAYBE if you get lucky and if you want to spend many > hours going through 25,000 plus hits per subject! We and our staff > have spent hundreds of hours and many thousands of dollars compiling > this information for you! Now you can have it on a silver platter > for LESS THAN TWENTY BUCKS during this special email promotion! > > You frequently hear over the media, television, radio, the newspapers, > how personal information is being used, traded and > sold over the Internet...usually without your permission or knowledge. > Our report will show you HOW IT IS DONE!!! > > Would you like to find that old romantic flame...find telephone, > address or email information on almost anyone...even unlisted > phone numbers? How about your family "tree"? We will teach > you how to turn years of work into hours of fun! > > Military? Check Army, Navy, Air Force and Marine records. > extensive Vietnamese war records, MIA info, much more! > > Looking for a job? Find the job you are seeking...even in another state > or another country! We will teach you how! > > Looking for a new love interest or spouse or even sex partner? > We will show you where to look for fast results! > > Want up-to-the-minute health and medical information? Learn how to > cure fears and phoebias, the latest drugs and treatments for almost > any ailment or desease from the drug companies themselves as well as > from universities and the Center for Desease Control. Want to learn > the most effective way to loose weight? It's all here in our report! > > If you believe that the information compiled about you should be as > available to you as to the people that compile it about you without > your knowledge or permission than you must order "THE INTERNET > SLEUTH REPORT" immediately! > > Our "INTERNET SLEUTH REPORT" is normally sold by direct mail for > $39.95 and will soon be in book stores for $29.95. However, to > generate publicity and "get the word out" we are making this > 10 day Email Special Offer of our Complete 45 Page Report for > only $19.95 plus $3 for shipping and handling [total $22.95]. > Sold with our 10 Day Money Back Guarantee! > > This is the biggest bargain on the Internet and the information it > will give to you will give you great power! It can really change your > life in a positive way. Order Now! > > The Complete 45 page "INTERNET SLEUTH REPORT" only $19.95 plus > $3 shipping and handling - total $22.95. Shipped in plain wrapper > by First Class Mail. > > Add $5 for priority mail delivery. Add $20 for overnight Express! > > We accept Visa, MasterCard, American Express or Discover. > We can also accept your check by phone or Fax. > > You may order by phone 9 am to 10 pm [NY Time] by phoning > [718] 287-3800 > > You may or
Re: about exec
Laura wrote: > > Massimo Conti wrote: > > (Runtime.getRuntime()).exec(path+programName); > It's not so easy.!! > For exemple, if you want to run "ls", you must handle the output with > stream and do a loop to show the result. > 8< > Is there anybody who knows more about it? Check out Process proc = Runtime.getRuntime().exec(command); Process.getOutputStream() Process.getInputStream() Just handle the streams as required... (the command is a separate process so you can carry on prodding and listening to the streams in your program) Joe -- Joe Carter Software Engineer Brite Voice Systems Ltd, Gatley, Cheshire. UK. mailto:[EMAIL PROTECTED]
Re: The Can Even Steal Your Identity!
Kenny Freeman wrote: > FUCK OFF. > > Totally agreed but next time PLEASE do not attach the bullshit to your reply and send it to the whole list ! mfg ET PS Janet : Get Lost in Hyperspace !
RE: Java 1.1.6 can't add!
Steve, On a slight aside, this problem may not be so bad for you. Digital representation of any floating point number is really an approximation. But, our convention for writing floating point numbers (not on a computer) actually allows for two representations for any non-zero number that "terminates". (The term "terminates" is somewhat misleading, since technically it doesn't really terminate. It has an infinite sequence of 0's after some finite number of digits other than zero). The proof of this is: let x = 0.99... => 10x = 9.9... => 10x - x = 9.9... - 0.99... => 9x = 9 => x = 1 therefore 1.000... = 0.9... This may not be of much help to you, but I always thought it was interesting. I'm not saying you don't have a problem, only that it may not be as bad as you though. -Andy > -Original Message- > From: Steve Curry [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 03, 1998 10:52 AM > To: [EMAIL PROTECTED] > Subject: Java 1.1.6 can't add! > > > I have installed JDK 1.1.6 on my RedHat 5.0 Linux box and when performing > mathmatical calculations in java I get incorrect results. Take for example > (float)14.39 I can do a basic System.out.println and it will print out on > the command line: 14.38999. What is wrong with my JDK 1.1.6? I am > new to Java so hopefully I'm just missing something small here. > > > Steve > >
Re: Benchmark
Per Widerlund wrote: > Where can I find a widely used benchmark program? > > There are currently quite many JVM:s available for > Linux, and it would be nice to be able to compare > them. Search javaworld - they have some good stuff on the Volanomark: http://www.javaworld.com/javaworld/jw-00-1998/jw-00-volanomark.html http://www.javaworld.com/javaworld/jw-12-1997/jw-12-volanomark.html This is a good benchmark if you're doing networking, I think. - Dan
Re: ORB uder linux?
Paul, I just downloaded OmniORB - http://www.orl.co.uk/software.html Robert Paul V. Drobnich wrote: Hi, Anybody knows anything about free CORBA2 ORB uder linux, or some idl2java precompiler for linux? begin: vcard fn: Robert Ritchy n: Ritchy;Robert org:BDM Denver adr:1999 Broadway - Suite 2000;;;Denver;CO;80202;USA email;internet: [EMAIL PROTECTED] title: Software Development TL tel;work: 303-672-8917 / 247-1150 ex 8917 x-mozilla-cpt: bdmtech.com;2 x-mozilla-html: FALSE version:2.1 end:vcard
Re: ORB uder linux?
On Tue, 5 May 1998, Paul V. Drobnich wrote: > > Anybody knows anything about free CORBA2 ORB uder linux, > or some idl2java precompiler for linux? > There are several ORBs available for Linux, e.g. OmniBroker and JacORB. Look under http://www.cetus-links.org/ to get more information and links. -- mfg. Steffen Tacke * ** | *** Wilhelm-Schickardt-Insitut fuer Informatik Tuebingen, Sand 13 ** ** ** | ***email [EMAIL PROTECTED]** ** ** | *** [EMAIL PROTECTED] ** ** ** | ***Member #402 of TeamOS/2 Germany ** ** ** | *** HOMEPAGE: http://www-ti.informatik.uni-tuebingen.de/~tacke ** ** ** | *** ... ** ** ** | ***`:::' ... .. ** ** ** | *** ::: * `::.::'** ** ** | *** ::: .:: .:.::. .:: .:: `::. :' ** ** ** | *** ::: :: :: :: :: :::::. ** ** ** | *** ::: .::. .:: ::. `. .:' ::. ** ** ** | *** ..:::.::' .. ** ** *
Re: Java Servlets -N- Linux?
Re: TYA 1.0 memory corruption
You wrote: Sorry for late answer, but I've spent some nice holidays far away from home. > > I've tested this small application (jdk116-v2 with a RH 5.1) and > > I've discovered a memory corruption: > > when the focus is lost from the TextField I assign 0 to the local > > Might be related to jdk116. I am still running jdk115 (java version > "Sergey_Nikitin:12/21/97-23:13") w/tya 1.0 and I am not having this May be you are right, but anyway: it is a bug in tya. Tonight I've no solution for you, but as workaround try disable #define USE_REG_OPT in tyaconfig.h and recompile. (It is a problem in register allocation, you know unfortunately the x86 CPU has only less general purpose registers. Differences between jdk are possible if the used C compilers are using different strategies using the edi and esi registers.) But once again: it is a tya bug. MANY thanks to Fulco for his bug demo program. > Best Wishes, > Dave Cheers Albrecht
Re: Java Servlets -N- Linux?
(Oops, sorry about the previous empty post...) Steve Curry wrote: > Hello, > > Can Java Servlets be developed on a Linux box? We are setting up a >Linux > web server and want to use Java Servlets if possible. Is there a Linux > version of the Java Servlet Development Kit or do I need something like > JRun from livesoftware ( http://www.livesoftware.com )? Any help is > appreciated > Yes you can run Java servlets on Linux. You can download the Java Servlet Develppment Kit (JSDK) 2.0 for free from Sun at: http://java.sun.com/products/java-server/servlets/index.html#sdk The kit contains the 100% Java classes libraries you need to write your servlets. The servlets can, in turn, be run from virtually any web server such as Apache or Sun's Java Web Server (JWS) - also downloadable from Sun, but not free. Instructions for getting JWS running on Linux can be found on this page: http://www.blackdown.org/java-linux/products.html For help with getting servlets going with Apache, check out: http://java.apache.org There are several options here including the mod_jserv module from the Apache group or the JRun product you mentioned above. I have had success in getting Java servlets to run on Red Hat 5.0 using both JWS and Apache 1.3.1+mod_jserv. Hope this helps to get you started. Regards, -- Ed Huott
Re: ORB uder linux?
Paul V. Drobnich wrote: > Anybody knows anything about free CORBA2 ORB uder linux, See http://www.gnome.org/links.shtml for links to a few. - Dan
Re: TYA 1.0 memory corruption
It was probably the use of egcs 1.03 compiler that help keep the bug down. ;-) Keep us posted. I would be glade to alpha test again if you need. Later, Dave Albrecht Kleine wrote: > May be you are right, but anyway: it is a bug in tya. > Tonight I've no solution for you, but as workaround > try disable > > #define USE_REG_OPT > > in tyaconfig.h and recompile. > (It is a problem in register allocation, you know > unfortunately the x86 CPU has only less general purpose registers. > Differences between jdk are possible if the used C compilers > are using different strategies using the edi and esi registers.) > > But once again: it is a tya bug. > > MANY thanks to Fulco for his bug demo program. -- ++ | David Lucas mailto:[EMAIL PROTECTED]| | Lucas Software Engineering (614) 260-5970| | C++,Unix,Client/Server,Zinc,Java | ++ | GPS Location: 40 deg 00' 51" N, 82 deg 38' 11" W | | IMHC: "Jesus Christ is the way, the truth, and the life." | | IMHC: "I know where I am; I know where I'm going." | ++ Notes: IMHO: in my humble opinion IMHC: in my humble conviction PGP Key Block: finger [EMAIL PROTECTED] All trademarks above are those of their respective owners.