Skip to content

trying to import jpype in AWS lambda function #1103

Discussion options

You must be logged in to vote

Hi @vigneshr3212
What is the lambda version you are using?
Error : jpype._jvmfinder.JVMNotFoundException: No JVM shared library file (jvm.dll) found. Try setting up the JAVA_HOME environment variable properly.
Resolution :

  • It was communicated to me that this was an issue with AWS
  • In an attempt to save space, the lambda python 3.8+ runtimes did not have JVM installed in them

So in order to make it work you'll have to write a code that will install the jvm and then use it or maybe use an instance with lambda python 3.7.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@vigneshr3212
Comment options

@GuptaNaman1998
Comment options

@vigneshr3212
Comment options

@GuptaNaman1998
Comment options

Answer selected by GuptaNaman1998
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants