jdk1.2 web site
I know everybody asks when the jdk1.2 for linux will be released. This mail is not one of them. There was a post from a blackdown member that he wants to put a site about the status of the jdk, now I am waiting hard for it. Could you put up the site, even if it doesn't contain more than nothing, would like to see it otherwise I have to search for it in the blackdown site every day! Thanks P@ -- - Save software competition, use Linux and Java! mailto:[EMAIL PROTECTED]
Java under Linux
Dear Sir, We could not down load the JDK and 'URL not found' message is displayed on the screen. Could give helph to get the JDK. Thanks for helph Hothiappan K
Wierd results using binfmt_misc
I have recently installed binfmt_misc on my linux system using kernel 2.2.1. I have this game application I've written. It lives in its own package in its own directory one level down from ./usr/local/java. Following the suggestions of people here, I have gotten into the habit of NOT defining classpath variables but using the -classpath switches in javac and java. Therefore I had to rewrite the "javawrapper" that comes as a sample with the binfmt_misc documentation. Now for the wierd part. It all works just fine when I am logged in as root. But when logged in as myself, java reports that it can't find my class. What could cause this? I have loaded up my javawrapper script with a bunch of echo statements and am convinced that it produces the same output under both logins. Neither as root nor as myself do I have a CLASSPATH variable defined. So what else could it be? Or is it just a bad idea to use a package member class as the class holding main()?
Re: -prof:file option usage?
Joseph H. Buehler wrote: > What's the trick to getting -prof to output useful information? I > never see any of my own classes in the output. Maybe this is because > I am using TYA and something is not implemented? Yes, TYA and binary forms of shuJIT don't let -prof option work. You can compile shuJIT which support -prof. Add -DENABLE_PROFILING to CDEBUGFLAGS or CFLAGS line in GNUmakefile and make it. Kazuyuki SHUDO Happy Hacking! Muraoka Lab., Grad. School of Sci. & Eng., Waseda Univ.
Re: jdk 1.1.7.1a / tya 1.2v3 performance?
David Craig wrote: > shuJIT doesn't appear to be mentioned very often in performance > comparisons in this list. Its website boasts performance results that are > usually better than TYA 1.2v3, Benchmark tests on the page, Linpack benchmark, Eratosthenes sieve and CaffeineMark isn't usual applications. I, an author of shuJIT, don't think that shuJIT is usually faster than TYA. Which of the two JITs is faster depends on kind of applications. I'm evaluating Java implementations of candidates for AES. An algorithm is boosted more by TYA, but another one is adapted to shuJIT better. > and I'd be curious to hear about it's ease of use. > (http://www.shudo.net/jit/) Its usage is the same as other JITs. You can use it by the JVM option `-Djava.compiler=shujit' or setting an environmental variable `JAVA_COMPILER=shujit'. Kazuyuki SHUDO Happy Hacking! Muraoka Lab., Grad. School of Sci. & Eng., Waseda Univ.
Re: Wierd results using binfmt_misc
On Fri, 19 Feb 1999 05:55:52 -0600, Steve Cohen wrote: >I have recently installed binfmt_misc on my linux system using kernel >2.2.1. >I have this game application I've written. It lives in its own package >in its own directory one level down from ./usr/local/java. >Following the suggestions of people here, I have gotten into the habit >of NOT defining classpath variables but using the -classpath switches in > >javac and java. Therefore I had to rewrite the "javawrapper" that comes > >as a sample with the binfmt_misc documentation. > >Now for the wierd part. It all works just fine when I am logged in as >root. But when logged in as myself, java reports that it can't find my >class. What could cause this? I have loaded up my javawrapper script >with a bunch of echo statements and am convinced that it produces the >same output under both logins. Neither as root nor as myself do I have >a CLASSPATH variable defined. So what else could it be? Have you checked the access rights of the directories and class files? Most likely, if you built under root, it does not have world read or execute on the files and/or directories. (Actually, the .class files do not need execute but they do need read) >Or is it just a bad idea to use a package member class as the class >holding main()? No, I do that all the time. It works well. I do not, however, use my system under "root" *except* when absolutely required (as in, when doing admin work). This is a good habit to be in since it tends to reduce your chances of really getting messed up or having some unwanted access into your system. It also helps identify things like access rights issues in your directories and files since non-root users actually are held to them. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz
Running with another locale
Hi, does anybody know how to set the locale other than using -Duser.language=something? I know that the Win JVM respects the locale of the OS, but the Java port does not seem to care (i.e. when I set LANG=de I still get en as user.language). Can anybody tell me whether there is another way than the one above? Thanks, Ulli -- Order Cinderella (http://www.cinderella.de) now: http://www.amazon.com/exec/obidos/ASIN/3540147195/theinteractivege
Re: More evil from Microsoft [Off topic]
Brian Jones wrote: > Christopher Rowan <[EMAIL PROTECTED]> writes: > > > Oops, I thought he was referring to something else. > > > > Didn't Microsoft have a Unix-like OS with a name similar to Minix? > > Xenix. Radio Shack was using this for their POS systems as recently > as around 4 years ago. $Oops^2$ ;-} I was indeed refering to Xenix. Sorry if, I insulted anybody with that (I think minix is OK to stast theoretical study with OSes )
Re: More evil from Microsoft [Off topic]
Ted Garrett wrote: > I don't think you are looking at the true history of what 'windoze people' > willingly use. Look at "Frontpage Server Extensions", "VBScript", and the > number of sites on the internet which have '.asp' as their primary > document type. > > Microsoft can spend a few hundred million advertising the 'innovations', > 'ease of use', and 'stability' of this product, and upper level management > buys into it after only a couple of months. They can advertize (and propagandize) as much as they like, but I haven't known anyone using windows for something more than games, who doesn't complain about instability. > > I recently had an employer ask me (completely seriously) why I didn't > think that implementing an enterprise-wide database application using > Microsoft Access was a good idea. Propaganda Access for a serious database {\em is} suicide > After all, it IS the database engine > supplied with Microsoft Office, which is the number one application for > windows. > > Windoze people will buy anything microsoft sells them. Hm, I wouldn't like to think of all these millions of users as "stupid" (OK, it is stupid to stick with windows for serious work...) But who knows?
Re: TFS Delivery Failure: Re: Mailing list trouble (fwd)
"Brett W. McCoy" wrote: > This is the bounce message I am continually getting. Is anyone else > getting this? > I also get it whenever I do download my mails (and they contain a message from the list). Dimitris
Applet
Hello I'm a NEWBIE on this java thing :) How do I create and write a file on server with an Applet THANK YOU
117a installation grief
I having problems with installation of the 117a JDK installation. I get the following when I try to run any of the executables: ls: not: No such file or directory /usr/local/jdk117_v1a/bin/../bin/i586/green_threads/java: can't resolve symbol '_Xglobal_lock' /usr/local/jdk117_v1a/bin/../bin/i586/green_threads/java: can't resolve symbol '_XUnlockMutex_fn' /usr/local/jdk117_v1a/bin/../bin/i586/green_threads/java: can't resolve symbol '_XLockMutex_fn' I am running Redhat 5.2 with the default "server" installation. I understand that the symbol problems involve an incorrect library (although I don't know how to fix it). I tried setting the NS_JAVA variable and this gets rid of the symbol errors, but I still get the "No such file or directory" message and the all the executables crash with the following: SIGSEGV 11* segmentation violation stackbase=(nil), stackpointer=(nil) Full thread dump: NULL (TID:0x405100b0, sys_thread_t:0x80a1278, state:R) prio=5Killed Thanks for any help. David Kosmal
java shell script
Greetings, I'm having problems running java from within a shell script. The java application mostly runs, but I've noticed that it does not receive a ^C interrupt and it cannot read from stdin when invoked this way. Typing "java ..." directly at my bash prompt does not demonstrate this problem. Any ideas? I'm running Linux kernel 2.0.36 (RedHat 5.2) with Blackdown's JDK 1.1.7_v1a. The following little class demonstrates the problem... import java.io.*; class input { public static void main(String[] argv) { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); try { while (true) { String line = in.readLine(); if (line == null) break; System.out.println(line); } } catch (Exception e) { e.printStackTrace(); } } } And here's a simple shell script... #!/bin/sh java -classpath $CLASSPATH input
Re: java shell script
On Fri, 19 Feb 1999 [EMAIL PROTECTED] wrote: > Greetings, > > I'm having problems running java from within a shell script. The java > application mostly runs, but I've noticed that it does not receive a > ^C interrupt and it cannot read from stdin when invoked this way. > Typing "java ..." directly at my bash prompt does not demonstrate > this problem. Any ideas? > > I'm running Linux kernel 2.0.36 (RedHat 5.2) with Blackdown's JDK > 1.1.7_v1a. The following little class demonstrates the problem... > > > import java.io.*; > > class input > { > >public static void main(String[] argv) >{ > BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); > > try { > while (true) { > String line = in.readLine(); > if (line == null) break; > System.out.println(line); > } > } catch (Exception e) { > e.printStackTrace(); > } >} > } > > > And here's a simple shell script... > > #!/bin/sh > > java -classpath $CLASSPATH input > > I ran into this same problem. I too posted a note to the mailing list but I did not hear back from anyone. The really odd part was that it only seemed to happen when running with native threads. If I ran the green threads version it worked just fine. Another strange thing that seemed to happen with that native threads version is that reading from System.in did not work when java was invoked from a shell script. Mo DeJong dejong at cs.umn.edu
Re: java shell script
On Fri, 19 Feb 1999 16:10:43 -0600, Moses DeJong wrote: >I ran into this same problem. I too posted a note to the mailing list >but I did not hear back from anyone. The really odd part was that it >only seemed to happen when running with native threads. If I ran the >green threads version it worked just fine. Another strange thing that >seemed to happen with that native threads version is that reading >from System.in did not work when java was invoked from a shell script. Please remember that the 1.1.7 native threads package is "beta level" code. It works relatively well but there are known limitations and some other problems with it. You may have bumped into one or two of these. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz
Re: java shell script
No, I'm seeing the same problem with both green and native threads... [EMAIL PROTECTED] on 02/19/99 05:17:34 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] cc:(bcc: Russell Pridemore/Lex/Lexmark) Subject: Re: java shell script On Fri, 19 Feb 1999 16:10:43 -0600, Moses DeJong wrote: >I ran into this same problem. I too posted a note to the mailing list >but I did not hear back from anyone. The really odd part was that it >only seemed to happen when running with native threads. If I ran the >green threads version it worked just fine. Another strange thing that >seemed to happen with that native threads version is that reading >from System.in did not work when java was invoked from a shell script. Please remember that the 1.1.7 native threads package is "beta level" code. It works relatively well but there are known limitations and some other problems with it. You may have bumped into one or two of these. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz
Re: java shell script
On Fri, 19 Feb 1999 17:29:55 -0500, [EMAIL PROTECTED] wrote: >No, I'm seeing the same problem with both green and native threads... Hmmm... I run Java from shell scripts all the time. Which shell are you using? Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz
Re: java shell script
Humm, I did not run into that. Another thing you might want to try is to exec the java program instead of just running it as a child process. When I used "exec java -native ..." that fixed the problem for me. Mo DeJong dejong at cs.umn.edu On Fri, 19 Feb 1999 [EMAIL PROTECTED] wrote: > No, I'm seeing the same problem with both green and native threads... > > > > > > [EMAIL PROTECTED] on 02/19/99 05:17:34 PM > > Please respond to [EMAIL PROTECTED] > > To: [EMAIL PROTECTED], > [EMAIL PROTECTED] > cc:(bcc: Russell Pridemore/Lex/Lexmark) > Subject: Re: java shell script > > > > > On Fri, 19 Feb 1999 16:10:43 -0600, Moses DeJong wrote: > > >I ran into this same problem. I too posted a note to the mailing list > >but I did not hear back from anyone. The really odd part was that it > >only seemed to happen when running with native threads. If I ran the > >green threads version it worked just fine. Another strange thing that > >seemed to happen with that native threads version is that reading > >from System.in did not work when java was invoked from a shell script. > > Please remember that the 1.1.7 native threads package is "beta level" > code. It works relatively well but there are known limitations and > some other problems with it. You may have bumped into one or two of these. > > > Michael Sinz -- Director of Research & Development, NextBus Inc. > mailto:[EMAIL PROTECTED] - http://www.nextbus.com > My place on the web ---> http://www.users.fast.net/~michael_sinz > > > > > > > >
receive a file
Dear Java-gurus Is it possible to retrieve a file from a user that connects to a site with Java? I would like to have an application that performs data analysis on a users data set and would like then to be able to send the file to me from the web interface. Thanks in advance, -Jim Johnon
Re: receive a file
On Sat, 20 Feb 1999 00:34:21 +, James Johnson wrote: >Dear Java-gurus > >Is it possible to retrieve a file from a user that connects to a site with Java? >I would like to have an application that performs data analysis on a users data >set and would like then to be able to send the file to me from the web interface. Normally not. A signed applet that the user lets the browser drop the security for can do so but only then. Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] - http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz
java-linux@java.blackdown.org
I'm a bigginer linux user, and the more I learn about it , the more I like it.(specially because I have access to the source code). I'd like to hear you opinion about Java applications, applets on Linux. What advantage do you see running java apps on this platform , rather than running it on NT? Do you think Java-Linux is a good combination for enterprice apps.(client/server, etc). thanks ajr
hey
Hey, Just wanted to drop you a note. There is a computer show this weekend at the Radisson Hotel in Overland Park. If you are still looking for those parts, its a good place to find them. I think the hours are 10 to 3 on Sunday, but you might want to get there early you know how those things go quickly. Its off of I35 about 1/2 mile east on 87th street. Its $3.00 to get in but the saving more than makes up for that. Last time there were several dozen vendors and they always have giveaways, I know they give away $50.00 at 2pm during every show. It should be a good one. See ya there. dave
setEnabled()
Do any of you know if setEnabled() on a swing component is supposed to notify all of its children that it is disabled? I thought that is was supposed to... but I can't seem to get it to work. --jason
Re: 117a installation grief
Which installer are you using? Did you read the FAQ? Did you read the INSTALL docs? It's short, so it's easy to be fooled into just skimming, but there are some very important details in there. I'll bet you are using the Motif version. Forget that - get the regular version. Also, grab the X dev rpm from an ftp.redhat.com mirror and put that in too. Sounds like you don't have it installed, which will be a pain in the future. You'll prolly want the C/C++ gcc dev libraries too. I installed blackdown java as a newer than new newbie without a glitch. Read carefully and you should have zero problems... David Kosmal wrote: > > I having problems with installation of the 117a JDK installation. I get > the following when I try to run any of the executables: > >ls: not: No such file or directory >/usr/local/jdk117_v1a/bin/../bin/i586/green_threads/java: can't > resolve symbol '_Xglobal_lock' >/usr/local/jdk117_v1a/bin/../bin/i586/green_threads/java: can't > resolve symbol '_XUnlockMutex_fn' >/usr/local/jdk117_v1a/bin/../bin/i586/green_threads/java: can't > resolve symbol '_XLockMutex_fn' > > I am running Redhat 5.2 with the default "server" installation. > > I understand that the symbol problems involve an incorrect library > (although I don't know how to fix it). I tried setting the NS_JAVA > variable and this gets rid of the symbol errors, but I still get the "No > such file or directory" message and the all the executables crash with > the following: > > SIGSEGV 11* segmentation violation > stackbase=(nil), stackpointer=(nil) > > Full thread dump: > NULL (TID:0x405100b0, sys_thread_t:0x80a1278, state:R) > prio=5Killed > > Thanks for any help. > > David Kosmal
Re: Wierd results using binfmt_misc
Michael Sinz wrote: > On Fri, 19 Feb 1999 05:55:52 -0600, Steve Cohen wrote: > > >I have recently installed binfmt_misc on my linux system using kernel > >2.2.1. > >I have this game application I've written. It lives in its own package > >in its own directory one level down from ./usr/local/java. > >Following the suggestions of people here, I have gotten into the habit > >of NOT defining classpath variables but using the -classpath switches in > > > >javac and java. Therefore I had to rewrite the "javawrapper" that comes > > > >as a sample with the binfmt_misc documentation. > > > >Now for the wierd part. It all works just fine when I am logged in as > >root. But when logged in as myself, java reports that it can't find my > >class. What could cause this? I have loaded up my javawrapper script > >with a bunch of echo statements and am convinced that it produces the > >same output under both logins. Neither as root nor as myself do I have > >a CLASSPATH variable defined. So what else could it be? > > Have you checked the access rights of the directories and class files? > Most likely, if you built under root, it does not have world read or > execute on the files and/or directories. (Actually, the .class files > do not need execute but they do need read) > > >Or is it just a bad idea to use a package member class as the class > >holding main()? > > No, I do that all the time. It works well. > > I do not, however, use my system under "root" *except* when absolutely > required (as in, when doing admin work). This is a good habit to be > in since it tends to reduce your chances of really getting messed up > or having some unwanted access into your system. It also helps > identify things like access rights issues in your directories and files > since non-root users actually are held to them. Thanks, it was the permissions, but not because I was using root. I don't normally log in as root but it was necessary for tinkering with the javawrapper script. The permissions were fouled up for a very wierd reason - I had written the code prior to upgrading the system. The upgrade did not go smoothly and somehow my user id # got fouled up. The system didn't consider me the owner even though "I" was the original owner and wrote all the code. However, even so, shouldn't class files as opposed to source files normally be readable by anyone? That was not the case here. My class files seem to be readable only by owner and group, not everyone. > > > Michael Sinz -- Director of Research & Development, NextBus Inc. > mailto:[EMAIL PROTECTED] - http://www.nextbus.com > My place on the web ---> http://www.users.fast.net/~michael_sinz
Re: hey
[EMAIL PROTECTED] wrote: > > Hey, > > Just wanted to drop you a note. There is a computer > show this weekend at the Radisson Hotel in Overland > Park. If you are still looking for those parts, its > a good place to find them. I think the hours are > 10 to 3 on Sunday, but you might want to get there > early you know how those things go quickly. Its off > of I35 about 1/2 mile east on 87th street. Its $3.00 > to get in but the saving more than makes up for that. > Last time there were several dozen vendors and they > always have giveaways, I know they give away $50.00 at > 2pm during every show. It should be a good one. See > ya there. > > dave > Dave, Thanks for the info. but what in what country is Overland Park? some of us on the list may not live near you.
Re: hey
Michael Doherty wrote: > Thanks for the info. but what in what country is Overland Park? > some of us on the list may not live near you. Hmmm... I vaguely recall an Overton park in Memphis :-). But seriously, folks... responding to spam is a good way to get your name added to a list of known live addresses :-(. Nathan
java-linux@java.blackdown.org
Arnaldo Riquelme wrote: > What advantage do you see running java apps on this platform , rather > than running it on NT? > Do you think Java-Linux is a good combination for enterprice > apps.(client/server, etc). The main advantage of running Java apps on the Linux platform is that you're not tying up a perfectly good computer on running Windows :-). Your latter question is an interesting one. The Java on Linux is very good, and Linux is a good enterprise platform. I'm also curious to know what sort of enterprise-level apps are exploiting Java on Linux -- is there more to enterprise Java than servlets? Nathan
java question
I realize that this is not the proper forum for this, but I consider this list pretty knowledgeable about java and I just toy around with it at the moment. My employer is working on an application that is deliverable on many platforms, from a standalone win32 platform to client-server versions served everywhere from NT to mulitple flavors of unix (Sun, HP, AIX, etc.) to AS400. The application is written in C and C++. One minor part of this application, for which I have become responsible, delivers a file of updated information to the users via the internet. Once a month, the administrator of the customer system would contact our web site and download the information. However the design is to do it from within our application, not from a browser (just press a button). The thought of programming this connection and the logic behind it (don't download file if already up to date, etc.) on all these platforms is a little daunting, and so tonight, it occurred to me that perhaps this part of the application - contacting the web site and ftping the file - might be doable as a java bean. Offhand, this seems like a great way to make use of the cross-platform capabilities of java. Performance is not an issue. The file is small. My questions are then, 1) are java virtual machines available on the full range of platforms mentioned above? 2) if customers do not have java installed, what runtime licensing issues are there? 3) How difficult and how possible is it to call java beans from C and C++ code on these platforms?
java-linux@java.blackdown.org
On Fri, 19 Feb 1999, Nathan Meyers wrote: > Arnaldo Riquelme wrote: > > What advantage do you see running java apps on this platform , rather > > than running it on NT? > > Do you think Java-Linux is a good combination for enterprice > > apps.(client/server, etc). > > The main advantage of running Java apps on the Linux platform is that > you're not tying up a perfectly good computer on running Windows :-). > > Your latter question is an interesting one. The Java on Linux is very > good, and Linux is a good enterprise platform. I'm also curious to know > what sort of enterprise-level apps are exploiting Java on Linux -- is > there more to enterprise Java than servlets? > > Nathan > > my team is engaged in the development of a software package in 100% pure java for book distribution and retailing enterprise. java is as good or better than any other language/tool for creating enterprise solutions especially because of its platform independence and netwok capability. and from a managers point to view with a given expertise you can produce a better quality app in a shorter period thanks to the inherent qualities of java. substantial cost reduction is possible on 'software infrastructure' if an enterprise decides to run their operation on linux. another interesting aspect is both java and linux come free! comment on it! cheers Anil Advanced Technology Group, River Valley Technologies URL http://www.river-valley.com