nus-cs2103-AY2223S2 / forum

12 stars 0 forks source link

corrupted font when I run AB3 code, but no font problem with addressbook.jar #221

Closed ChangGittyHub closed 1 year ago

ChangGittyHub commented 1 year ago

I have no font issue with the addressbook.jar file that we had to test weeks before, however, I have an issue of corrupted fonts when I run the tp code that I forked and clone into my computer. I checked if my mac has the right version using java --version and it is correct as shown below. Not sure what is causing this issue, appreciate any help I can get! Thank you

AB3 addressbook.jar

IMAGE 2023-02-21 17:40:07

AB3 tp code

IMAGE 2023-02-21 17:33:29 IMAGE 2023-02-21 17:36:53

francisyzy commented 1 year ago

Have you tried other SDKs? Can use http://sdkman.io/ to switch SDKs easily

afiqzu commented 1 year ago

Hi, I had the same issue so I trawled through past semester's forums and found a fix! Just update your build.grade file and change

String javaFxVersion = '11' to String javaFxVersion = '16'

under dependencies.

Hope it works for you!

Reference: https://github.com/nus-cs2103-AY2122S1/forum/issues/112

damithc commented 1 year ago

@ChangGittyHub to avoid using the wrong JDK by mistake, you can consider removing all other JDKs except the one recommended in https://nus-cs2103-ay2223s2.github.io/website/admin/programmingLanguages.html

When running the AB3 code, how exactly do you run it? Using Intellij?

nus-se-bot commented 1 year ago

@ChangGittyHub A gentle reminder to close this issue if the problem has been resolved. If not resolved yet, please post a comment explaining which part of the problem/question remains unresolved.

nus-se-bot commented 1 year ago

@ChangGittyHub I'm closing this issue due to inactivity. Feel free to reopen if the issue is still unresolved.