Hi,

I wonder how to best resolve this issue without the workaround...

Should we maybe consider upgrading to a newer Java version?

I have to read more about the problem when I find the time.


Best,


Peter

Am 07.04.2020 um 22:26 schrieb Marshall Schor:
> Hi,
>
> I tried also importing the Example project, and then doing an eclipse Run on 
> the
> Main script.
>
> It ran in java 8, and got that famous error in Java 13:
>
> java.lang.LayerInstantiationException: Package jdk.internal.jrtfs in both 
> module
> java.base and module jrt.fs
>
> This was a completely reproducable fault.
>
>
> A sort-of-work-around that worked for me was to change the command line to
> exclude a mystery parameter for the java command line which I couldn't find
> documented:  "-p C:\p\j\oracle13.0.2\lib\jrt-fs.jar".  Here's how I did it.
>
> Run the main, get the error.  Then go to Eclipse debug perspective, right- 
> click
> on the bottom terminated...  and pick properties, and copy the command line.
> Put into an editor, e.g. Windows "Notepad",
> change the top bit from:
>
> C:\p\j\oracle13.0.2\bin\javaw.exe -Dfile.encoding=Cp1252 -p
> C:\p\j\oracle13.0.2\lib\jrt-fs.jar -classpath
>
> to
>
> C:\p\j\oracle13.0.2\bin\java.exe -Dfile.encoding=Cp1252 -classpath ...
>
> (in other words, the key is to remove the "-p 
> C:\p\j\oracle13.0.2\lib\jrt-fs.jar)
>
> From what I read, this may be due to a conflict between the eclipse plugins
> being compiled with Java 8, and their use being in Java 13 environment.
>
> -Marshall
>
> On 4/7/2020 10:28 AM, Richard Eckart de Castilho wrote:
>> - compared SVN tag against source release (using Meld btw) - ok
>> - CLI build (Java 13.0.1) - ok
>> - Installing after installing UIMA plugins first - OK
>> - Importing example projects as "Existing projects" (not Maven) - OK (Imports
>> three projects)
>> - Spot check signature check - OK
>> - Running example script on OpenJDK 11 and 13 in Eclipse IDE: FAILS
>> - Running example script on OpenJDK 8 in Eclipse IDE: OK
>>
>> When you send out the release mail, you might care to add a note saying that
>> the Eclipse Tooling may not work with Java versions higher than 8.
>>
>> [x] +1 OK to release
>>
-- 
Dr. Peter Klügl
R&D Text Mining/Machine Learning

Averbis GmbH
Salzstr. 15
79098 Freiburg
Germany

Fon: +49 761 708 394 0
Fax: +49 761 708 394 10
Email: peter.klu...@averbis.com
Web: https://averbis.com

Headquarters: Freiburg im Breisgau
Register Court: Amtsgericht Freiburg im Breisgau, HRB 701080
Managing Directors: Dr. med. Philipp Daumke, Dr. Kornél Markó

Reply via email to