Re: [ydl-gen] Java on PS3-YDL 6.2

2010-01-25 Thread Pat Wall

Pat Wall wrote:

Hi Stephen

   

To follow up from my other post, I have tried a number of Java applets
on my iBook using Firefox 3.6b5 and the latest IBM Java on my iBook.
Except for the error message with the java.com version test all others
have worked correctly as far as I can tell.  Try using at least
Firefox 3.6b5 (or the release candidate).  Given the change to the new
plugin format there may be some bugs in 3.6b1 that are not there in
the later versions.  I doubt that it is my use of an iBook versus a
PS3.

 

It was the release candidate I was trying so I dropped back to 3.6b5
with unfortunately the same result. I my case accessing
http://www.javatester.org/version.html will cause Firefox to crash.
I'm using a Powermac G5 so I'll build the
release candidate on a Powerbook G4 so see if the result differs. Will
keep you posted.
   
Well I finally have Java up and running perfectly under Firefox 3.6! I 
compiled the final release version of FF 3.6 and created a symlink in 
/usr/local/bin/ to the script firefox exactly as I had done after 
building the release candidate. Previously I have been testing Firefox 
3.6 by starting it from the command line but this time I tested the 
build by clicking on the Firefox application icon in the E17 shelf. (As 
I have /usr/local/bin set to take precedence over /usr/bin in my PATH  
/usr/local/bin/firefox starts instead of  /usr/bin/firefox)


I experienced no crashes loading a java applet starting FF 3.6 from the 
shelf but yet if I start it from the command line it will crash loading 
an applet every time. Not sure why this is ... main thing is that it's 
(and obviously always was) now working :-)



Pat



___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  'lt;keywords site:us.fixstars.com'


Re: [ydl-gen] Java on PS3

2010-01-25 Thread Pat Wall

Derick Centeno wrote:

On Fri, 15 Jan 2010 16:16:34 +
Pat Wallpjw...@mac.com  wrote:

   
 

Hi Pat,

I appreciate your clarification. ...
   

Hi Derick

That's very interesting. I just couldn't get the plugin to register by
cp'ing, other than that, no adverse effects. Must be something
peculiar to my setup.

Anyway I think I better stop tinkering now before I break
something ;-)

All the best


Pat
 

Hi Pat!

As for me, I'll never stop tinkering.

Your experience got me thinking and I decided to backtrack what I did
do as it appears my experience is completely different from what you
and others reported.  Well I did discover what I did, however I didn't
use the copy (cp) command -- I used move (mv) instead.

Here's the actual execution:

[agu...@arakus ~]$ sudo mv ./lib*so /usr/lib/mozilla/plugins

Explanation:  I was within the directory where the java plugin existed
which is: /opt/ibm/java-ppc-60/jre/plugin/ppc/ns7.  So the above was
executed from within the ns7 directory.  I found something interesting
which does apply which you can read yourself within YDL 6.2 by doing:

$ info mv

Here's the part which interests me which may be the root of explaining
why my approach (using mv, not cp) works.

Note:
`mv' can move any type of file from one file system to another.
Prior to version `4.0' of the fileutils, `mv' could move only regular
files between file systems.  For example, now `mv' can move an entire
directory hierarchy including special device files from one partition
to another.  It first uses some of the same code that's used by `cp -a'
to copy the requested directories and files, then (assuming the copy
succeeded) it removes the originals. ...

What is interesting is that the *.so remains in the ns7 directory and
mv executed the function implementing some of the same code used by
cp -a.  This strategy may have created an unintended side effect; I
noticed that mv did not erase the original location of *.so but
created in fact a link to *.so where it actually resides in the ns7
directory! The reason for this may be the result of how I used mv as
opposed to the way it was designed to be used.  I'll send a query to
the programmers who created mv and present to them the details I'm
omitting here.

Interesting how we began talking about tinkering and here we are.

All the best...
   

Hi Derick

