Git Product home page Git Product logo

Comments (7)

GenieTim avatar GenieTim commented on June 11, 2024 1

I got it working on Java 11, versions: Kotlin SDK 1.3.61, language level 13, JDK 11.0.4, OpenJFX 11.0.2.
The compilation is different. The relevant change is that since JavaFX does not come bundled, it has to be downloaded and added to the classpath separately. @anthonymakela you probably have to compile it yourself. I can provide you with my IntelliJ setup (which do work, the program runs) if that helps.

from architectural-floor-plan.

cansik avatar cansik commented on June 11, 2024

OpenJDK is not supported as already mentioned in #51.

from architectural-floor-plan.

anthonymakela avatar anthonymakela commented on June 11, 2024

OracleJDK build seems to be giving the same error?

Error: Could not find or load main class ch.fhnw.afpars.Main Caused by: java.lang.ClassNotFoundException: ch.fhnw.afpars.Mainor

java version "11.0.6" 2020-01-14 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.6+8-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.6+8-LTS, mixed mode)

from architectural-floor-plan.

cansik avatar cansik commented on June 11, 2024

It's a Java 8 project, never tried to run it on Java 11 but in my opinion it won't work because of JavaFX. The project is already quite old and is not maintained since then.

from architectural-floor-plan.

anthonymakela avatar anthonymakela commented on June 11, 2024

Hmm, this still keeps popping up... Could it be some dependency issue?

Error: Could not find or load main class ch.fhnw.afpars.Main

java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)

from architectural-floor-plan.

anthonymakela avatar anthonymakela commented on June 11, 2024

Any updates on this? @cansik

from architectural-floor-plan.

cansik avatar cansik commented on June 11, 2024

I have updated the project to support JDK 11 (also OpenJDK) and higher. Just build & run it with the following command:

cd afpars
./gradlew run

from architectural-floor-plan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.