holgerbrandl / opencards

A free flashcard learning application for PowerPoint and MarkDown files
http://opencards.info
BSD 2-Clause "Simplified" License
96 stars 27 forks source link

Windows build FAILS #31

Closed tomanizer closed 6 years ago

tomanizer commented 7 years ago

The windows build opencards-2.5.1-windows.zip:

After extraction OpenCards.exe fails with "Could not find main class: info.opencardsOpenCards. Program will exit" on Windows 7.

tomanizer commented 7 years ago

when starting it from the command line it fails with UnsupportedClassVersionError: info/opencards?OpenCards : Unsupported major.minar version 52.0

tomanizer commented 7 years ago

java version "1.6.0_121" Java(TM) SE Runtime Environment (build 1.6.0_121-b09)

holgerbrandl commented 7 years ago

Are you using java8?

tomanizer commented 7 years ago

No. Our production version is Java 6. So is this just a version issue? Java8 is required to run it? thanks a lot for this program by the way. great effort!

holgerbrandl commented 7 years ago

yes java 8 is required. I think java6 had it's time, but it's dated now.

vavd commented 7 years ago

OpenCards.exe doesn't start on win 7. No messages at all. How to figure out where is the issue?

holgerbrandl commented 7 years ago

@vavd Do you have Java installed

vavd commented 7 years ago

@holgerbrandl Yes, I do: java version "1.8.0_151" Java(TM) SE Runtime Environment (build 1.8.0_151-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)

Before I installed Java it'd showed me the message that Java is not available

holgerbrandl commented 7 years ago

Not sure, does it directly from the jar when being built from the sources?

vavd commented 7 years ago

Sorry, I didn't try to build it. Just use binary.

holgerbrandl commented 6 years ago

Java 9/10 is now required to build OC