Tinkering, occasionally breaking and (hopefully) fixing is definitely 
the best way of learning. My wife is always giving out that the computer 
never works when she wants to use it as I normally haven't gotten around 
to the fixing part yet ;-)


What you described with the mv command is certainly intriguing.

Best wishes


Pat

___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  'lt;keywords site:us.fixstars.com'


Re: [ydl-gen] Java on PS3

2010-01-16 Thread Stephen Harker
On Fri, Jan 15, 2010 at 03:02:13PM +, Pat Wall wrote:
 On Fri, 15 Jan 2010 14:49:19 +
 Pat Wall pjw...@mac.com wrote:
 
 
 Firefox crashing may be related to the Sun's JRE
 plugin only. According to the IBM sdkandruntimeguide.lnx.htm:

I am on leave and not reading this list frequently (I can't get the
mail from my ADFA account when out of campus except through a webmail
interface).  On my iBook G4, running Firefox 3.6b5 there is no crash
using the java.com version test.  I do get an error message, which is
shown below:

=
Java Plug-in 1.6.0
Using JRE version pxp3260sr6-20090925_01 (SR6) IBM J9 VM
User home directory = /home/sjh

c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to n



Reading certificates from 11 http://www.java.com/applet/TestVM2.jar | 
/home/sjh/.java/deployment/cache/6.0/50/75db0232-4f384094.idx
java.lang.StringIndexOutOfBoundsException
at java.lang.String.substring(String.java:1092)
at testvm2.Main.init(Main.java:92)
at 
sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1540)
at java.lang.Thread.run(Thread.java:736)
Exception: java.lang.StringIndexOutOfBoundsException
java.lang.NullPointerException
at testvm2.Main.start(Main.java:150)
at 
sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1603)
at java.lang.Thread.run(Thread.java:736)
Exception: java.lang.NullPointerException
==

For what it may be worth the version tester at
http://www.javatester.org/version.html works without problems.

-- 
Stephen Harker   s.har...@adfa.edu.au
PEMShttp://sjharker.customer.netspace.net.au/
u...@adfa
___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  'lt;keywords site:us.fixstars.com'


Re: [ydl-gen] Java on PS3

2010-01-15 Thread Derick Centeno
On Fri, 15 Jan 2010 15:02:13 +
Pat Wall pjw...@mac.com wrote:

 On Fri, 15 Jan 2010 14:49:19 +
 Pat Wall pjw...@mac.com wrote:
 
  On Fri, 15 Jan 2010 00:45:24 -0500
  Derick Centeno dcent...@ydl.net wrote:
   
  
...
 You must symbolically link the plug-in, rather than copy it, so that
 the browser and plug-in can locate the JVM.
 
 Presumably if it doesn't register in the first instance it can't crash
 Firefox.
 

Hi Pat, 

I appreciate your clarification.  However, I've not experienced any
crashes or difficulties Firefox within YDL 6.2 resulting from the method
I posted.  Indeed, despite the advice recommending a symbolic or soft
link I was able to play on my old favorite game site which is very java
intensive using the method I posted previously.

The version of Firefox I'm using is the standard release which was
installed in YDL 6.2. 

=
Refranes/Popular sayings:
The Taino say:No hay mal que por bien no venga.
There is no evil out of which good cannot blossom.


signature.asc
Description: PGP signature
___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  'lt;keywords site:us.fixstars.com'

Re: [ydl-gen] Java on PS3

2010-01-15 Thread Pat Wall

 Hi Pat, 
 
 I appreciate your clarification.  However, I've not experienced any
 crashes or difficulties Firefox within YDL 6.2 resulting from the
 method I posted.  Indeed, despite the advice recommending a symbolic
 or soft link I was able to play on my old favorite game site which is
 very java intensive using the method I posted previously.
 
 The version of Firefox I'm using is the standard release which was
 installed in YDL 6.2. 


Hi Derick

That's very interesting. I just couldn't get the plugin to register by
cp'ing, other than that, no adverse effects. Must be something
peculiar to my setup.

Anyway I think I better stop tinkering now before I break something ;-)

All the best


Pat

___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  'lt;keywords site:us.fixstars.com'


Re: [ydl-gen] Java on PS3

2010-01-14 Thread Derick Centeno
As usual Robert, the easy way to get what you want is the least obvious.

First, take the time to learn how to modify the standard application
called yum which YDL uses for updates, installations, etc.  The
detailed instructions are here:

http://www.yellowdog-board.com/viewtopic.php?f=19t=3017

Take the time and make sure you understand what is there and then
modify yum accordingly.  Remember that when you come across a very long
explanation with a window you can scroll down within it for more
information within the YDL Board.  Pay attention to the section on YDL
6.2 and implement those recommendations.

After all that, I recommend that you include one more modification
which I'll share with you.  Include something called ps3bodega.  Why?
Because they already have the rpm and dependencies for IBM JRE which
you are having trouble with.

Here's a snapshot what yum refers to:

[agu...@arakus etc]$ cd yum.repos.d
[agu...@arakus yum.repos.d]$ ls
dribble.repops3bodega.repo yellowdog-updates.repo
fedora-extras.repo  yellowdog-base.repo
livna-stable.repo   yellowdog-extras.repo
[agu...@arakus yum.repos.d]$ 

Explanation:  Within the yum.repos.d directory are several files one of
which is ps3bodega.repo.  The ps3bodega.repo file consists of the
following:

[PS3Bodega]
name=PS3Bodega repo for Yellow Dog 6.2
baseurl=http://pleasantfiction.ipower.com/ps3linux/ps3bodega62/ppc/
gpgcheck=0
enabled=1


After all the above has been done then do:

#yum install ibm*jre* 

then the jre and whatever programs/dependencies it needs to run are all
found and installed by yum for you.  

Now regarding getting the java plugin to be seen and used by Firefox.
The instructions posted by Fixstars is old and hasn't been corrected.

Here's the shortcut after all the above has been completed find it
(libjavaplugin_oji.so) in YDL 6.2.  It should be here:

/opt/ibm/java*/jre/plugin/ppc/ns7

I don't like recommending links soft or hard as they can be hard to
remember and more problematic to change without affecting a Linux
installation.  An alternative is to use the copy command (cp) and copy
the desired plugin from the directory it was installed into and copy it
into the new location so that you see this:

/usr/lib/mozilla/plugins/libjavaplugin_oji.so


Once this last step is complete, I recommend a that you logout and
restart.  Once you are back in YDL Firefox will see and use the JRE.

All the best...

On Thu, 14 Jan 2010 13:18:13 -0500
Robert Black robert.a.bl...@noaa.gov wrote:

 I too have so far failed to get a working Java on the PS3. I  
 downloaded the all files with the latest release from the IBM web  
 site, Tried to install them,  got a message that the JRE and SDK  
 needed another .so file. I found  downloaded that, re-installed the  
 SDK,  that worked. Tried to re-install the JRE, and it now claims
 to be incompatible with the latest SDK from IBM. A complete
 runaround. Result: No java capability w/Firefox on the PS-3.
 
 YDL 6.2 (so far) fails to meet minimal functionality requirements
 for me, although I can check email with it.
 
 Good thing this is at home,  not here at work.
 
 Robert A. Black
 
 Research Meteorologist  4301 Rickenbacker Cswy.
 NOAA/AOML/HRDMiami, FL 33149-1026
 
 Ph:   (305) 361-4314
 FAX: (305) 361-4528 (NEW)
 
 E-Mail: robert.a.bl...@noaa.gov
 (Any opinions expressed are mine alone, not NOAA policy)
 
 
 
 
 ___
 yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
 Unsuscribe info:
 http://lists.fixstars.com/mailman/listinfo/yellowdog-general HINT: to
 Google archives, try  'lt;keywords site:us.fixstars.com'



=
Refranes/Popular sayings:
The Taino say:No hay mal que por bien no venga.
There is no evil out of which good cannot blossom.


signature.asc
Description: PGP signature
___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  'lt;keywords site:us.fixstars.com'

