snappas / ScalaConfigCleaner

Quake Live config cleaner in Scala
0 stars 0 forks source link

Cannot run program "javac" #1

Open Atraydeez opened 1 year ago

Atraydeez commented 1 year ago

My technical knowledge with java is very limited but when I follow the install instructions I receive the following error. https://i.imgur.com/mLSiK6l.png

If you could please help me I would appreciate it. I am having max_cvar's error in QL and my game crashes every few maps. If it would be easier you can contact me on discord Atraydeez#1969 Thanks

snappas commented 1 year ago

Wow I am thrilled to see someone actually found this and (unfortunately) had a need to use it.

8 years ago, Scala (built ontop of Java) was sort of bleeding edge as a re-imagination of Java from a Python perspective. Since then, Java has fell off completely in terms of long term support. I don't currently use Java or Scala so I've lost track of what the best practices are.

The Java download link in the description doesn't include the Java Development Kit anymore. That's what the javac error is about.

I tried to see if just updating the version numbers would work but it didn't (after downloading the JDK separately).

Thankfully this code is extremely concise and it should be pretty straightforward to port to Python.

snappas commented 1 year ago

I made a python version here: https://github.com/snappas/quakelive_config_cleaner

It's a little less sophisticated in handling vstr scripting but hopefully gets you moving.

Atraydeez commented 1 year ago

Thank you so much snappas. I sincerely appreciate your application. I am grateful you took the time to port this to python, I was able to get it to work easily.