-
Notifications
You must be signed in to change notification settings - Fork 68
How do I set the Java version? #18
Comments
Sorry for the slow reply! Yes we are using the default GitHub Actions Java version (https://help.github.com/en/actions/reference/software-installed-on-github-hosted-runners). We've been discussing ways to do this from within GitHub Classroom in the future but it is not possible right now. To workaround this:
This is definitely super-cumbersome... but should allow you to change the workflow as you see fit. |
Scrap that. The solution @jeffrafter posted above does actually work for setting up autograding with a specific java version, and it's less cumbersome than my initial hack. |
Is there anything new in the meantime? I need a newer Python than version 3.6 and I find the manual customization of all student repositories tedious. The repositories can be created at any time within a week. Every week. |
@oxzi I use a template repository with a |
@john-french: Thanks! I assumed that an existing |
It seems not @oxzi, as long as you don't add autograding in the assignment creation GUI in github classroom |
@john-french: I just wanted to say thank you again. For the upcoming weekly exercise I created the two files manually in my template repository, as recommended. This way they were delivered to the students and also executed. Of course it would be even nicer if this did not have to be done by hand. If anyone at GitHub is reading this... |
@oxzi just wanted to note that changes to allow this were brought up within the past few weeks and I am still advocating for it. Thanks for persisting and working around the shortcomings! |
Seems like the autograder is using a Java version less than 11. How do I specify a newer Java version?
The text was updated successfully, but these errors were encountered: