fred4jupiter / fredbet

Simple football betting application using Spring Boot, Thymeleaf and Bootstrap. Well prepared for betting with friends.
MIT License
119 stars 63 forks source link

Java error #31

Closed jotiprime closed 2 years ago

jotiprime commented 2 years ago

When copy the repository to your directory and then run the command, appears java error!

Captura de pantalla 2022-03-12 021522

jotiprime commented 2 years ago

Captura de pantalla 2022-03-12 021746

jotiprime commented 2 years ago

Captura de pantalla 2022-03-12 022320

fred4jupiter commented 2 years ago

With which java version did you try to compile the sources? You need the Java JDK 17 to compile it. The error says "invalid target release". So I think you used on older java version, right?

jotiprime commented 2 years ago

I installed all things following the readme, but I know that java versions are different, I tried to fix, but I don't know how to doit (I think that the error is with java path) But at the end I used Docker, and all works perfect, the only thing is that is for amd64 and I have arm64, so if you can upload to docker the arm version, I will really appreciate. Thanks!

fred4jupiter commented 2 years ago

You can check with 'java version' if you have the correct version configured in path. Currently I have no arm system to create a docker image for the arm architecture. I will put it on the roadmap to provide such an image

jotiprime commented 2 years ago

You can check with 'java version' if you have the correct version configured in path. Currently I have no arm system to create a docker image for the arm architecture. I will put it on the roadmap to provide such an image

You can make the arm image with oracle cloud (free arm machine) https://www.youtube.com/watch?v=TCwwTZPGCbo

If you can make the docker image for arm, I will appreciate, since with my solution, there is no option to edit any file, so if I want to make a change, I have to rebuild all the system.

fred4jupiter commented 2 years ago

You can make the arm image with oracle cloud (free arm machine)

Yes, I now. But you have to setup a machine which uses the ARM architecture to build an ARM image. Another option was to use the docker buildx but I´ve not tested it before.

What about using a cloud instance with amd64? Why do you need an ARM docker image?

jotiprime commented 2 years ago

I'm not using a cloud instance, I'm using my server that is build in arm, the instance is a solution for you since you don't have an arm machine.

fred4jupiter commented 2 years ago

I will close this issue because its not a java error. OK?

jotiprime commented 2 years ago

ok

fred4jupiter commented 2 years ago

Closing the issue, because its not a Java error.