Re: [ydl-gen] Java on PS3-YDL 6.2

2010-01-09 Thread Derick Centeno

On Sun, 2010-01-10 at 09:38 +1100, Stephen Harker wrote:

 On Sat, Jan 09, 2010 at 02:33:04PM -0500, Derick Centeno wrote:
  So if you are building any applications from source you need to make
  sure that you also build from source all related rpms, but before all
  that you also need to remove from YDL the rpms of dependencies and
  applications which are already installed which you intend to replace.
  I've gotten caught by this requirement myself several times. This whole
  process is rather tedious but if you get through it all, you will have
  eventually what you want as you want it.
 
 There was no problem in building Firebox 3.6b3 or 3.6b5.  They run
 well, it is merely that the IBM Java plugin does not work


Thanks for your reply Steve.  You've provided a clue regarding an
approach which I previously missed regarding getting complied programs
up and running.


signature.asc
Description: This is a digitally signed message part
___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  'lt;keywords site:us.fixstars.com'

Re: [ydl-gen] Java on PS3-YDL 6.2

2010-01-08 Thread Stephen Harker
On Thu, Jan 07, 2010 at 10:42:26PM +, Pat Wall wrote:
 Hi Robert
 
 Fixstars have posted a howto on ydl.net for getting IBM's Java working 
 with Firefox - see 
 http://www.ydl.net/support/solutions/ydl_general/firefox-java.shtml for 
 the Howto with the runtime environment available here 
 http://www.ibm.com/developerworks/java/jdk/linux/download.html.

I had followed a similar procedure using the latest IBM Java
(ibm-java-ppc-sdk-6.0-6.0.ppc.rpm) and it worked well with the Firefox
supplied with YDL 6.2 and with a self-compiled Firefox 3.5.4.
However, when I upgraded to a self-compiled Firefox 3.6b3 or 3.6b5
Java did not work.  At the moment I have no idea why.

-- 
Stephen Harker   s.har...@adfa.edu.au
PEMShttp://sjharker.customer.netspace.net.au/
u...@adfa
___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  'lt;keywords site:us.fixstars.com'


[ydl-gen] Java on PS3-YDL 6.2

2010-01-07 Thread Robert Black
Firefox on YDL 6.2 on the PS3 has no Java, so many web pages I like to  
view that have animations do not work. Is there a version of Java that  
can be installed?


Also, are there alternate web browsers available, or is Firefox the  
one-and-only?


Robert A. Black

Research Meteorologist  4301 Rickenbacker Cswy.
NOAA/AOML/HRDMiami, FL 33149-1026

Ph:   (305) 361-4314
FAX: (305) 361-4528 (NEW)

E-Mail: robert.a.bl...@noaa.gov
(Any opinions expressed are mine alone, not NOAA policy)




___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  'lt;keywords site:us.fixstars.com'


Re: [ydl-gen] Java on PS3-YDL 6.2

2010-01-07 Thread tomasz brymora
 I had a iMac g3 running ydl 5.x with IBM's java 6. So my guess is yes, I 
think I posted the details on that on the forum, but have not been there in at 
least a year I think.
t

--- On Thu, 1/7/10, Robert Black robert.a.bl...@noaa.gov wrote:

From: Robert Black robert.a.bl...@noaa.gov
Subject: [ydl-gen] Java on PS3-YDL 6.2
To: yellowdog-general@lists.fixstars.com
Date: Thursday, January 7, 2010, 10:58 AM

Firefox on YDL 6.2 on the PS3 has no Java, so many web pages I like to view 
that have animations do not work. Is there a version of Java that can be 
installed?

Also, are there alternate web browsers available, or is Firefox the 
one-and-only?

Robert A. Black

Research Meteorologist                  4301 Rickenbacker Cswy.
NOAA/AOML/HRD                            Miami, FL 33149-1026

Ph:   (305) 361-4314
FAX: (305) 361-4528 (NEW)

