Menu

#181 Error creating Windows Service - could not find rt.jar

All
closed-fixed
rzo
None
5
2021-10-16
2021-08-23
kalimero
No

Hi

Windows Server 2012 R2 / OpenJDK jdk-11.0.12+7

I used YAJSW 12.X and jre1.8.0_181 with my application without problem.
Because the application need Java 11, I installed OpenJDK jdk-11.0.12+7 and the application works fine.

I'm trying to upgrade yajsw (alpha 13.0) and I have a problem creating the service. I tried many things in the conf file but runConsole.bat failed.
Here are the log file and the wrapper.conf file. I don't know if there is link with the error message "could not find rt.jar"

2 Attachments

Discussion

  • john

    john - 2021-08-25

    it seems that the issue is in your application or its configuration.
    the message "could not find rt.jar" can be ignored. this is only valid for jdk < 9 and will be removed in the next release.

    INFO|3892/0|21-08-23 13:05:55|Caused by: java.lang.NullPointerException
    INFO|3892/0|21-08-23 13:05:55|  at java.base/java.io.File.<init>(File.java:278)
    INFO|3892/0|21-08-23 13:05:55|  at com.soprahr.edsn.main.EdsnFileLock.lockOnce(EdsnFileLock.java:27)
    INFO|3892/0|21-08-23 13:05:55|  at com.soprahr.edsn.main.Main.main(Main.java:55)
    
     
  • rzo

    rzo - 2021-10-16

    warning "could not find rt.jar" removed in release 13.01

     
  • rzo

    rzo - 2021-10-16
    • status: open --> closed-fixed
     

Log in to post a comment.