Re: setting the path in rh8

2003-06-06 Thread Andrea Aime
Kent E wrote:
I know I did this once.. but it was in mandrake… now I want to know how 
to do it in redhat..???

It's the same I guess. In your home look for .bash_profile (.profile on
Suse) and set the path in it so that at each login the path will be
set (and remember to logout and login back to have it set).
Best regards
Andrea Aime


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: focus problems under linux

2003-06-06 Thread Matt Avery
I have had some very strange problems running Java apps with KDE.  The 
Oracle Java installer comes to mind.

I always run Gnome and developed a fairly large Swing app on my Linux 
box ( Mandrake 8.2 then 9.0, Eclipse 2.0 then 2.1 ).  We did not 
experience any focus problems.  The other developers on the team were 
running Windows and we all had the same behavior in the Swing app.

Robert Upshall wrote:
I have a Swing application that works as I expect and want under windows 
but the same application under linux will not handle focus requests the 
same way.  I updated all my requestFocus() methods to be 
requestFocusInWindow() like the 1.4 docs recommend and I am yet to get 
the result I desire.

Is there any one window manager that works "best" with java?  Is there 
anything I can do to get the same results under linux and windows?

Robert

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
Matthew Avery
Senior Developer
(513) 470-5316
http://www.einnovation.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: setting the path in rh8

2003-06-06 Thread Robert Upshall
I use Slackware but it should be the same for any linux if you use bash 
as your shell.

add somthing like:

  export PATH=$PATH:/path/to/java/bin

to your .bash_profile or /etc/profile

Andrea Aime wrote:
Kent E wrote:

I know I did this once.. but it was in mandrake… now I want to know 
how to do it in redhat..???

It's the same I guess. In your home look for .bash_profile (.profile on
Suse) and set the path in it so that at each login the path will be
set (and remember to logout and login back to have it set).
Best regards
Andrea Aime


--
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: focus problems under linux

2003-06-06 Thread David D. Lucas
You may have already checked this, but see if the Window Behavior for 
the window manager is "Focus follows Mouse".

Set it to an alternative like "Click To Focus".

It could be something with the window manager.

Best Wishes,
Dave
Matt Avery wrote:
I have had some very strange problems running Java apps with KDE.  The 
Oracle Java installer comes to mind.

I always run Gnome and developed a fairly large Swing app on my Linux 
box ( Mandrake 8.2 then 9.0, Eclipse 2.0 then 2.1 ).  We did not 
experience any focus problems.  The other developers on the team were 
running Windows and we all had the same behavior in the Swing app.

Robert Upshall wrote:

I have a Swing application that works as I expect and want under 
windows but the same application under linux will not handle focus 
requests the same way.  I updated all my requestFocus() methods to be 
requestFocusInWindow() like the 1.4 docs recommend and I am yet to get 
the result I desire.

Is there any one window manager that works "best" with java?  Is there 
anything I can do to get the same results under linux and windows?

Robert

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]





--

++
| David Lucasmailto:[EMAIL PROTECTED]  |
| Lucas Software Engineering, Inc.   (740) 964-6248 Voice|
| Unix,Java,C++,CORBA,XML,EJB(614) 668-4020 Mobile   |
| Middleware,Frameworks  (888) 866-4728 Fax/Msg  |
++
| GPS Location:  40.0150 deg Lat,  -82.6378 deg Long |
| IMHC: "Jesus Christ is the way, the truth, and the life."  |
| IMHC: "I know where I am; I know where I'm going."<><  |
++
Notes: PGP Key Block=http://www.lse.com/~ddlucas/pgpblock.txt
IMHO="in my humble opinion" IMHC="in my humble conviction"
All trademarks above are those of their respective owners.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: focus problems under linux

2003-06-06 Thread Robert Upshall
What version of the SDK did you use on linux?

I didn't noticed the problem with 1.3, but then again I have been doing 
more linux development since we switched to 1.4.

Robert

Matt Avery wrote:
I have had some very strange problems running Java apps with KDE.  The 
Oracle Java installer comes to mind.