E-Mail: robert.a.bl...@noaa.gov
(Any opinions expressed are mine alone, not NOAA policy)




___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  'lt;keywords site:us.fixstars.com'
___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  'lt;keywords site:us.fixstars.com'

Re: [ydl-gen] Java on PS3-YDL 6.2

2010-01-07 Thread Pat Wall
Forgot to mention that Opera is also available for YDL and can be 
downloaded here 
http://ftp.heanet.ie/pub/opera/linux/1010/final/en/ppc/shared/opera-10.10.gcc4.shared.qt3.ppc.rpm



Pat



Pat Wall wrote:

Hi Robert

Fixstars have posted a howto on ydl.net for getting IBM's Java working 
with Firefox - see 
http://www.ydl.net/support/solutions/ydl_general/firefox-java.shtml 
for the Howto with the runtime environment available here 
http://www.ibm.com/developerworks/java/jdk/linux/download.html.


Other browsers that come with YDL 6.2 are text-based elinks, lynx and 
w3m with Konqueror available if you install KDE. The Epipheny browser 
is not available within the YDL repositories but is available with 
Fedora Core 6 - 
http://archive.fedoraproject.org/pub/archive/fedora/linux/core/6/ppc/os/Fedora/RPMS/epiphany-2.16.0-4.fc6.ppc.rpm. 



Dillo and Seamonkey can be compiled from source (I've compiled Dillo 
but not Seamonkey).


All the best


Pat










Robert Black wrote:
Firefox on YDL 6.2 on the PS3 has no Java, so many web pages I like 
to view that have animations do not work. Is there a version of Java 
that can be installed?


Also, are there alternate web browsers available, or is Firefox the 
one-and-only?


Robert A. Black

Research Meteorologist  4301 Rickenbacker Cswy.
NOAA/AOML/HRDMiami, FL 33149-1026

Ph:   (305) 361-4314
FAX: (305) 361-4528 (NEW)

E-Mail: robert.a.bl...@noaa.gov
(Any opinions expressed are mine alone, not NOAA policy)




___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: 
http://lists.fixstars.com/mailman/listinfo/yellowdog-general

HINT: to Google archives, try  'lt;keywords site:us.fixstars.com'






___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  'lt;keywords site:us.fixstars.com'


Re: [ydl-gen] Java on PS3-YDL 6.2

2010-01-07 Thread Pat Wall

Hi Robert

Fixstars have posted a howto on ydl.net for getting IBM's Java working 
with Firefox - see 
http://www.ydl.net/support/solutions/ydl_general/firefox-java.shtml for 
the Howto with the runtime environment available here 
http://www.ibm.com/developerworks/java/jdk/linux/download.html.


Other browsers that come with YDL 6.2 are text-based elinks, lynx and 
w3m with Konqueror available if you install KDE. The Epipheny browser is 
not available within the YDL repositories but is available with Fedora 
Core 6 - 
http://archive.fedoraproject.org/pub/archive/fedora/linux/core/6/ppc/os/Fedora/RPMS/epiphany-2.16.0-4.fc6.ppc.rpm. 



Dillo and Seamonkey can be compiled from source (I've compiled Dillo but 
not Seamonkey).


All the best


Pat





Robert Black wrote:
Firefox on YDL 6.2 on the PS3 has no Java, so many web pages I like to 
view that have animations do not work. Is there a version of Java that 
can be installed?


Also, are there alternate web browsers available, or is Firefox the 
one-and-only?


Robert A. Black

Research Meteorologist  4301 Rickenbacker Cswy.
NOAA/AOML/HRDMiami, FL 33149-1026

Ph:   (305) 361-4314
FAX: (305) 361-4528 (NEW)

E-Mail: robert.a.bl...@noaa.gov
(Any opinions expressed are mine alone, not NOAA policy)




___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: 
http://lists.fixstars.com/mailman/listinfo/yellowdog-general

HINT: to Google archives, try  'lt;keywords site:us.fixstars.com'




___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  'lt;keywords site:us.fixstars.com'