Github user alexishuf commented on a diff in the pull request:

    https://github.com/apache/jena/pull/218#discussion_r103085413
  
    --- Diff: jena-core/src/test/java/org/apache/jena/test/TestSystemSetup.java 
---
    @@ -35,5 +42,24 @@ public void testRDF11() {
                 fail("RDF 1.0 mode enabled in Jena3 test run") ;
         }
     
    +    /** This test relies on forking a clean JVM */ 
    +    public void testInitFromRDFS() throws IOException, 
InterruptedException {
    +        String separator = System.getProperty("file.separator");
    +        String classpath = System.getProperty("java.class.path");
    +        String java = System.getProperty("java.home")
    +                + separator + "bin" + separator + "java";
    --- End diff --
    
    On windows, the java executable will end with ".exe". This should avoid any 
problem:
    ```java
    import org.apache.commons.lang3.SystemUtils;
            if (SystemUtils.IS_OS_WINDOWS)
                java += ".exe";
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to