Resolved [Windows] 32bit JDK is required

Discussion in 'Developer Support' started by SlashnHax, Feb 14, 2016.

  1. From a fresh install, just the 32bit JRE won't work. You need to install the 32bit JDK.
    I was getting these errors, until I installed the JDK:
    Code (Text):
    1. java.lang.UnsatisfiedLinkError: no attach in java.library.path
    2. at java.lang.ClassLoader.loadLibrary(Unknown Source)
    3. at java.lang.Runtime.loadLibrary0(Unknown Source)
    4. at java.lang.System.loadLibrary(Unknown Source)
    5. at<clinit>(xo:165)
    6. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    7. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    8. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    9. at java.lang.reflect.Constructor.newInstance(Unknown Source)
    10. at java.lang.Class.newInstance(Unknown Source)
    11. at nul.IIiIiIiIIIII.enum(nic:99)
    12. at nul.IIiIiIiIIIII.enum(nic:47)
    13. at nul.iiIIIIiIiIiI.initialize(gvb:205)
    14. at javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
    15. at javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
    16. at javafx.fxml.FXMLLoader.load(Unknown Source)
    17. at nul.IIiIIiiIiiII.enum(um:177)
    18. at nul.IIiIIiiIiiII.enum(um:47)
    19. at nul.iiIIIIiIiIiI.<init>(gvb:211)
    20. at nul.iiIIIIiIiIiI.<init>(gvb:201)
    21. at nul.iIiiiIiiiIIi.enum(bpb:168)
    22. at nul.iIiIIIiIiIII.enum(vsb:15491)
    23. at
    24. at javafx.concurrent.Task$ Source)
    25. at Source)
    26. at Source)
    27. The file selected as the local bot directory is not a folder.
    28. java.lang.NoClassDefFoundError: Could not initialize class
    29. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    30. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    31. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    32. at java.lang.reflect.Constructor.newInstance(Unknown Source)
    33. at java.lang.Class.newInstance(Unknown Source)
    34. at nul.IIiIiIiIIIII.enum(nic:99)
    35. at nul.IIiIiIiIIIII.enum(nic:47)
    36. at nul.iiIIIIiIiIiI.initialize(gvb:205)
    37. at javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
    38. at javafx.fxml.FXMLLoader.loadImpl(Unknown Source)
    39. at javafx.fxml.FXMLLoader.load(Unknown Source)
    40. at nul.IIiIIiiIiiII.enum(um:177)
    41. at nul.IIiIIiiIiiII.enum(um:47)
    42. at nul.iiIIIIiIiIiI.<init>(gvb:211)
    43. at nul.iiIIIIiIiIiI.<init>(gvb:201)
    44. at nul.iIiiiIiiiIIi.enum(bpb:168)
    45. at nul.iIiIIIiIiIII.enum(vsb:15491)
    46. at
    47. at javafx.concurrent.Task$ Source)
    48. at Source)
    49. at Source)
    Having the 64bit JDK and the 32bit JRE won't work, you specifically need the 32bit JDK, which I assume adds the needed packages or something.

  2. Best Answer:
    Post #3 by Arbiter, Apr 6, 2016
  3. The library attach.dll needs to be on the classpath of the active JRE. We manually add the jar to the folder that Jagex's official JRE uses for the classpath. The theoretical "fix" for this is to include attach.dll in the classpath folder of whatever JRE's are detected as not having it.
  4. Should be resolved by a recent compatibility update.

Share This Page