volunteer
Is it possible to participate in the JDK linux port project as an volunteer? Thanks. Sam
InetAddress.getLocalHost() throws HostUnknownException
I'm running 1.1.5b7 under Red Hat Linux (2.0.18 kernel) and find that
java.net.InetAddress.getLocalHost() throws a HostUnknownException when I'm
on a PPP connection. This does not happen under Windows95 using the 1.1.6
JRE from Sun (ie. it works, and gives the PPP server-supplied IP addy).
Any suggestions? I need to get my PPP-based IP addy in my application. I
tried getHostByName("localhost"), but that just returns 127.0.0.1 of
course.
Sam Hokin | [EMAIL PROTECTED] | http://www.fusion.kth.se/~samh
Applet - method problem
Hello Fellow JAVA Fans, I am stuck on a problem and looking for help. I go to Univ.. of Cincinnati CAS and took a course in JAVA and would not recommend anyone taking it - because there is NO HELP from the teacher. The little Applet part works, but the method has some error in it that I can not find. Could I PLEASE get someone to look at it and show me where I am going wrong so I can ACTUALLY learn how to make these methods work. Something, that I can not get from the course instructor. Thank you, Sam Elbe [EMAIL PROTECTED] prob428.java
Unidentified subject!
unsubscribe
jdk 116
Can't download JDK 1.1.6 from http://java.blackdown.org/~sbb. Getting 404 error. Sam
Blackdown on SuSE
Hi, I've been trying to install a blackdown jdk on an IBM penguin box using SuSE linux and have not had much luck so far. I can extract the blackdown version, and unpack it but when I try to run the java command I get this: l008064:~/j2sdk1.3.0/bin # ./java -version Error: can't find libjava.so. and I also get a sinking feeling when reading the system requirements for blackdown which say: Check your version of glibc using the following command: ls /lib/libc-* The output of this command should show libc-2.1.3.so or higher. when I check ls /lib/libc-* I find nothing. The closest I get is libc.so.6 and I am really not sure where to go from here. My apologies for my lack of ignorance, but I am not a regular Linux user and am not sure how to deal with these library issues. Thanks in advance CHEERS> SAM -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Blackdown on SuSE
Follow up to my own mail - I got help from another list, the solution seems to be: >You need JDK that is compiled for s390(search google "s390 jdk"), for > example: > http://www.ibiblio.org/pub/languages/java/blackdown.org/JDK-1.2.2/s390/FCS/?M=A Sam Joseph wrote: > I've been trying to install a blackdown jdk on an IBM penguin box using > SuSE linux and have not had much luck so far. > > I can extract the blackdown version, and unpack it but when I try to run > > the java command I get this: > > l008064:~/j2sdk1.3.0/bin # ./java -version > Error: can't find libjava.so. > > and I also get a sinking feeling when reading the system requirements > for blackdown which say: > > Check your version of glibc using the following command: > > ls /lib/libc-* > > The output of this command should show libc-2.1.3.so or higher. > > when I check ls /lib/libc-* I find nothing. > > The closest I get is libc.so.6 and I am really not sure where to go from > here. > > My apologies for my lack of ignorance, but I am not a regular Linux user > and am not sure how to deal with these library issues. > > Thanks in advance > > CHEERS> SAM > > -- > 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: Blackdown on SuSE
Juergen Kreileder wrote: > On Wed, 27 Jun 2001, Alan Hawrelak wrote: > > > Sam Joseph wrote: > > > >> I can extract the blackdown version, and unpack it but when I try > >> to run > >> > >> the java command I get this: > >> > >> l008064:~/j2sdk1.3.0/bin # ./java -version > >> Error: can't find libjava.so. > > Looks more like he tried to run a x86 build on S/390 Juergen is right. This was the problem, as someone on a different list also informed me. I had been given access to a machine remotely and didn't know what processor was being used. Is there some way to check this remotely perhaps? [quick check of system properties] I guess typing printenv HOSTTYPE might help. It all sounds so simple after the event ... Anyhow, thanks to Alan, Franz and Amol for various helpful comments on the java library issues which have helped advance my understanding of the issue. CHEERS> SAM -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Threads on i386-redhat-linux-gnu
Hi All,
So I'm having this problem that the logging system that I have used
successfully on other linux platforms is not working on
i386-redhat-linux-gnu.
The logging system is designed to store logging messages and then write
them to the log file in a low priority thread. However when I run the
code on i386-redhat-linux-gnu the logging thread doesn't even start.
The main Logger class implements runnable, and a new thread is created
in the constructor:
public Logger( Log p_log)
{
if(o_verbosity > 0) System.out.println("creating new logger");
o_messages = new Vector(100);
o_log = p_log;
o_thread = new Thread( this);
o_running = false;
o_sem = new Semaphore();
o_thread.start();
if(o_verbosity > 0) System.out.println("starting logger thread");
}
and as you can see the thread is started, but the run method doesn't
start. Or at least the debug command on the first line of the run
command does not get displayed:
public void run()
{
if(o_verbosity > 0) System.out.println("logger thread running ...");
o_running = true;
...
...
And yes, the o_verbosity is set to 10. Is there some special setting
that I need on red hat linux to allow the spawning of new threads?
Thanks in advance.
CHEERS> SAM
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
AMD64 JVM crashing.
I am using the 1.4.2-rc1 build for AMD64 on Fedora Core 2, kernel 2.6.7 (this occurs with all recent errata releases of the 2.6.7 kernel for FC2). Trying out various bits of java code, I can reliably crash the entire JVM with a segmentation fault in a couple of ways: A) Running eclipse, and trying to set up a new project using the extssh2 plugin to check out some Java code from sourceforge, eventually the JVM crashes at some point with a segfault. B) A more reliable way to segfault the JVM is by running Mozilla, going to http://games.yahoo.com, and trying to run the "Tip Top" applet. The JVM crashes every time. Other applets work fine -- I can run the "Dynomite" applet without crashing, for example. Its performance on blackdown's AMD64 JVM seems rather jerky to me, compared to Sun's i586 jvm running on a comparatively slower i686 box. But the AMD64 box has a slow video card, so that may be it. Can anyone else run that Tip Top applet on AMD64, without crashing? pgp7QERacwkra.pgp Description: PGP signature
Re: java plugin on EM64t + RH 3.0 U3 beta
Keith Poirier writes: I have RH Update 3 (beta) (also tried on update 2) installed on a proliant 360G4 which uses the new Intel EM64T chip. I installed jre-1_5_0-beta2-linux-amd64.rpm from Blackdown.org but when I link to the java plugin, and access a java app via mozilla it crashes: Intel's EM64 is not a plug-in replace for Opteron. It's close, but no sigar. [EMAIL PROTECTED] plugins]# more hs_err_pid25965.log Unexpected Signal : 4 occurred at PC=0x2A95D68D2B Signal 4 is SIGILL -- illegal instruction. You are hitting x86_64 machine code that the Intel chip can't swallow. pgp3DdqF6089Q.pgp Description: PGP signature
Re: Blackdown 1.4.2 JVM crash (SLES-8 on AMD64, Error ID = 53484152454432554E54494D450E435050019F)
Brock Rhone writes: We are starting to intermittently see the following error -- anyone seen it before or know what it means? (I've also posted this at Yeah, the amd64 build is not quite stable for me. I can usually get it to crash using most applets from games.yahoo.com. I guess things haven't quite settled down in amd64 land, yet. Wait. Eventually this will be fixed, I suppose. pgpSs3hyo2pBZ.pgp Description: PGP signature
Re: Crashes/Hangs on Mandrake 10.0
Hui Huang writes: That sounds like an OS issue. A user application such as Java does not have the power to take down the whole system. BTW, if you believe the issue is in Sun JDK, you should definitely file a bug with Sun. No. Whatever the bug is, the issue is not with Sun. As you said, a user application like java -- even if being run as root -- should not lock up a system like that. This should properly reported as a Mandrake bug, against the kernel component. pgpb5wh7AuKcQ.pgp Description: PGP signature
Re: plugin causes crash on amd64 architecture
Zachariah Baum writes: I have mozilla-firefox 1.0 and j2sdk1.4.2 installed on my amd64 machine and copied "libjavaplugin_oji.so" into my ~/.mozilla/plugins directory. Upon starting firefox, and entering "about:plugins" into the location, you can see that it loaded the plugin successfully, but if I try and run any applet, the browser immediately crashes. Has anyone had any luck running applets in firefox on amd64 machines? No, ditto for Mozilla. about:plugins does work for me in Mozilla; however trying to run an applet inevitably crashes the browser, sooner or later. Some applets work; some never work. Some work randomly. pgpc3PDEHDD8f.pgp Description: PGP signature
Re: Licensing questions
Marc St-Jean writes: On Jan 11, 2005, at 5:43 PM, Dominic Duval wrote: On Fri, 2005-01-07 at 18:08, Marc St-Jean wrote: I understood that some Linux distros (RedHat?) were distributing the Blackdown JRE so there must be one live contact email where they were able to verify licensing. RedHat does not distribute Blackdown binaries. RedHat only distributes the IBM JRE and SDK to its customers. I'm not 100% sure about other distributions, but I haven't heard about any distro shipping with the Blackdown JRE or JDK. I might be wrong though. Dominic, do you know if RedHat was distributing Blackdown before the IBM JRE/SDK became available? I've been using Red Hat since 1996. I do not recall Red Hat ever shipping Blackdown. Also do you know if did they have to obtain a commercial distribution license with either IBM and/or Sun? Red Hat ships IBM's JRE/SDK only with their "Enterprise" product line, AFAIK, which costs a few grand per seat. So, yeah, there's a license in there somewhere. Almost a certainty. But only from IBM. I can't think of any reason why Red Hat would need a Sun license. AFAIK, IBM's JRE/SDK is not derived from Sun's codebase. pgpUPttx3am1Y.pgp Description: PGP signature
Re: Licensing questions
Radu-Adrian Popescu writes: Also do you know if did they have to obtain a commercial distribution license with either IBM and/or Sun? Red Hat ships IBM's JRE/SDK only with their "Enterprise" product line, AFAIK, which costs a few grand per seat. How uninformed. RHEL/ES starts at $349, while WS is $179. If you have a beef Does the ES/WS packages have IBM's JRE/SDK? pgpjMyJIywG37.pgp Description: PGP signature
Re: [beginners question]Howto include (.jar) libraries ?!
paul asmuth writes: hey, I'm trying to include a library (e.g the jdom lib - jdom.jar) into a installed blackdown j2se sdk. How can I include libraries, so that they are used when I compile classes ?! I already copied my .jar libs to usr/lib/j2se/1.4/lib and /usr/lib/j2se/1.4/jre, but it didn't worked ! You don't need to copy your jar files anywhere. Just add the jar files to the CLASSPATH environment variable. pgpboFKOQwIRW.pgp Description: PGP signature
jdk on linux
Hi all, I have installed jdk1.2.2 on Mandrake 7.0 However, [root@linuxsam jdk1.2.2]# javacError: can't find libjava.so.[root@linuxsam jdk1.2.2]# I just find the file on /home/sam/jdk1.2.2/jre/lib/i386/libjava.so. What should I do? thank you all~