I always run Gnome and developed a fairly large Swing app on my Linux 
box ( Mandrake 8.2 then 9.0, Eclipse 2.0 then 2.1 ).  We did not 
experience any focus problems.  The other developers on the team were 
running Windows and we all had the same behavior in the Swing app.

Robert Upshall wrote:

I have a Swing application that works as I expect and want under 
windows but the same application under linux will not handle focus 
requests the same way.  I updated all my requestFocus() methods to be 
requestFocusInWindow() like the 1.4 docs recommend and I am yet to get 
the result I desire.

Is there any one window manager that works "best" with java?  Is there 
anything I can do to get the same results under linux and windows?

Robert

--
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]


IBM PPC 1.4.1 Question

2003-06-06 Thread erikrj
This may not be the list to ask this, but since Blackdown does not have a
1.4.x version of the JVM for PPC yet, and I was curious, I figured it
couldn't hurt.

Has anyone been able to get the newly released 1.4.1 development kit from
IBM to work. I get core dumps whenever I run it. I have Blackdown's 1.3.1
and IBM's 1.3.1 development kits working well on the same G3 powerbook
(pismo). The distro is Debian.

On a side note, I would be love to help with the 1.4.1 ppc port if it is
still going on. I just graduated with a BS in CS, and suddenly realized I
have free time. I know some ppc assembly and would be happy to learn
whatever else I need to. If someone could tell me who to contact, or
whoever is working on the port could contact me, I would be appreciative.

Erik R. Jensen


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: IBM PPC 1.4.1 Question

2003-06-06 Thread Wilhelm Fitzpatrick
On Thursday, Jun 5, 2003, at 23:09 US/Pacific, Paul Nasrat wrote:

and libc.  Try setting LD_ASSUME_KERNEL manually and then run it.

LD_ASSUME_KERNEL=2.2.5 should be linux threads.
I just tried it out for myself, and I seem to be seeing the same 
problem.  LD_ASSUME_KERNEL does not appear to make a difference.  So 
far I have been searching the docs to find out if a particular libc or 
kernel version is required, but have found no information so far.

__
Wilhelm Fitzpatrick  |  When we speak of free
 http://www.3roses.com/  |  software we are referring
 aim:R4F14L  |  to freedom not price.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: IBM PPC 1.4.1 Question

2003-06-06 Thread Tony Reix

