Comments (3)
Hey,
Even im getting same problem when i do something like this
import jpype
jpype.isThreadAttachedToJVM()
[1] 12696 segmentation fault (core dumped) python
Python version 2.7.3 and OS ubuntu 12.04
Thanks
from jpype.
Hi,
The exception is raised because no JVM has been started yet.
The following snippet should work:
import jpype
# Start the JVM first
jpype.startJVM(jpype.getDefaultJVMPath())
jpype.isThreadAttachedToJVM()
# Clean up
jpype.shutdownJVM()
from jpype.
closing this as invalid. See discussion in misja/python-boilerpipe#17
from jpype.
Related Issues (20)
- __eq__ for comparable should use equals()? HOT 5
- Intercept Java function calls HOT 3
- Access Java Enum .name() when a .name property is defined HOT 4
- JPype not implicity converting int to Java Integer for Java function call HOT 3
- use with Java making use of jogl, other native code. HOT 1
- Silent failure of jpype.startJVM when classpath is passed - RESOLVED HOT 4
- Load class error HOT 3
- No JVM shared library file (libjvm.so) found. Try setting up the JAVA_HOME environment variable properly. HOT 1
- Python 3.11 compatibility HOT 2
- CI runs only for JDK11? HOT 2
- JVM Crash when using a specific jar : cloudera HS2Driver (Hive), any versions HOT 2
- Failing to call a class that is compiled using JDK11 HOT 1
- No module named 'java.lang' HOT 1
- Segfault in JTerminate
- startJVM crashes Apple M1 HOT 7
- Rare crashes on interpreter exit HOT 1
- Support Python 3.12 HOT 7
- help(Class) doesn't work
- No module named 'java.lang' HOT 1
- startJVM throws EXCEPTION_ACCESS_VIOLATION on Windows 10 and 11 with jdk4py HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jpype.