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?
Running toolkit-demos outside of netbeans
-
- Posts:3
- Joined:06 Apr 2017 21:16 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
- eduramiba
- Gephi Code Manager
- Posts:1064
- Joined:22 Mar 2010 15:30
- Location:Madrid, Spain [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Running toolkit-demos outside of netbeans
Hi,
You will need to learn maven, create a jar with all dependencies and run that jar with 'java -jar' in the console.
You will need to learn maven, create a jar with all dependencies and run that jar with 'java -jar' in the console.