Jump to content

Recommended Posts

Posted

Hello,

 

I've been having trouble running my Minecraft Forge mod through my IDE (Netbeans). I'm getting this error that it can't find the lwjgl library, and it's closing down because of this. I've searched the error up and read every solution, but nothing seems to work. D:

 

I tried putting this argument in the JVM section of Project Properties -> Manage Built-In Tasks -> Run:

 

  Quote
-Djava.library.path="Volumes\Roberts HD\Robert\Library\Application Support\minecraft\bin\natives"

 

That should direct the java.library.path to the location with the lwjgl jars, right? Is there anything to be done? Thanks. Keep in mind this only happens when attempting to run the mod inside the IDE.

 

  Quote
java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_55]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_55]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_55]

at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_55]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]

Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886) ~[?:1.7.0_55]

at java.lang.Runtime.loadLibrary0(Runtime.java:849) ~[?:1.7.0_55]

at java.lang.System.loadLibrary(System.java:1088) ~[?:1.7.0_55]

at org.lwjgl.Sys$1.run(Sys.java:73) ~[lwjgl-2.9.1-nightly-20131017.jar:?]

at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_55]

at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) ~[lwjgl-2.9.1-nightly-20131017.jar:?]

at org.lwjgl.Sys.loadLibrary(Sys.java:95) ~[lwjgl-2.9.1-nightly-20131017.jar:?]

at org.lwjgl.Sys.<clinit>(Sys.java:112) ~[lwjgl-2.9.1-nightly-20131017.jar:?]

at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2691) ~[Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:40) ~[Main.class:?]

... 6 more

Posted
  On 6/7/2014 at 1:16 AM, diesieben07 said:

build/natives as in

|
|__build
   |__natives

I'm still confused. D: Please go easy on me. :P

 

There is no "natives" folder in my forge directory whatsoever.

Posted
  On 6/7/2014 at 11:09 AM, diesieben07 said:

...

Go into your forge directory (where your build.gradle is).

Open the build folder.

Then open the natives folder. THAT FOLDER is where the natives are and where you need to point your IDE.

 

...

 

You don't seem to understand. There is no "natives" folder. :P

 

aed96b153a5104635c44f66658b63c86.png

 

5d16dd222044a37fe9300a051ba2a467.png

 

be27477d7b5302beaa99c3254529cff9.png

 

._.

Posted
  On 6/7/2014 at 1:37 PM, diesieben07 said:

Did you run setupDecompWorkspace?

 

Yes, I did. That's where I got all those folders from. Apart from the ability to run things, it all works fine.

Posted
  On 6/7/2014 at 2:06 PM, diesieben07 said:

Try running gradlew runClient. That should definitely set up the natives if it hasn't already.

If that doesn't work try starting from scratch. This all looks pretty weird to me and shouldn't happen.

 

I tried it, and this is what I got:

 

  Quote
iMac-5:forge Robert$ ./gradlew runClient

****************************

Powered By MCP:           

http://mcp.ocean-labs.de/ 

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn     

MCP Data version : unknown

****************************

:compileApiJava UP-TO-DATE

:processApiResources UP-TO-DATE

:apiClasses UP-TO-DATE

:sourceMainJava

:compileJava

warning: [options] bootstrap class path not set in conjunction with -source 1.6

1 warning

:processResources UP-TO-DATE

:classes

:jar

:runClient

[10:28:09] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[10:28:09] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[10:28:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

[10:28:09] [main/INFO] [FML]: Forge Mod Loader version 7.2.207.1110 for Minecraft 1.7.2 loading

[10:28:09] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.7.0_55, running on Mac OS X:x86_64:10.9.3, installed at /Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home/jre

[10:28:09] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

[10:28:09] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[10:28:09] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[10:28:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[10:28:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[10:28:09] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[10:28:09] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!

[10:28:10] [main/ERROR] [FML]: The minecraft jar file:/Volumes/Roberts%20HD/Robert/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1110/forgeSrc-1.7.2-10.12.1.1110.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!

[10:28:10] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!

[10:28:10] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/Volumes/Roberts%20HD/Robert/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1110/forgeSrc-1.7.2-10.12.1.1110.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it

[10:28:10] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[10:28:10] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[10:28:10] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[10:28:10] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[10:28:15] [main/ERROR] [LaunchWrapper]: Unable to launch

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_55]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_55]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_55]

at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_55]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]

Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886) ~[?:1.7.0_55]

at java.lang.Runtime.loadLibrary0(Runtime.java:849) ~[?:1.7.0_55]

at java.lang.System.loadLibrary(System.java:1088) ~[?:1.7.0_55]

at org.lwjgl.Sys$1.run(Sys.java:73) ~[lwjgl-2.9.1-nightly-20131017.jar:?]

at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_55]

at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) ~[lwjgl-2.9.1-nightly-20131017.jar:?]

at org.lwjgl.Sys.loadLibrary(Sys.java:95) ~[lwjgl-2.9.1-nightly-20131017.jar:?]

at org.lwjgl.Sys.<clinit>(Sys.java:112) ~[lwjgl-2.9.1-nightly-20131017.jar:?]

at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2691) ~[Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:40) ~[Main.class:?]

... 6 more

 

BUILD SUCCESSFUL

 

Total time: 33.381 secs

Posted
  On 6/7/2014 at 2:44 PM, diesieben07 said:

Very weird. Try setting up everything fresh.

 

Okay, so I downloaded a new version of Forge. I did cd <forge directory>, and then ./gradlew setupDecompWorkspace. After it was done building, I looked in build, and saw there was a natives directory (yay!). After launching NetBeans, opening the Forge grade project (using the Gradle plugin) and copying my packages over to the new project, I configured the command args for "Run", setting them to "runClient." I clicked "Run," and it launched! :D

 

