CupCarbon
CupCarbon copied to clipboard
Installation
how to install in linux?
Any news about this?
@Asky-M do you need to compile it from source or install directly using executable jar ?
Is it possible to use it on Windows?
I did not find the jar file to execute. but I think, I have to compile from the source code to be able to use it. I see in the license, this application is under the GPL. thanks for respons. by the way, let me know if this application can already be used for linux.
Copyright (C) 2013-2018 CupCarbon —---------------------------------------------------------------------------------— Laboratory Lab-STICC CNRS UMR 6285 University of Bretagne Occidentale - UBO —---------------------------------------------------------------------------------— CupCarbon V 3.8 (U-ONE): A Smart City & IoT Wireless Sensor Network Simulator SenScript V 3.4 —---------------------------------------------------------------------------------— www.cupcarbon.com —---------------------------------------------------------------------------------— This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.
@Asky-M , @nkaramolegos, @lrmodesgh this runs on Linux. I'm on Ubuntu 16.10.
With Java installed, first of all simply extract the downloaded zip file. Then, go to the folder directory where the jar file is present and execute. From the command line, this would be java -jar cupcarbon.jar
@jatanvyas It gave me error as: Error: Could not find or load main class cupcarbon.CupCarbon
@surbhandari @jatanvyas it works fine with all gnu/linux distros. as the installation page says, install java (i have openjdk8), and jfx (i have openjfx). then it works.
i got the same error, and after installing openjfx it worked. i tested in fedora, mint, ubuntu, debian, solus...
@Asky-M if you like to compile from source, use Eclipse, but do not forget to install scene builder.
Precisely, @lrmodesgh
Hi peers, those who have updated their gnu/linux distros, and face with the following problem :
Error: Could not find or load main class cupcarbon.CupCarbon
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
issue: java 11 seems not yet update with the javafx package required for cupcarbon or scenebuilder.
Thus first install openjdk-8 and openjfx as required.
Then use:
sudo update-alternatives --config java
to choose the openjdk8, as shown below:
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 auto mode
1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 manual mode
2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
Press <enter> to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java to provide /usr/bin/java (java) in manual mode
Then try relaunching :
`java -jar cupcarbon.jar`
Hi peers, those who have updated their gnu/linux distros, and face with the following problem :
Error: Could not find or load main class cupcarbon.CupCarbon Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
issue: java 11 seems not yet update with the javafx package required for cupcarbon or scenebuilder.
Thus first install openjdk-8 and openjfx as required.
Then use:
sudo update-alternatives --config java
to choose the openjdk8, as shown below:
There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 auto mode 1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 manual mode 2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode Press <enter> to keep the current choice[*], or type selection number: 2 update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java to provide /usr/bin/java (java) in manual mode Then try relaunching : `java -jar cupcarbon.jar`
(Ubuntu 18.04)
Did everything by instruction - still can see line:
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
line with error dissapeared only:
Error: Could not find or load main class cupcarbon.CupCarbon
Did all my best in order to install the aplication on this version of ubuntu - nothing works
even tried installing openjfx ver:
openjfx_8u60-b27-4
as it was on my ubuntu 16, nothing works
This issue can be fixed by adding the openjfx path and modules as arguments when running the javafx application, I already posted the solution on this link. Good luck Lotfi
I need a java code of distributed system 3 peers aplicación and coordinator .