small basic kernel
although i know this is not the appropriate mailing list for this ques., but i don't know the exact mailing list. I want to study and then make a very small basic kernel. Can anyone have a link or mailing list for that? again sorry for digression. Nilesh. ___ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RedHat 7.1 (upgrade) and Sun JDK1.3.0_02 (i386)
I just upgraded a test machine running RedHat 6.2 (with all the latest
updates) to RedHat 7.1. I'm having trouble getting Sun JDK 1.3.0_02 to work
in the new environment (blackdown 1.3.0-FCS works as far as I've tested).
Has anyone tried using Sun's JDK in RedHat 7.1 ? I'd like to find out
if it is an upgrade issue, or a generic RH7.1 issue.
Here are some details: Off the box I run into the following problem :
/usr/local/java/sun-jdk1.3.0_02/bin/java: /usr/bin/cut: No such file or directory
In RedHat 6.2 /usr/bin/cut is part of the textutils package. I found
out that the utility has moved to /bin in RedHat 7.1 so I added a link
from /bin/cut to /usr/bin/cut (ln -s /bin/cut /usr/bin/cut).
Invoking "java -version" at this point would never return. strace reports:
...
nanosleep({0, 100}, {3076, 0}) = 0
nanosleep({0, 100}, {3076, 0}) = 0
nanosleep({0, 100}, {3076, 0}) = 0
nanosleep({0, 100}, {3076, 0}) = 0
nanosleep({0, 100}, {3076, 0}) = 0
...
manticore:bin> ldd i386/native_threads/java
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40018000)
libhpi.so => not found
libjvm.so => not found
libdl.so.2 => /lib/libdl.so.2 (0x4004)
libc.so.6 => /lib/i686/libc.so.6 (0x40044000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40174000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000)
manticore:bin> rpm -qa | grep glibc
compat-glibc-6.2-2.1.3.2
glibc-2.2.2-10
glibc-common-2.2.2-10
glibc-devel-2.2.2-10
glibc-profile-2.2.2-10
Thanks,
Alexander V. Konstantinou
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: RedHat 7.1 (upgrade) and Sun JDK1.3.0_02 (i386)
--On Tuesday, April 24, 2001 15:37:04 -0400 "Alexander V. Konstantinou" <[EMAIL PROTECTED]> wrote: > I just upgraded a test machine running RedHat 6.2 (with all the latest > updates) to RedHat 7.1. I'm having trouble getting Sun JDK 1.3.0_02 to > work in the new environment (blackdown 1.3.0-FCS works as far as I've > tested). > > Has anyone tried using Sun's JDK in RedHat 7.1 ? I'd like to find out > if it is an upgrade issue, or a generic RH7.1 issue. > > Here are some details: Off the box I run into the following problem : > > /usr/local/java/sun-jdk1.3.0_02/bin/java: /usr/bin/cut: No such file or > directory > > In RedHat 6.2 /usr/bin/cut is part of the textutils package. I found > out that the utility has moved to /bin in RedHat 7.1 so I added a link > from /bin/cut to /usr/bin/cut (ln -s /bin/cut /usr/bin/cut). I believe the problem is that RedHat 7.1 makes some updates to glibc, and the Sun JDK have some nasty glibc dependancies. I believe the blackdown JDK's will work fine with 7.1. --Chris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: RedHat 7.1 (upgrade) and Sun JDK1.3.0_02 (i386)
The 1.3.1 release has the 'cut' fix, the next release of 1.3.1 (rc2)
has the final floating stack code that was needed.
Alternatively set LD_ASSUME_KERNEL=2.2.5 when running Java and it will
use the backward compatability libraries with Redhat 7,1 , this will work
for 1.3.0_002 as well,
There are bugs logged on the JDC and the workaround above are listed there.
regards
calvin
"Alexander V. Konstantinou" wrote:
>
> I just upgraded a test machine running RedHat 6.2 (with all the latest
> updates) to RedHat 7.1. I'm having trouble getting Sun JDK 1.3.0_02 to work
> in the new environment (blackdown 1.3.0-FCS works as far as I've tested).
>
> Has anyone tried using Sun's JDK in RedHat 7.1 ? I'd like to find out
> if it is an upgrade issue, or a generic RH7.1 issue.
>
> Here are some details: Off the box I run into the following problem :
>
> /usr/local/java/sun-jdk1.3.0_02/bin/java: /usr/bin/cut: No such file or directory
>
> In RedHat 6.2 /usr/bin/cut is part of the textutils package. I found
> out that the utility has moved to /bin in RedHat 7.1 so I added a link
> from /bin/cut to /usr/bin/cut (ln -s /bin/cut /usr/bin/cut).
>
> Invoking "java -version" at this point would never return. strace reports:
>
> ...
> nanosleep({0, 100}, {3076, 0}) = 0
> nanosleep({0, 100}, {3076, 0}) = 0
> nanosleep({0, 100}, {3076, 0}) = 0
> nanosleep({0, 100}, {3076, 0}) = 0
> nanosleep({0, 100}, {3076, 0}) = 0
> ...
>
> manticore:bin> ldd i386/native_threads/java
> libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40018000)
> libhpi.so => not found
> libjvm.so => not found
> libdl.so.2 => /lib/libdl.so.2 (0x4004)
> libc.so.6 => /lib/i686/libc.so.6 (0x40044000)
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40174000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000)
>
> manticore:bin> rpm -qa | grep glibc
> compat-glibc-6.2-2.1.3.2
> glibc-2.2.2-10
> glibc-common-2.2.2-10
> glibc-devel-2.2.2-10
> glibc-profile-2.2.2-10
>
> Thanks,
>
> Alexander V. Konstantinou
> [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]
X11 window error using swing package?
Hello, I used javax.swing.tree and other package to show a simple tree. The program is ok in windows,but meet error in linux. the error information is listed in the following: Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:58) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58) at java.awt.Window.(Window.java:186) at java.awt.Frame.(Frame.java:315) at java.awt.Frame.(Frame.java:294) at javax.swing.JFrame.(JFrame.java:174) at tree.(tree.java:33) at tree.main(tree.java:68) And I have run the program in Xwin,the error is still. And it is strange that whether I login into linux in local computer or from remote computer,the error information is same.
Re: RedHat 7.1 (upgrade) and Sun JDK1.3.0_02 (i386)
Thanks to Cythia and Calvin for pointing me to the solution. To summarize (for the list): In order to get a stock or upgrade RedHat 7.1 (i386) system to run Sun JDK 1.3.0_02 the following two changes must be made: 1. Create a symbolic link from /bin/cut to /usr/bin/cut ln -s /bin/cut /usr/bin/cut 2. Modify the $JAVA_HOME/bin/.java_wrapper script by adding the following two links after the copyright comments: LD_ASSUME_KERNEL=2.2.5 export LD_ASSUME_KERNEL As for my previous posting regarding the Blackdown JDK and RH7.1. Although it works off the box for console programs, running the SwingSet2 example causes it to freeze at the splash screen. The problem is also fixed using the LD_ASSUME_KERNEL flag. Alexander -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X11 window error using swing package?
On Wed, 25 Apr 2001, Chao Liu wrote: > Hello, > I used javax.swing.tree and other package to show a simple tree. The program is ok >in windows,but meet error in linux. > the error information is listed in the following: > Exception in thread "main" java.lang.InternalError: Can't connect to X11 window >server usi > ng ':0.0' as the value of the DISPLAY variable. > Specify the DISPLAY variable with the HOST name. IE for host asimov, export DISPLAY=asimov:0.0 -- Joi EllisSoftware Engineer Aravox Technologies [EMAIL PROTECTED], [EMAIL PROTECTED] No matter what we think of Linux versus FreeBSD, etc., the one thing I really like about Linux is that it has Microsoft worried. Anything that kicks a monopoly in the pants has got to be good for something. - Chris Johnson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