{ > Has anyone been able to get the newly released 1.4.1 development kit from
{ > IBM to work. 
{ 
{ When I last looked at it it wasn't available for ppc - thanks for that.
{ 
{ > I get core dumps whenever I run it. 


According to the IBM ReadMe (sdkguide.lnxia32.htm) of the IBM 1.4.1
JVM for Linux IA32, they have only tested their 1.4.0 JVM on:

  SLES 7
  SLES 7 64-bit (31-bit compatibility mode)
  SuSE 8.0
  Red Hat Advanced Server
  Red Hat 7.3
  Turbolinux 7 Server
  
http://www-106.ibm.com/developerworks/java/jdk/linux/tested.html

They say nothing about the 1.4.1 JVM.
I think they should update this page and -maybe- the version of their
test machines.


Amicalement/Regards,

Tony Reix

Carpe Diem


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: IBM PPC 1.4.1 Question

2003-06-06 Thread Tony Reix
Oooops.
I just realized you were talking of IBM JVM 1.4.1 on PPC. not on IA32.
Sorry.
But their information page about IBM Linux JVMs is still not up-to-date ...

Regards,

Tony

{ { > Has anyone been able to get the newly released 1.4.1 development kit from
{ { > IBM to work. 
{ { 
{ { When I last looked at it it wasn't available for ppc - thanks for that.
{ { 
{ { > I get core dumps whenever I run it. 
{ 
{ 
{ According to the IBM ReadMe (sdkguide.lnxia32.htm) of the IBM 1.4.1
{ JVM for Linux IA32, they have only tested their 1.4.0 JVM on:
{ 
{   SLES 7
{   SLES 7 64-bit (31-bit compatibility mode)
{   SuSE 8.0
{   Red Hat Advanced Server
{   Red Hat 7.3
{   Turbolinux 7 Server
{   
{ http://www-106.ibm.com/developerworks/java/jdk/linux/tested.html
{ 
{ They say nothing about the 1.4.1 JVM.
{ I think they should update this page and -maybe- the version of their
{ test machines.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: IBM PPC 1.4.1 Question

2003-06-06 Thread Paul Nasrat
On Fri, Jun 06, 2003 at 12:44:52AM -0700, Wilhelm Fitzpatrick wrote:
> 
> On Thursday, Jun 5, 2003, at 23:09 US/Pacific, Paul Nasrat wrote:
> 
> >and libc.  Try setting LD_ASSUME_KERNEL manually and then run it.
> >
> >LD_ASSUME_KERNEL=2.2.5 should be linux threads.
> 
> I just tried it out for myself, and I seem to be seeing the same 
> problem.  LD_ASSUME_KERNEL does not appear to make a difference.  So 
> far I have been searching the docs to find out if a particular libc or 
> kernel version is required, but have found no information so far.

I've managed to duplicate this on my Mandrake 8.2 ppc box.  If I have
time I'll have a dig at the core and javacore to see if anything obvious
leaps out.   

Paul


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Thread question

2003-06-06 Thread Roberts, Adam D
Title: Thread question






   I am using familiar linux with blackdown's jvm 1.3.1 on an ARM processor.  I have no problem running separate processes, but I can't seem to get any threads to start.  Is there something I need to set in the /proc file system to enable thread support?  /proc/sys/kernel/threads-max is set at 1024.  I tried using both java -green and java -native with a no go.  Any help on this would be appreciated.  Thanks!

 -Adam





Re: IBM PPC 1.4.1 Question

2003-06-06 Thread Andreas Dieling
On Friday 06 June 2003 21:08, Paul Nasrat wrote:
> On Fri, Jun 06, 2003 at 12:44:52AM -0700, Wilhelm Fitzpatrick wrote:
> > On Thursday, Jun 5, 2003, at 23:09 US/Pacific, Paul Nasrat wrote:
> > >and libc.  Try setting LD_ASSUME_KERNEL manually and then run it.
> > >
> > >LD_ASSUME_KERNEL=2.2.5 should be linux threads.
> >
> > I just tried it out for myself, and I seem to be seeing the same
> > problem.  LD_ASSUME_KERNEL does not appear to make a difference.  So
> > far I have been searching the docs to find out if a particular libc or
> > kernel version is required, but have found no information so far.
>
> I've managed to duplicate this on my Mandrake 8.2 ppc box.  If I have
> time I'll have a dig at the core and javacore to see if anything obvious
> leaps out.
>
> Paul

it works if you disable JIT with 
export JAVA_COMPILER=off
on console

well a bit slow then...

Andreas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: IBM PPC 1.4.1 Question

2003-06-06 Thread erikrj
> On Fri, Jun 06, 2003 at 12:44:52AM -0700, Wilhelm Fitzpatrick wrote:
>>
>> On Thursday, Jun 5, 2003, at 23:09 US/Pacific, Paul Nasrat wrote:
>>
>> >and libc.  Try setting LD_ASSUME_KERNEL manually and then run it.
>> >
>> >LD_ASSUME_KERNEL=2.2.5 should be linux threads.
>>
>> I just tried it out for myself, and I seem to be seeing the same
>> problem.  LD_ASSUME_KERNEL does not appear to make a difference.  So
>> far I have been searching the docs to find out if a particular libc or
>> kernel version is required, but have found no information so far.
>
> I've managed to duplicate this on my Mandrake 8.2 ppc box.  If I have
> time I'll have a dig at the core and javacore to see if anything obvious
> leaps out.

I have posted the question to the ibm.software.java.linux news group at
news.software.ibm.com if anyone wants to follow it. Also does anyone know
how to report bugs to ibm. I can't find any contact information at all.

Erik R. Jensen


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]