Ok last meeting I did a quick lightning talk on my success in printing
Digital photos at the local CVS.
I was not able to use there special software, until I found out it was
Java based.
Well with a 64bit kernel , all my browsers are 64bit, thus no "java" and
thus not working.
After some digging I came across this script:

ff32_3in1_6294.tar.gz
( Please see http://ubuntuforums.org/showthread.php?t=202537 for more
details )

Which allows you to install the 32bit firefox ( 3.0.1 ) on your 64bit
Ubuntu system.
Although it installed everything else, it did not install Java
correctly, which I did install by hand ( 32bit version )

    1) d/l the 32bit Java JVM and place it in /usr/lib/jvm/ ( I renamed
    mine jre32_1.6.0_07 )
    2) add the symbolic link: "sudo ln -s
    /usr/lib/jvm/jre32_1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so
    /usr/local/firefox32-3/plugins/libjavaplugin_oji.so"
    3) Test your JVM in the new firefox32-3 browser at
    http://www.java.com/en/download/installed.jsp

Now CVS works just fine and I can bulk upload 100+ photos when I need to.
Also something cool was looking at the firefox32-3 script that starts
32bit Firefox:

    #!/bin/sh
    export GTK_PATH=/usr/lib32/gtk-2.0
    export LD_LIBRARY_PATH=/usr/lib32/libpangohack.so.0
    export GDK_PIXBUF_MODULE_FILE=/etc/gtk-2.0/gdk-pixbuf.loaders.32
    killall esd
    linux32 /usr/local/firefox32-3/firefox $@

Which shows us how to get a 32bit environment working on 64bit Ubuntu:

    #!/bin/sh
    export GTK_PATH=/usr/lib32/gtk-2.0
    export LD_LIBRARY_PATH=/usr/lib32/libpangohack.so.0
    export GDK_PIXBUF_MODULE_FILE=/etc/gtk-2.0/gdk-pixbuf.loaders.32
    linux32 {32bit application}

If you want to get a 32bit shell ( don't want the 32bit GUI stuff ) you
can thus just run "linux32"
Which means that you can effectively run a 64bit kernel and still use
those 32bit apps!

Joe

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org          
   
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug                           
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium          
        
  Jun 4 - Sqeak! and eToys
  Jul 2 - KVM (Tenative)
  Aug 6 - Zenos
  Sep 3 - TBD

Reply via email to