Questions tagged [jep]

JEPs (Java Enhancement Proposals) are official efforts to expand the JDK by introducing nontrivial changes to the code-base. These are well formatted feature design documents recorded by the openJDK community.

27 questions
1
vote
1 answer

How to use other python modules with jep?

I've set up a jep project within IntelliJ-IDEA, and keep getting this error when I run my code: Exception in thread "main" jep.JepException: : No module named 'spacy' at…
weisbeym
  • 11
  • 7
1
vote
2 answers

Cannot see print and println statements in Eclipse using JEP/Pydev

I'm learning JEP and PyDev plugin eclipse and new to Python. I cannot see my python print and java println statements on Eclipse console tab. As I'm just trying things out I create a simple python script by creating a new PyDev module and it just…
1
vote
1 answer

JVM crashes with ArrayIndexOutOfBoundsException because of Native Code

I have a JSP program where I'm trying to load checkboxes dynamically by using columns from a xls for which I'm using a native library called JEP to use Python to get the data.I know I can use something like ApachePOI to do the same but I need to…
0
votes
0 answers

How does the hotspot VM handle the CMF(concurrent mode failure)?

I'm implementing a GC algorithm for HotSpot these days. My GC algorithm is concurrent. As we all know, CMF may be occurred when doing GC. I just know that concurrent GCs will cause a Serial Old GC to handle CMF. Is this operation should be…
0
votes
0 answers

How to add JEP a java project using gradle?

I'm making a java application that needs to execute python scripts in runtime. I started by using Jython, but now I need to use CPython libraries, so I'm experimenting with JEP. I've installed JEP using the command pip install jep and I've added jep…
0
votes
0 answers

SciPy gives EXCEPTION_ACCESS_VIOLATION

I'm doing a calculator app design. Uses Java, Python, JEP. After calling the code below, it gets EXCEPTION_ACCESS_VIOLATION. This error is caused by importing the scipy library. anyone know how to fix it? public void analyticalMethod() { …
Kola
  • 1
  • 1
0
votes
2 answers

Embedded Python in Java / Coldfusion?

I've been trying to excute a Python script from Java or Coldfusion framework (which runs on a JVM), The most documented solution is Jython but it only runs on Python 2.7 which is a problem because I need to use some librairies that runs only on…
Klodovsky
  • 21
  • 2
0
votes
1 answer

Hit "Fatal Python error" while creating JEP SubInterpreter in Java

I got the following error while creating JEP SubInterpreter in Java on Windows 10: Fatal Python error: init_sys_streams: can't initialize sys standard streams Python runtime state: core initialized OSError: [WinError 6] The handle is invalid And…
0
votes
1 answer

Can Valhalla's Value Objects hold generic types and flatten them in case they are primitive types?

Will JEP 169: Value Objects and JEP 218: Generics over Primitive Types specifications work together? Or better, is the following scenario possible? @jvm.internal.value.ValueCapableClass final class Tuple { private final T1 t1; …
payloc91
  • 3,724
  • 1
  • 17
  • 45
-1
votes
1 answer

How to add JEP library in Eclipse to validate the formula?

I have downloaded the trial version of ZEP library from http://www.singularsys.com/jep/download-trial.php and extracted it, but now i need you help to add this in the IDE (eclipse) to use it what is the process to start using the JEP library to…
Tushar
  • 13
  • 5
-1
votes
1 answer

Is there a JEP for Optional?

I like to learn about Java's features by taking a look at the corresponding JEP. Is there a JEP for Java's Optional? I wasn't able to find anything searching this list for Java 8 features.
nistel
  • 113
  • 7
-1
votes
1 answer

JEP 12: Preview Language and VM Features - possible usage testimony

I bumped into JEP 12 searching for JDK 12 and was intrigued. Summary: A preview language or VM feature is a new feature of the Java SE Platform that is fully specified, fully implemented, and yet impermanent. It is available in a JDK feature…
Rann Lifshitz
  • 4,040
  • 4
  • 22
  • 42
1
2