Jump to content

External librairie isn't included into classpath


Blackout

Recommended Posts

Hi,

 

My mod need external jar files to work,

 

I added it, to my mod folder.

 

Console say :

[23:57:51 INFO]: Client> [23:57:51] [Client thread/INFO] [FML]: FML has found a non-mod file commons-codec-1.6.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
[23:57:51 INFO]: Client> [23:57:51] [Client thread/INFO] [FML]: FML has found a non-mod file commons-logging-1.1.3.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
[23:57:51 INFO]: Client> [23:57:51] [Client thread/INFO] [FML]: FML has found a non-mod file fluent-hc-4.3.3.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
[23:57:51 INFO]: Client> [23:57:51] [Client thread/INFO] [FML]: FML has found a non-mod file httpclient-4.3.3.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
[23:57:51 INFO]: Client> [23:57:51] [Client thread/INFO] [FML]: FML has found a non-mod file httpclient-cache-4.3.3.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
[23:57:51 INFO]: Client> [23:57:51] [Client thread/INFO] [FML]: FML has found a non-mod file httpcore-4.3.2.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
[23:57:51 INFO]: Client> [23:57:51] [Client thread/INFO] [FML]: FML has found a non-mod file httpmime-4.3.3.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.

 

But next, when I print the classpath, I get this :

/C:/Users/***/AppData/Roaming/.minecraft/libraries/net/minecraftforge/forge/1.7.2-10.12.0.1024/forge-1.7.2-10.12.0.1024.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/net/minecraft/launchwrapper/1.9/launchwrapper-1.9.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/org/ow2/asm/asm-all/4.1/asm-all-4.1.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/org/scala-lang/scala-library/2.10.2/scala-library-2.10.2.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/org/scala-lang/scala-compiler/2.10.2/scala-compiler-2.10.2.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/java3d/vecmath/1.3.1/vecmath-1.3.1.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/lzma/lzma/0.0.1/lzma-0.0.1.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/io/netty/netty-all/4.0.10.Final/netty-all-4.0.10.Final.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/com/google/guava/guava/15.0/guava-15.0.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/com/mojang/authlib/1.3/authlib-1.3.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.0/lwjgl-2.9.0.jar
/C:/Users/***/AppData/Roaming/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.0/lwjgl_util-2.9.0.jar
/C:/Users/***/AppData/Roaming/.minecraft/versions/1.7.2-Forge10.12.0.1024/1.7.2-Forge10.12.0.1024.jar
/C:/Users/***/AppData/Roaming/.minecraft/mods/OptiFine_1.7.2_HD_U_C2.jar
/C:/Users/***/AppData/Roaming/.minecraft/mods/ShadersModCore-v2.3.4-mc1.7.2-f1019.jar

 

So they aren't into the classpath ! *_*

Is this a bug ? Anyone can help me ?

Thanks

 

Link to comment
Share on other sites

The files are loaded to your mods directory. FML uses a custom classloader to load these files. You do not need them in the classpath, they're perfectly fine in the mods folder.

Read the EAQ before posting! OR ELSE!

 

This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Link to comment
Share on other sites

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



×
×
  • Create New...

Important Information

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