Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDE and check50's backend image out of sync #36

Closed
pazz opened this issue Jan 12, 2021 · 2 comments
Closed

IDE and check50's backend image out of sync #36

pazz opened this issue Jan 12, 2021 · 2 comments
Assignees

Comments

@pazz
Copy link

pazz commented Jan 12, 2021

Hi!
I am running into trouble because of the recently updated IDE environment: it has a different version of the java compiler/interpreter than what is used in the backend image that runs checks (when I invoke chcek50 with some slug).

On the web (ide.cs50.io) and the docker image i see

java --version
openjdk 15.0.1 2020-10-20
OpenJDK Runtime Environment (build 15.0.1+9-18)
OpenJDK 64-Bit Server VM (build 15.0.1+9-18, mixed mode, sharing)

On the lab environment (lab.cs50.io) I see

java --version
openjdk 13.0.1 2019-10-15
OpenJDK Runtime Environment (build 13.0.1+9)
OpenJDK 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)

I suspect the image that check50 uses is closer to the latter?
It'd be a massive help if you could update all images to the same java version.

(My use case is that I am compiling java files into (junit) class files which I then publish to be run as part of checks.
At the moment the checks fail because the class files I compile on the IDE are in a newer format that the older interpreter does not eat.)

Thanks!

@pazz
Copy link
Author

pazz commented Jan 13, 2021

I just realised that this request may be better placed in https://github.com/cs50/check . Should I move it there?

@kzidane kzidane transferred this issue from cs50/check50 Jan 13, 2021
@rongxin-liu rongxin-liu self-assigned this Sep 14, 2021
@rongxin-liu
Copy link
Contributor

e445330

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants