[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •Running toolkit-demos outside of netbeans
Page 1 of 1

Running toolkit-demos outside of netbeans

Posted: 24 Apr 2017 16:23
by matthewnoell
I'm new to this and can't figure out how to run the toolkit-demo as a standalone application. I can run it in netbeans just fine, and I see the command that netbeans is running,

JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home

"/Applications/NetBeans/NetBeans 8.2.app/Contents/Resources/NetBeans/java/maven/bin/mvn" \
"-Dexec.args=-classpath %classpath org.gephi.toolkit.demos.Main" \
-Dexec.executable=/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java org.codehaus.mojo:exec-maven-plugin:1.2.1:exec

Is there some way to package this into a standalone app?

Re: Running toolkit-demos outside of netbeans

Posted: 25 Apr 2017 16:18
by eduramiba
Hi,
You will need to learn maven, create a jar with all dependencies and run that jar with 'java -jar' in the console.