[ 
https://issues.apache.org/jira/browse/CASSANDRA-16664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17457858#comment-17457858
 ] 

Manish Ghildiyal edited comment on CASSANDRA-16664 at 12/12/21, 8:45 AM:
-------------------------------------------------------------------------

I cloned git repository, and when I try to run ant build command(following 
[this|https://cassandra.apache.org/_/development/ide.html]) I get error:

(I have Java 11 on my mac, so I run command as)

*ant -Duse.jdk11=true*

logs:

*Buildfile: ...../cassandra/apache-cassandra/cassandra/build.xml*
*Java 15 has removed Nashorn, you must provide an engine for running JavaScript 
yourself. GraalVM JavaScript currently is the preferred option.*

*BUILD FAILED*
*..../cassandra/apache-cassandra/cassandra/build.xml:152: Unable to create 
javax script engine for javascript*

 

Note:

So I commented <script language="javascript"> part of build.xml. But now I get 
compilation errors related to:

*error: package jdk.nashorn.api.scripting does not exist*

 

 

 


was (Author: [email protected]):
I cloned git repository, and when I try to run ant build command(following 
[this|https://cassandra.apache.org/_/development/ide.html]) I get error:

I have Java 11 on my mac, so I run command as:

*ant -Duse.jdk11=true*


*Buildfile: ...../cassandra/apache-cassandra/cassandra/build.xml*
*Java 15 has removed Nashorn, you must provide an engine for running JavaScript 
yourself. GraalVM JavaScript currently is the preferred option.*

*BUILD FAILED*
*..../cassandra/apache-cassandra/cassandra/build.xml:152: Unable to create 
javax script engine for javascript*

 

Note:

So I commented <script language="javascript"> part of build.xml. But now I get 
compilation errors related to:

*error: package jdk.nashorn.api.scripting does not exist*

 

 

 

> Log JVM Arguments at in-JVM Test Class Initialization
> -----------------------------------------------------
>
>                 Key: CASSANDRA-16664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16664
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Test/dtest/java
>            Reporter: Caleb Rackliffe
>            Assignee: Manish Ghildiyal
>            Priority: Normal
>              Labels: AdventCalendar2021, lhf
>             Fix For: 4.0.x, 4.x
>
>
> Normal C* startup flows through {{CassandraDaemon.setup()}}, which calls 
> {{logSystemInfo()}}, logging JVM arguments and a number of other useful bits 
> of information. The in-JVM dtest startup does not flow through 
> {{CassandraDaemon.setup()}}, and therefore does not. It would be useful for 
> troubleshooting purposes if {{TestBaseImpl}} logged the JVM arguments before 
> moving into executing tests.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to