Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

error loading dll with java 1.5.0_06  RSS feed

anan svim
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have got 2 dlls which are exactly the same except for their preferred base address. The preferred base address for the first dll is 0x6A640000 and the base address for the second dll is 0x6D3C0000. When I try to load the first dll using system.loadlibrary() it works fine but doing so for the second dll causes a java.lang.UnsatisfiedLinkError: Invalid access to memory location

Both the dlls used to work with Java 1.4.2_06. Has something changed for the Java 1.5 library loader???
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!