Release Java PND

Discussion in 'Software Releases' started by WizardStan, Nov 21, 2010.

  1. WizardStan

    WizardStan Mega GP Mania

    Joined:
    May 24, 2008
    Messages:
    16,696
    This is the Java runtime, not a browser plugin, unfortunately. I couldn't get the plugin to compile as easily as the base runtime.


    I'll have a look into any changes that happened with HF6
     
  2. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,048
    Can I fix this?
     
  3. fusion_power

    fusion_power Advanced Member

    Joined:
    Dec 11, 2006
    Messages:
    7,050
    Location:
    germany
    Oh, I had no Idea since when I installed Java Runtime on PC, suddenly all of my browsers had Java Support, I thought this was automatic. ^^" But I guess on the Pandora, things are not that easy.
     
  4. Caine

    Caine Hardcore Member

    Joined:
    Jun 5, 2008
    Messages:
    4,081
    Location:
    Netherlands
    If that is indeed the cause, which needs to be verified first, then the PND needs to be fixed. Exactly what is failing and what kind of errors are you getting?
     
  5. Dark_Link

    Dark_Link Member

    Joined:
    Aug 18, 2011
    Messages:
    156
    lol if you were on linux you needed the ice-tea plugin windows does it auto along with mac
     
  6. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,048
    The error I get is this:



    Code:
    
    There seems to be an unrecoverable error. Please rerun the install program.
    
    


    Here is the .out file from the java program I try to run. They're all the same:





    Code:
    
    =======================================================================================
    
    PND         	: /media/2/pandora/menu/JChemPaint.pnd
    
    PND_FSTYPE  	: Squashfs
    
    APPDATADIR  	: /media/2/pandora/appdata/JChemPaint
    
    APPDD_FSTYPE	: ext3
    
    PND_CPUSPEED	: <unset>
    
    EXENAME     	: ./jchempaint.sh
    
    ARGUMENTS   	: <unset>
    
    =======================================================================================
    
    [ START ]--- Mount the PND ----------
    
    Mounting : mount -t squashfs "/dev/loop1" "/mnt/utmp/JChemPaint"
    
    Mounting the Union FS : mount -t aufs -o exec,dirs="/media/2/pandora/appdata/JChemPaint=rw+nolwh":"/mnt/pnd/JChemPaint=rr" none "/mnt/utmp/JChemPaint"
    
    [SUCCESS]--- Mount the PND ----------
    
    [ START ]--- Starting the application (./jchempaint.sh ) ----------
    
    mkdir: cannot create directory `.jchempaint': File exists
    
    [ FAILED]--- Starting the application (./jchempaint.sh ) ----------
    
    [ START ]--- Restoring the frame buffer status ----------
    
    [SUCCESS]--- Restoring the frame buffer status ----------
    
    [ START ]--- uMount the PND ----------
    
    [ START ]--- Waiting the Union to be available ----------
    
    [SUCCESS]--- Waiting the Union to be available ----------
    
    rmdir: failed to remove `/mnt/utmp/JChemPaint': Device or resource busy
    
    [ START ]--- Waiting the PND mount dir to be free ----------
    
    [SUCCESS]--- Waiting the PND mount dir to be free ----------
    
    cleanup done
    
    [SUCCESS]--- uMount the PND ----------
    
    =======================================================================================
    
    Return code is : 2
    
    


    Here's the .out from the java.pnd itself:





    Code:
    
    =======================================================================================
    
    PND         	: /media/2/pandora/menu/java.pnd
    
    PND_FSTYPE  	: Squashfs
    
    APPDATADIR  	: /media/2/pandora/appdata/java
    
    APPDD_FSTYPE	: ext3
    
    PND_CPUSPEED	: <unset>
    
    EXENAME     	: instjava.sh
    
    ARGUMENTS   	: <unset>
    
    =======================================================================================
    
    [ START ]--- Mount the PND ----------
    
    Mounting : mount -t squashfs "/dev/loop1" "/mnt/utmp/java"
    
    Mounting the Union FS : mount -t aufs -o exec,dirs="/media/2/pandora/appdata/java=rw+nolwh":"/mnt/pnd/java=rr" none "/mnt/utmp/java"
    
    [SUCCESS]--- Mount the PND ----------
    
    [ START ]--- Starting the application (instjava.sh ) ----------
    
    find: `/media/1/etc/ssl/private': Permission denied
    
    find: `/media/1/.Trash-0': Permission denied
    
    find: `/media/1/pandvarrun/sudo': Permission denied
    
    find: `/media/1/pandvarrun/hald': Permission denied
    
    find: `/media/1/proc/tty/driver': Permission denied
    
    find: `/media/1/proc/1/task/1/fd': Permission denied
    
    find: `/media/1/proc/1/task/1/fdinfo': Permission denied
    
    find: `/media/1/proc/1/fd': Permission denied
    
    find: `/media/1/proc/1/fdinfo': Permission denied
    
    find: `/media/1/proc/2/task/2/fd': Permission denied
    
    find: `/media/1/proc/2/task/2/fdinfo': Permission denied
    
    find: `/media/1/proc/2/fd': Permission denied
    
    find: `/media/1/proc/2/fdinfo': Permission denied
    
    find: `/media/1/proc/3/task/3/fd': Permission denied
    
    find: `/media/1/proc/3/task/3/fdinfo': Permission denied
    
    find: `/media/1/proc/3/fd': Permission denied
    
    find: `/media/1/proc/3/fdinfo': Permission denied
    
    find: `/media/1/proc/4/task/4/fd': Permission denied
    
    find: `/media/1/proc/4/task/4/fdinfo': Permission denied
    
    find: `/media/1/proc/4/fd': Permission denied
    
    find: `/media/1/proc/4/fdinfo': Permission denied
    
    find: `/media/1/proc/5/task/5/fd': Permission denied
    
    find: `/media/1/proc/5/task/5/fdinfo': Permission denied
    
    find: `/media/1/proc/5/fd': Permission denied
    
    find: `/media/1/proc/5/fdinfo': Permission denied
    
    find: `/media/1/proc/6/task/6/fd': Permission denied
    
    find: `/media/1/proc/6/task/6/fdinfo': Permission denied
    
    find: `/media/1/proc/6/fd': Permission denied
    
    find: `/media/1/proc/6/fdinfo': Permission denied
    
    find: `/media/1/proc/7/task/7/fd': Permission denied
    
    find: `/media/1/proc/7/task/7/fdinfo': Permission denied
    
    find: `/media/1/proc/7/fd': Permission denied
    
    find: `/media/1/proc/7/fdinfo': Permission denied
    
    find: `/media/1/proc/8/task/8/fd': Permission denied
    
    find: `/media/1/proc/8/task/8/fdinfo': Permission denied
    
    find: `/media/1/proc/8/fd': Permission denied
    
    find: `/media/1/proc/8/fdinfo': Permission denied
    
    find: `/media/1/proc/9/task/9/fd': Permission denied
    
    find: `/media/1/proc/9/task/9/fdinfo': Permission denied
    
    find: `/media/1/proc/9/fd': Permission denied
    
    find: `/media/1/proc/9/fdinfo': Permission denied
    
    find: `/media/1/proc/10/task/10/fd': Permission denied
    
    find: `/media/1/proc/10/task/10/fdinfo': Permission denied
    
    find: `/media/1/proc/10/fd': Permission denied
    
    find: `/media/1/proc/10/fdinfo': Permission denied
    
    find: `/media/1/proc/11/task/11/fd': Permission denied
    
    find: `/media/1/proc/11/task/11/fdinfo': Permission denied
    
    find: `/media/1/proc/11/fd': Permission denied
    
    find: `/media/1/proc/11/fdinfo': Permission denied
    
    find: `/media/1/proc/12/task/12/fd': Permission denied
    
    find: `/media/1/proc/12/task/12/fdinfo': Permission denied
    
    find: `/media/1/proc/12/fd': Permission denied
    
    find: `/media/1/proc/12/fdinfo': Permission denied
    
    find: `/media/1/proc/13/task/13/fd': Permission denied
    
    find: `/media/1/proc/13/task/13/fdinfo': Permission denied
    
    find: `/media/1/proc/13/fd': Permission denied
    
    find: `/media/1/proc/13/fdinfo': Permission denied
    
    find: `/media/1/proc/14/task/14/fd': Permission denied
    
    find: `/media/1/proc/14/task/14/fdinfo': Permission denied
    
    find: `/media/1/proc/14/fd': Permission denied
    
    find: `/media/1/proc/14/fdinfo': Permission denied
    
    find: `/media/1/proc/15/task/15/fd': Permission denied
    
    find: `/media/1/proc/15/task/15/fdinfo': Permission denied
    
    find: `/media/1/proc/15/fd': Permission denied
    
    find: `/media/1/proc/15/fdinfo': Permission denied
    
    find: `/media/1/proc/16/task/16/fd': Permission denied
    
    find: `/media/1/proc/16/task/16/fdinfo': Permission denied
    
    find: `/media/1/proc/16/fd': Permission denied
    
    find: `/media/1/proc/16/fdinfo': Permission denied
    
    find: `/media/1/proc/17/task/17/fd': Permission denied
    
    find: `/media/1/proc/17/task/17/fdinfo': Permission denied
    
    find: `/media/1/proc/17/fd': Permission denied
    
    find: `/media/1/proc/17/fdinfo': Permission denied
    
    find: `/media/1/proc/18/task/18/fd': Permission denied
    
    find: `/media/1/proc/18/task/18/fdinfo': Permission denied
    
    find: `/media/1/proc/18/fd': Permission denied
    
    find: `/media/1/proc/18/fdinfo': Permission denied
    
    find: `/media/1/proc/19/task/19/fd': Permission denied
    
    find: `/media/1/proc/19/task/19/fdinfo': Permission denied
    
    find: `/media/1/proc/19/fd': Permission denied
    
    find: `/media/1/proc/19/fdinfo': Permission denied
    
    find: `/media/1/proc/20/task/20/fd': Permission denied
    
    find: `/media/1/proc/20/task/20/fdinfo': Permission denied
    
    find: `/media/1/proc/20/fd': Permission denied
    
    find: `/media/1/proc/20/fdinfo': Permission denied
    
    find: `/media/1/proc/21/task/21/fd': Permission denied
    
    find: `/media/1/proc/21/task/21/fdinfo': Permission denied
    
    find: `/media/1/proc/21/fd': Permission denied
    
    find: `/media/1/proc/21/fdinfo': Permission denied
    
    find: `/media/1/proc/22/task/22/fd': Permission denied
    
    find: `/media/1/proc/22/task/22/fdinfo': Permission denied
    
    find: `/media/1/proc/22/fd': Permission denied
    
    find: `/media/1/proc/22/fdinfo': Permission denied
    
    find: `/media/1/proc/23/task/23/fd': Permission denied
    
    find: `/media/1/proc/23/task/23/fdinfo': Permission denied
    
    find: `/media/1/proc/23/fd': Permission denied
    
    find: `/media/1/proc/23/fdinfo': Permission denied
    
    find: `/media/1/proc/24/task/24/fd': Permission denied
    
    find: `/media/1/proc/24/task/24/fdinfo': Permission denied
    
    find: `/media/1/proc/24/fd': Permission denied
    
    find: `/media/1/proc/24/fdinfo': Permission denied
    
    find: `/media/1/proc/25/task/25/fd': Permission denied
    
    find: `/media/1/proc/25/task/25/fdinfo': Permission denied
    
    find: `/media/1/proc/25/fd': Permission denied
    
    find: `/media/1/proc/25/fdinfo': Permission denied
    
    find: `/media/1/proc/26/task/26/fd': Permission denied
    
    find: `/media/1/proc/26/task/26/fdinfo': Permission denied
    
    find: `/media/1/proc/26/fd': Permission denied
    
    find: `/media/1/proc/26/fdinfo': Permission denied
    
    find: `/media/1/proc/29/task/29/fd': Permission denied
    
    find: `/media/1/proc/29/task/29/fdinfo': Permission denied
    
    find: `/media/1/proc/29/fd': Permission denied
    
    find: `/media/1/proc/29/fdinfo': Permission denied
    
    find: `/media/1/proc/30/task/30/fd': Permission denied
    
    find: `/media/1/proc/30/task/30/fdinfo': Permission denied
    
    find: `/media/1/proc/30/fd': Permission denied
    
    find: `/media/1/proc/30/fdinfo': Permission denied
    
    find: `/media/1/proc/31/task/31/fd': Permission denied
    
    find: `/media/1/proc/31/task/31/fdinfo': Permission denied
    
    find: `/media/1/proc/31/fd': Permission denied
    
    find: `/media/1/proc/31/fdinfo': Permission denied
    
    find: `/media/1/proc/32/task/32/fd': Permission denied
    
    find: `/media/1/proc/32/task/32/fdinfo': Permission denied
    
    find: `/media/1/proc/32/fd': Permission denied
    
    find: `/media/1/proc/32/fdinfo': Permission denied
    
    find: `/media/1/proc/33/task/33/fd': Permission denied
    
    find: `/media/1/proc/33/task/33/fdinfo': Permission denied
    
    find: `/media/1/proc/33/fd': Permission denied
    
    find: `/media/1/proc/33/fdinfo': Permission denied
    
    find: `/media/1/proc/37/task/37/fd': Permission denied
    
    find: `/media/1/proc/37/task/37/fdinfo': Permission denied
    
    find: `/media/1/proc/37/fd': Permission denied
    
    find: `/media/1/proc/37/fdinfo': Permission denied
    
    find: `/media/1/proc/64/task/64/fd': Permission denied
    
    find: `/media/1/proc/64/task/64/fdinfo': Permission denied
    
    find: `/media/1/proc/64/fd': Permission denied
    
    find: `/media/1/proc/64/fdinfo': Permission denied
    
    find: `/media/1/proc/77/task/77/fd': Permission denied
    
    find: `/media/1/proc/77/task/77/fdinfo': Permission denied
    
    find: `/media/1/proc/77/fd': Permission denied
    
    find: `/media/1/proc/77/fdinfo': Permission denied
    
    find: `/media/1/proc/654/task/654/fd': Permission denied
    
    find: `/media/1/proc/654/task/654/fdinfo': Permission denied
    
    find: `/media/1/proc/654/fd': Permission denied
    
    find: `/media/1/proc/654/fdinfo': Permission denied
    
    find: `/media/1/proc/658/task/658/fd': Permission denied
    
    find: `/media/1/proc/658/task/658/fdinfo': Permission denied
    
    find: `/media/1/proc/658/fd': Permission denied
    
    find: `/media/1/proc/658/fdinfo': Permission denied
    
    find: `/media/1/proc/740/task/740/fd': Permission denied
    
    find: `/media/1/proc/740/task/740/fdinfo': Permission denied
    
    find: `/media/1/proc/740/fd': Permission denied
    
    find: `/media/1/proc/740/fdinfo': Permission denied
    
    find: `/media/1/proc/906/task/906/fd': Permission denied
    
    find: `/media/1/proc/906/task/906/fdinfo': Permission denied
    
    find: `/media/1/proc/906/fd': Permission denied
    
    find: `/media/1/proc/906/fdinfo': Permission denied
    
    find: `/media/1/proc/910/task/910/fd': Permission denied
    
    find: `/media/1/proc/910/task/910/fdinfo': Permission denied
    
    find: `/media/1/proc/910/task/912/fd': Permission denied
    
    find: `/media/1/proc/910/task/912/fdinfo': Permission denied
    
    find: `/media/1/proc/910/fd': Permission denied
    
    find: `/media/1/proc/910/fdinfo': Permission denied
    
    find: `/media/1/proc/911/task/911/fd': Permission denied
    
    find: `/media/1/proc/911/task/911/fdinfo': Permission denied
    
    find: `/media/1/proc/911/fd': Permission denied
    
    find: `/media/1/proc/911/fdinfo': Permission denied
    
    find: `/media/1/proc/916/task/916/fd': Permission denied
    
    find: `/media/1/proc/916/task/916/fdinfo': Permission denied
    
    find: `/media/1/proc/916/fd': Permission denied
    
    find: `/media/1/proc/916/fdinfo': Permission denied
    
    find: `/media/1/proc/918/task/918/fd': Permission denied
    
    find: `/media/1/proc/918/task/918/fdinfo': Permission denied
    
    find: `/media/1/proc/918/fd': Permission denied
    
    find: `/media/1/proc/918/fdinfo': Permission denied
    
    find: `/media/1/proc/919/task/919/fd': Permission denied
    
    find: `/media/1/proc/919/task/919/fdinfo': Permission denied
    
    find: `/media/1/proc/919/fd': Permission denied
    
    find: `/media/1/proc/919/fdinfo': Permission denied
    
    find: `/media/1/proc/926/task/926/fd': Permission denied
    
    find: `/media/1/proc/926/task/926/fdinfo': Permission denied
    
    find: `/media/1/proc/926/fd': Permission denied
    
    find: `/media/1/proc/926/fdinfo': Permission denied
    
    find: `/media/1/proc/973/task/973/fd': Permission denied
    
    find: `/media/1/proc/973/task/973/fdinfo': Permission denied
    
    find: `/media/1/proc/973/fd': Permission denied
    
    find: `/media/1/proc/973/fdinfo': Permission denied
    
    find: `/media/1/proc/1001/task/1001/fd': Permission denied
    
    find: `/media/1/proc/1001/task/1001/fdinfo': Permission denied
    
    find: `/media/1/proc/1001/fd': Permission denied
    
    find: `/media/1/proc/1001/fdinfo': Permission denied
    
    find: `/media/1/proc/1013/task/1013/fd': Permission denied
    
    find: `/media/1/proc/1013/task/1013/fdinfo': Permission denied
    
    find: `/media/1/proc/1013/fd': Permission denied
    
    find: `/media/1/proc/1013/fdinfo': Permission denied
    
    find: `/media/1/proc/1016/task/1016/fd': Permission denied
    
    find: `/media/1/proc/1016/task/1016/fdinfo': Permission denied
    
    find: `/media/1/proc/1016/fd': Permission denied
    
    find: `/media/1/proc/1016/fdinfo': Permission denied
    
    find: `/media/1/proc/1049/task/1049/fd': Permission denied
    
    find: `/media/1/proc/1049/task/1049/fdinfo': Permission denied
    
    find: `/media/1/proc/1049/fd': Permission denied
    
    find: `/media/1/proc/1049/fdinfo': Permission denied
    
    find: `/media/1/proc/1050/task/1050/fd': Permission denied
    
    find: `/media/1/proc/1050/task/1050/fdinfo': Permission denied
    
    find: `/media/1/proc/1050/fd': Permission denied
    
    find: `/media/1/proc/1050/fdinfo': Permission denied
    
    find: `/media/1/proc/1051/task/1051/fd': Permission denied
    
    find: `/media/1/proc/1051/task/1051/fdinfo': Permission denied
    
    find: `/media/1/proc/1051/fd': Permission denied
    
    find: `/media/1/proc/1051/fdinfo': Permission denied
    
    find: `/media/1/proc/1054/task/1054/fd': Permission denied
    
    find: `/media/1/proc/1054/task/1054/fdinfo': Permission denied
    
    find: `/media/1/proc/1054/fd': Permission denied
    
    find: `/media/1/proc/1054/fdinfo': Permission denied
    
    find: `/media/1/proc/1086/task/1086/fd': Permission denied
    
    find: `/media/1/proc/1086/task/1086/fdinfo': Permission denied
    
    find: `/media/1/proc/1086/fd': Permission denied
    
    find: `/media/1/proc/1086/fdinfo': Permission denied
    
    find: `/media/1/proc/1107/task/1107/fd': Permission denied
    
    find: `/media/1/proc/1107/task/1107/fdinfo': Permission denied
    
    find: `/media/1/proc/1107/fd': Permission denied
    
    find: `/media/1/proc/1107/fdinfo': Permission denied
    
    find: `/media/1/proc/1465/task/1465/fd': Permission denied
    
    find: `/media/1/proc/1465/task/1465/fdinfo': Permission denied
    
    find: `/media/1/proc/1465/fd': Permission denied
    
    find: `/media/1/proc/1465/fdinfo': Permission denied
    
    find: `/media/1/proc/1466/task/1466/fd': Permission denied
    
    find: `/media/1/proc/1466/task/1466/fdinfo': Permission denied
    
    find: `/media/1/proc/1466/fd': Permission denied
    
    find: `/media/1/proc/1466/fdinfo': Permission denied
    
    find: `/media/1/proc/1634/task/1634/fd': Permission denied
    
    find: `/media/1/proc/1634/task/1634/fdinfo': Permission denied
    
    find: `/media/1/proc/1634/fd': Permission denied
    
    find: `/media/1/proc/1634/fdinfo': Permission denied
    
    find: `/media/1/proc/1704/task/1704/fd': Permission denied
    
    find: `/media/1/proc/1704/task/1704/fdinfo': Permission denied
    
    find: `/media/1/proc/1704/fd': Permission denied
    
    find: `/media/1/proc/1704/fdinfo': Permission denied
    
    find: `/media/1/proc/2072/task/2072/fd': Permission denied
    
    find: `/media/1/proc/2072/task/2072/fdinfo': Permission denied
    
    find: `/media/1/proc/2072/fd': Permission denied
    
    find: `/media/1/proc/2072/fdinfo': Permission denied
    
    find: `/media/1/proc/2098/task/2098/fd': Permission denied
    
    find: `/media/1/proc/2098/task/2098/fdinfo': Permission denied
    
    find: `/media/1/proc/2098/fd': Permission denied
    
    find: `/media/1/proc/2098/fdinfo': Permission denied
    
    find: `/media/1/proc/2653/task/2653/fd': Permission denied
    
    find: `/media/1/proc/2653/task/2653/fdinfo': Permission denied
    
    find: `/media/1/proc/2653/fd': Permission denied
    
    find: `/media/1/proc/2653/fdinfo': Permission denied
    
    find: `/media/1/root': Permission denied
    
    find: `/media/1/lost+found': Permission denied
    
    find: `/media/1/tmp/fam-root': Permission denied
    
    find: `/media/1/pandora/appdata/1/.wh..wh.orph': Permission denied
    
    find: `/media/1/pandora/appdata/1/.wh..wh.plnk': Permission denied
    
    find: `/media/1/pandora/appdata/firefox/.wh..wh.plnk': Permission denied
    
    find: `/media/1/pandora/appdata/PanDebian-1-18941/.wh..wh.orph': Permission denied
    
    find: `/media/1/pandora/appdata/PanDebian-1-18941/.wh..wh.plnk': Permission denied
    
    find: `/media/1/var/lib/polkit-1': Permission denied
    
    find: `/media/1/var/lib/sudo': Permission denied
    
    find: `/media/1/var/spool/cron/crontabs': Permission denied
    
    find: `/media/1/var/cache/ldconfig': Permission denied
    
    find: `/media/2/.Trash-0': Permission denied
    
    find: `/media/2/pandora/appdata/pcsx_rearmed/.wh..wh.plnk': Permission denied
    
    find: `/media/2/pandora/appdata/frogatto/.wh..wh.plnk': Permission denied
    
    find: `/media/2/pandora/appdata/elemental/.wh..wh.plnk': Permission denied
    
    find: `/media/2/pandora/appdata/java/.wh..wh.orph': Permission denied
    
    find: `/media/2/pandora/appdata/prisonbreak/.wh..wh.plnk': Permission denied
    
    find: `/media/2/pandora/appdata/snes9x.skeezix.alpha/.wh..wh.orph': Permission denied
    
    find: `/media/2/pandora/appdata/gemrb/.wh..wh.plnk': Permission denied
    
    find: `/media/2/pandora/appdata/pyskool/.wh..wh.plnk': Permission denied
    
    find: `/media/2/pandora/appdata/simh.cosam.3.8.0.0/.wh..wh.plnk': Permission denied
    
    Found /media/2/pandora/menu/java.pnd
    
    [SUCCESS]--- Starting the application (instjava.sh ) ----------
    
    [ START ]--- Restoring the frame buffer status ----------
    
    [SUCCESS]--- Restoring the frame buffer status ----------
    
    [ START ]--- uMount the PND ----------
    
    [ START ]--- Waiting the Union to be available ----------
    
    [SUCCESS]--- Waiting the Union to be available ----------
    
    rmdir: failed to remove `/mnt/utmp/java': Device or resource busy
    
    [ START ]--- Waiting the PND mount dir to be free ----------
    
    [SUCCESS]--- Waiting the PND mount dir to be free ----------
    
    cleanup done
    
    [SUCCESS]--- uMount the PND ----------
    
    =======================================================================================
    
    Return code is : 1
    
    
     
  7. DaMummy

    DaMummy Soldier Paste

    Joined:
    Nov 5, 2009
    Messages:
    4,417
    Location:
    Ohio
    insert .out file here
    please
     
    Last edited by a moderator: Oct 21, 2011
  8. Emnasut

    Emnasut Member

    Joined:
    Apr 26, 2010
    Messages:
    357
    It's still working for me after I updated to HF6 via the .pnd, does the script only change when doing a full flash?
     
  9. WizardStan

    WizardStan Mega GP Mania

    Joined:
    May 24, 2008
    Messages:
    16,696
    I've gone and updated the java.pnd, uploading it to the repo all nice and official like. Eventually... it's still uploading... slowly.


    Fixes the install so you can use it again after a fresh install. Made sure it was backwards compatible with older hotfixes too.


    New is a "Run JAR file" under Accessories menu that will pop up a file select dialog allowing you to choose a .JAR file to run (duh).


    I've made that "Run JAR file" the first application in the PND, and designed it to also accept a filename argument instead of file selection, so in theory the PND can be associated with .JAR files and it'll "just work", but it might be easier to run the javainstall and then associate .jar files with /usr/bin/java. I'd have done it in the install itself, but I can't figure out how to automatically change mime types and associations. I barely remember figuring out how to do it manually once.


    Anywho, suggestions welcome.
     
  10. lomaxx

    lomaxx Active Member

    Joined:
    Aug 22, 2010
    Messages:
    682
    There is a problem with PNDs that start java in there startscript. I just stumbled over this when trying nightvision.pnd:


    - the pnd is run


    - with HF6 the HOME-variable is changed


    - the pnd-startscript is run which calls "java -jar <java-program-name>"


    - /usr/bin/java is executed which looks for ~/.javapnd


    However ~.javapnd is not found as the HOME-variable is set to the appdata-directory of the pnd.


    Solution: Do not search for "~/.javapnd", but for "/home/$(cat /tmp/currentuser)/.javapnd" or use a different location (like /etc/javapnd) or a different mechanism (like 'egrep -oh "\"/.*//java.pnd\"" /usr/share/applications/* | uniq' , maybe not bulletproof, but on the other hand finds the pnd even if the location has changed)


    Also i noticed a typo in /usr/bin/java: " Please rerun the install pro(g)ram."
     
    Last edited by a moderator: Nov 13, 2011
  11. WizardStan

    WizardStan Mega GP Mania

    Joined:
    May 24, 2008
    Messages:
    16,696
    Oh, I see. It worked in testing as I was just running java on the command line. Hadn't considered PNDs that use it might already have changed the variable.


    It's an even easier fix than you propose: just use $REAL_HOME which is set by run_pnd.


    I'm working on something right now but will have a new PND up tonight.
     
  12. lomaxx

    lomaxx Active Member

    Joined:
    Aug 22, 2010
    Messages:
    682
    About mime-configuration. I am not very experienced in this topic, but i fiddled around with this topic during the last hours and found a way that seems to work. I want to stress that i am not sure if this is a recommended, clean way of doing this.


    I tried what happens to mp3-files when i double-click them and noticed that gnome-mplayer launches. After some searching i found out that this is because in the file /usr/share/applications/gnome-mplayer.desktop some mime-filetypes are assigned. So i thought that the solution would be to create an own desktop-file for java that is not visible in the start-menu but assigns the proper mime-handling. I created the following file as root:


    /usr/share/applications/jar-mime.desktop:



    Code:
    
    [Desktop Entry]
    
    Version=1.0
    
    Name=Jar-Mime-Dummie
    
    Comment=File for handling Mime-Configuration
    
    Exec=/usr/bin/java -jar %f
    
    NoDisplay=true
    
    StartupNotify=true
    
    Terminal=false
    
    Type=Application
    
    MimeType=application/x-java-archive;application/x-jar;
    
    

    And it seems to work nicely. Double-clicking a ".jar"-file within Thunar makes it start when this file exists. "NoDisplay=true" prevents a menu-entry from being created. So it should work to pack your pnd with such a desktop-file and copy it over to /usr/share/applications/ on installation.
     
  13. WizardStan

    WizardStan Mega GP Mania

    Joined:
    May 24, 2008
    Messages:
    16,696
    I'm uploading the new PND with the fixed HOME stuff for now and will look into the mime configuration tomorrow. Thanks for that. I was in the middle of uploading when the server went all broken else I'd probably have seen your post and taken the time to fix it earlier.


    I spent most of today trying to get the icedtea-web Mozilla plugin to compile. I'm having difficulty getting XULRunner library to compile for the Pandora. I don't think it's ever been done, at least I can't find any indication that it has been.
     
  14. peelie

    peelie Member

    Joined:
    Apr 6, 2007
    Messages:
    887

    Attached Files:

    Last edited by a moderator: Jan 7, 2012
  15. fredg999

    fredg999 Still Fresh

    Joined:
    Jun 9, 2011
    Messages:
    56
    Location:
    Quebec, Canada
    If anyone goes to FOSDEM on February 5th and does not assist to the Pandora talk (!), there is another talk about OpenJDK on ARM at about the same time (starts a bit before and ends a bit after), I guess there can be some interesting stuff there seeing the Pandora uses an ARM chip.


    http://fosdem.org/2012/schedule/event/openjdk_on_arm
     
  16. jontheramer

    jontheramer Still Fresh

    Joined:
    Jul 3, 2012
    Messages:
    39
    I am new to the Pandora (just received mine with the mail); I have java.pnd on an SD card (installing from the GUI gives a Permission Denied error); running pnd_run always starts the Java Uninstall. Is there are 'manual' of how I can use this?


    Thanks


    Edit: ok, decided to tinker around a bit:


    mount -o loop java.pnd /mnt/java


    works


    /mnt/java


    ./instjava.sh


    too


    umount /mnt/java


    After that Java works, but it always says, when running:


    auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device


    rmdir: failed to remove '/mnt/utmp/java': Device or resource busy


    What is that? Is that because of my weird way of installing or ?
     
    Last edited by a moderator: Jul 11, 2012
  17. sebt3

    sebt3 homebrew player (P. & C.)

    Joined:
    Sep 9, 2008
    Messages:
    4,747
    Location:
    France
    these are "normal" pnd errors yould get from any PND
     
  18. jontheramer

    jontheramer Still Fresh

    Joined:
    Jul 3, 2012
    Messages:
    39
    Ah, Any way to prevent them, is it because of the loop mount of a PND? So maybe if I unpack and set everything it won't do that?
     
  19. WizardStan

    WizardStan Mega GP Mania

    Joined:
    May 24, 2008
    Messages:
    16,696
    I've made an update to the pnd: http://rebirthofxeen.com/files/pandora/java.pnd


    Now first thing the install asks is if you'd like to use the Oracle Java or the Open Java. Open JDK is simple to use, no additional work required. Getting the Oracle JDK installed is... a little trickier. Due to licensing restrictions I can't just include it, the user needs to download it themselves.


    Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html and choose "Previous Releases". Unless they've made an update to the ARM release since I posted this, it is only available from Java Release 7 update 6 (if you just go straight for latest, that is update 7 (or later, depending on when this is read) and may not have an ARM version)


    So you get to the download page, find the 7u6 Linux ARM release, download it, extract the tar.gz into your pandora/appdata/java directory on your SD card, and rename the resulting "jdk1.7.0_06" to simply "jre". It will complain about not being able to extract some files which are symlinks. That shouldn't be a problem, I hope.


    So here you go. Suggestions on how to make the "install" process better are welcome. Test known jar files. Test PND'd up java applications.


    Once installed, switching between Oracle and OpenJDK is pretty easy: "touch ~/.useopenjdk" to use OpenJDK, "rm ~/.useopenjdk" to go back to Oracle. Or use the installer again, it does that for you, but a little command line work is probably faster.
     
  20. Linux-SWAT

    Linux-SWAT Hardcore Member

    Joined:
    Feb 13, 2010
    Messages:
    8,195
    I'm not sure the oracle ARM jdk is a... jdk. Seems more a jre ?
     

Share This Page

Loading...