Git Product home page Git Product logo

Comments (7)

michalis-vitos avatar michalis-vitos commented on July 28, 2024 1

Hi @matheusbsilva , @jppgomes & @andrebargas ,

Your issues seem to be related to the wrong Java installation. I tried to run the Packager on a Live installation of Ubuntu 18 and of course it didn't work, because the OS was missing the Java installation. I then tried to install OpenJDK 8, which gave the errors that you describe. Then I followed these steps to install the Oracle JDK:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

The above commands installed Java & the javafx packages. After that, a simple java -jar Sapelli\ Packager\ v1.0.3.jar opened the Packager without any issue. So please try to install Java and let me know if you are still facing any issues.

from sapelli.

michalis-vitos avatar michalis-vitos commented on July 28, 2024

Hi @andrebargas,

That is very strange, since the command you are using is correct and you are not missing something.

I suppose you downloaded the Packager from this link and you didn't build it on your own from the sources.

Also, what is your operating system? On Windows, there is an executable (.exe) file that should work by just double clicking on it and you don't need to run any commands. If you have easy access to a Windows machine, can you please try the executable and let me know if you are facing the same issue?

from sapelli.

andrebargas avatar andrebargas commented on July 28, 2024

Hello again @michalis-vitos, thank you for the quickly reply.
Yes, I've downloaded from this same link.
I tried the on Ubuntu 16.04 with open jdk version "1.8.0_181", and on Windows 8 OS. On Windows when i double click, it just create a folder named logs with two empty .txt files, and after that nothing happens...
Should i try in another OS ? Does it have another requirement then Java?

from sapelli.

michalis-vitos avatar michalis-vitos commented on July 28, 2024

The packager has no other requirement than Java. I assume that your Windows installation has Java installed. It is very strange that your log files are empty, they should at least capture something.

Can you please try to unzip the jar file and check if you are having the class that is supposed to be missing (uk.ac.ucl.excites.sapelli.packager.Packager)?

Also, I suggest you have a look at the following link with similar issues:
https://stackoverflow.com/questions/18093928/what-does-could-not-find-or-load-main-class-mean

from sapelli.

jppgomes avatar jppgomes commented on July 28, 2024

Hello, i have the same problem @andrebargas @michalis-vitos

from sapelli.

matheusbsilva avatar matheusbsilva commented on July 28, 2024

I have the following error:

Error: Could not find or load main class uk.ac.ucl.excites.sapelli.packager.Packager
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

I'm using Arch Linux, I installed the javafx package but still don't work.

from sapelli.

andrebargas avatar andrebargas commented on July 28, 2024

Hi @michalis-vitos,
Thank you some much for your help and for the quick answers, it seems to be working fine now. IMHO you guys should consider about putting these instruction to prevent other users like me, since these package its not the linux default JDK.

from sapelli.

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.