But it was too good to be true. :( I closed it, did "Build and Clean," then "Run." To my surprise, I got the familiar error about libraries. I checked back in the build directory, and (gasp), the natives folder had vanished! So question: Is Build and Clean the culprit?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Maximize Savings With [acu639380] T e m u Promo Code $100 Off 2025 brings you unbeatable savings on T e m u , one of the most popular online shopping destinations. With the exclusive T e m u  Promo code (acu639380), you can unlock incredible discounts, including $100 off for new and existing users. Whether you’re a first-time shopper or a loyal customer, T e m u  ensures a seamless shopping experience with fast delivery, free shipping in 67 countries, and up to 90% off on a wide range of products. Why Choose T e m u ? T e m u  is a treasure trove of trending items at unbeatable prices. From fashion and beauty to electronics and home essentials, T e m u ’s vast collection caters to all your shopping needs. Here are some key features that make T e m u  stand out: Free shipping: Available in 67 countries. Unbeatable prices: Discounts up to 90% off. Fast delivery: Ensures your items arrive promptly. Exclusive Benefits of T e m u  Promo Code (acu639380) Using the T e m u  Promo code (acu639380) in 2025 can help you save more than ever before. Here’s a breakdown of the benefits: $100 Off for New Users: New shoppers can enjoy a flat $100 discount with the T e m u  first-time user Promo. $100 Off for Existing Users: Loyal customers can also take advantage of this substantial discount with the same code. 40% Extra Off: Apply the T e m u  Promo code (acu639380) to receive an additional 40% discount on selected products. $100 Promo Bundle: Get a $100 Promo bundle to maximize savings across multiple purchases. Free Gifts for New Users: First-time shoppers are rewarded with exclusive gifts. How to Redeem T e m u  Promo Code (acu639380) Redeeming your T e m u  Promo code (acu639380) is simple and straightforward: Visit the T e m u  website or app. Add your favorite items to your shopping cart. Enter the promo code (acu639380) at checkout. Watch the savings apply instantly! T e m u  Promos for 2025 This month is packed with incredible offers tailored for both new and existing users: For New Users: T e m u  Promo code (acu639380) $100 off: Enjoy a significant discount on your first order. T e m u  first-time user Promo: Unlock exclusive savings and free gifts. T e m u  discount code (acu639380) for 2025: Enhance your shopping experience with additional discounts. For Existing Users: T e m u  Promo code (acu639380) $100 off: Loyal customers can continue to enjoy massive savings. T e m u  Promo code (acu639380) 40% off: Apply this code for extra discounts on selected items. T e m u  Promo bundle: A $100 Promo bundle available for repeated use. Country-Specific T e m u  Promo Codes T e m u  offers regional discounts to ensure everyone can benefit from their amazing deals. Here’s how the T e m u  Promo code (acu639380) can be used worldwide: North America USA: $100 off your next purchase with T e m u  Promo code (acu639380). Canada: Enjoy a $100 discount using the same code. South America Mexico: Save 40% on selected items with T e m u  Promo code (acu639380). Brazil: Get exclusive 40% discounts on your shopping. Europe UK: Apply the T e m u  Promo code (acu639380) for $100 off. Germany: Take advantage of the $100 Promo bundle. Asia Japan: First-time users can use T e m u  new user Promo for $100 off. India: Use the Promo bundle for multiple savings. T e m u ’s New Offers in 2025 This month, T e m u  has introduced fresh deals to elevate your shopping experience. Enjoy free shipping, trending items at up to 90% off, and exclusive discounts with the T e m u  promo code (acu639380). Benefits of T e m u  Promos T e m u  Promos are designed to enhance your shopping experience. Here are the standout advantages: $100 Off: Ideal for significant savings, whether you’re a new or existing user. 40% Extra Discount: Perfect for those looking to stock up on essentials. Free Gifts: Specially curated for first-time shoppers. $100 Promo Bundle: Offers flexibility across multiple purchases. How T e m u  Makes Shopping Easy T e m u ’s user-friendly platform ensures a hassle-free shopping experience. With options like fast delivery, detailed product descriptions, and seamless payment methods, T e m u  is a one-stop shop for all your needs. FAQs about T e m u  Promo Code (acu639380) Can I combine multiple T e m u  Promo codes? No, only one Promo code can be used per transaction. However, the $100 Promo bundle can be split across multiple orders.  Is the T e m u  Promo code (acu639380) valid on all items? The code applies to a wide range of products but July exclude certain categories.  How often can I use the T e m u  Promo code (acu639380)? The usage frequency depends on the specific terms and conditions of each code. Final Thoughts T e m u  is setting new standards in online shopping with its incredible deals and discounts. With the T e m u  Promo code (acu639380), you can maximize your savings and enjoy a premium shopping experience. Whether you’re new to T e m u  or a returning customer, these offers ensure that every purchase is a win. Don’t wait—use the T e m u  promo code (acu639380) today and start saving big!
    • Typically—at least in my case—the broken datapack thing always turns out to be a broken mod. Someone else here might have a better answer for you than I do, but when that happens, I go through all my mods, disabling them one by one until I locate the culprit. It’s a headache, but it’s the only way I know how to do it.
    • Is there any mod for creating world templates for 1.20.1 forge, I found a fabric mod for such as purpose but can't seem to find one for forge. I know connector and forgeified fabric api exist but i'd prefer a forge mod to adding like 50 mods to my 200 mod modpack. Does anyone know of such a mod or is my only option using the fabric mod with connector?  
    • Please read the FAQ (https://forums.minecraftforge.net/topic/125488-rules-and-frequently-asked-questions-faq/) and post logs as described there to a site such as https://mclo.gs and post the link here.
    • I'm trying to play with the origins mod but even after adding it to the mod folder it doesn't show up in minecraft forge. I'm using 1.20.2 because that is the last update from the origins and I'm using the same version of forge.
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.