-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #192 from equinor/test2.4.15
Remove Java 8 library and update with new NeqSim lib
- Loading branch information
Showing
6 changed files
with
14 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import jpype | ||
|
||
if not jpype.isJVMStarted(): | ||
jvmVersion = jpype.getJVMVersion()[0] | ||
if jvmVersion <= 8: | ||
jpype.addClassPath('./lib/libj8/*') | ||
else: | ||
jpype.addClassPath('./lib/*') | ||
jpype.addClassPath('./lib/*') | ||
jpype.startJVM(convertStrings=False) | ||
jvmVersion = jpype.getJVMVersion()[0] | ||
if jvmVersion<=8: | ||
print('Your version of Java is not supported. Please upgrade to Java version 11 or higher.') | ||
print('See: https://github.com/equinor/neqsimpython#prerequisites') | ||
|
||
jNeqSim = jpype.JPackage('neqsim') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
|
||
setup( | ||
name="neqsim", | ||
version="2.4.14", | ||
version="2.4.15", | ||
author="Even Solbraa", | ||
author_email="[email protected]", | ||
description="NeqSim is a tool for thermodynamic and process calculations", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters