nus-cs2103-AY2223S2 / forum

12 stars 0 forks source link

Running into font issues with JDK 11 (macOS Big Sur) #302

Open ajjajjajjajj opened 1 year ago

ajjajjajjajj commented 1 year ago

Opening the jar file provided for the PE dry run resulted in the font looking like this:

Screenshot 2023-03-31 at 3 08 46 PM

I have tried uninstalling other JDK versions on the machine (Intel macOS Big Sur) and reinstalling JDK 11 (as linked in the CS2103 website). This is the output when I run /usr/libexec/java_home -V in the terminal:

Screenshot 2023-03-31 at 3 07 47 PM

I have also tried running the jar file via java -jar filename.jar and received the same result. Any advice on how to resolve this text encoding issue will be much appreciated.

francisyzy commented 1 year ago

Try the solution here https://github.com/nus-cs2103-AY2223S2/forum/issues/301#issuecomment-1491426468 to see if it helps

SHni99 commented 1 year ago

Hi @ajjajjajjajj, If you have existing Openjdk, delete it by following here Afterwards, in your mac terminal run curl -s "https://get.sdkman.io" | bash then sdk install java 11.0.18.fx-zulu When finished, you will see the changes when you run java --version Credits to @francisyzy for the help

francisyzy commented 1 year ago

Hey @ajjajjajjajj does the solution work?