Advertisement
BaSs_HaXoR

Current Java PS3lib error (11/13/14)

Nov 13th, 2014
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.88 KB | None | 0 0
  1. //http://prntscr.com/564jwg
  2. //===========================================================================================================
  3. import net.sf.jni4net.Bridge;
  4. import system.io.IOException;
  5. import java.io.File;
  6. import ps3lib.CCAPI;
  7. import ps3lib.SelectAPI;
  8. import ps3lib.Extension;
  9. import ps3lib.PS3API;
  10. import ps3lib.ArrayBuilder;
  11. import ps3lib.EndianType;
  12. import ps3lib.Lang;
  13. import ps3lib.EndianType;
  14. public class JavamyPS3 {
  15.     /**
  16.      * @param args
  17.      */
  18.     public static void main(String[] args) {
  19.         try
  20.         {
  21.         //  System.load("C:/Development/DEV/ass/JavPs3/src/ps3lib/PS3Lib.j4n.dll");
  22.             Bridge.setVerbose(true);
  23.             Bridge.init();
  24.             Bridge.LoadAndRegisterAssemblyFrom(new File("C:/Development/DEV/ass/JavPs3/src/PS3Lib.j4n.dll"));
  25.        
  26.         //DECLARED CCAPI CLASS>//
  27.         ps3lib.PS3API ps3 = new ps3lib.PS3API(null);
  28.         //DECLARED CCAPI CLASS>//
  29.        
  30.         //ps3.ConnectTarget("192.168.137.100");
  31.         //ps3.GetDllVersion();
  32.         //ps3.Notify(1, "Hello!");
  33.         }
  34.        
  35. // TODO Auto-generated method stub
  36.  catch (java.io.IOException e) {
  37.             // TODO Auto-generated catch block
  38.             e.printStackTrace();
  39.         }
  40.     }
  41.  
  42. }
  43.  
  44. /*===========================================================================================================
  45. COMPILATION:
  46. //With using ps3lib.CCAPI ccapi = new CCAPI(); //CCAPI Class DECLARATION
  47. ===========================================================================================================
  48.  
  49. loading core from C:/Users/BaSs_HaXoR/Desktop/JNIFORNET/lib/jni4net.n-0.8.8.0.dll
  50. loading jni4net.n-0.8.8.0, Version=0.8.8.0, Culture=neutral, PublicKeyToken=134a23405600bab4 from C:\Users\BaSs_HaXoR\Desktop\JNIFORNET\lib\jni4net.n-0.8.8.0.dll
  51. loaded jni4net.n-0.8.8.0, Version=0.8.8.0, Culture=neutral, PublicKeyToken=134a23405600bab4 from C:\Users\BaSs_HaXoR\Desktop\JNIFORNET\lib\jni4net.n-0.8.8.0.dll
  52. Initialized jni4net core
  53. core loaded from C:/Users/BaSs_HaXoR/Desktop/JNIFORNET/lib/jni4net.n-0.8.8.0.dll
  54. clr.version         :v4.0.30319
  55. clr.arch            :64bit
  56. java.home           :C:\Program Files\Java\jre7
  57. java.version        :1.7.0_45
  58. sun.arch.data.model :64
  59. loading PS3Lib.j4n, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null from C:\Development\DEV\ass\JavPs3\src\PS3Lib.j4n.dll
  60. loaded PS3Lib.j4n, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null from C:\Development\DEV\ass\JavPs3\src\PS3Lib.j4n.dll
  61. Exception in thread "main" java.lang.UnsatisfiedLinkError: ps3lib.CCAPI.__ctorCCAPI0(Lnet/sf/jni4net/inj/IClrProxy;)V
  62.     at ps3lib.CCAPI.__ctorCCAPI0(Native Method)
  63.     at ps3lib.CCAPI.<init>(CCAPI.java:25)
  64.     at JavamyPS3.main(JavamyPS3.java:25)
  65.  
  66. ===========================================================================================================
  67. //Without using ps3lib.CCAPI ccapi = new CCAPI(); //NO CCAPI Class DECLARATION
  68. ===========================================================================================================
  69. loading core from C:/Users/BaSs_HaXoR/Desktop/JNIFORNET/lib/jni4net.n-0.8.8.0.dll
  70. loading jni4net.n-0.8.8.0, Version=0.8.8.0, Culture=neutral, PublicKeyToken=134a23405600bab4 from C:\Users\BaSs_HaXoR\Desktop\JNIFORNET\lib\jni4net.n-0.8.8.0.dll
  71. loaded jni4net.n-0.8.8.0, Version=0.8.8.0, Culture=neutral, PublicKeyToken=134a23405600bab4 from C:\Users\BaSs_HaXoR\Desktop\JNIFORNET\lib\jni4net.n-0.8.8.0.dll
  72. Initialized jni4net core
  73. core loaded from C:/Users/BaSs_HaXoR/Desktop/JNIFORNET/lib/jni4net.n-0.8.8.0.dll
  74. clr.version         :v4.0.30319
  75. clr.arch            :64bit
  76. java.home           :C:\Program Files\Java\jre7
  77. java.version        :1.7.0_45
  78. sun.arch.data.model :64
  79. loading PS3Lib.j4n, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null from C:\Development\DEV\ass\JavPs3\src\PS3Lib.j4n.dll
  80. loaded PS3Lib.j4n, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null from C:\Development\DEV\ass\JavPs3\src\PS3Lib.j4n.dll
  81.  
  82. ===========================================================================================================*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement