We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hey all, I am using processing 3.3.6 on Windows 10 and I have been trying to get the command line to open. When I click on java-processing it brings up the command prompt for a split second and then disappears. I am able to run processing just fine but not the command line. I deleted the preferences file and also disabled my anti-virus and that doesn't seem to work either. I also tried turning off the firewall but that didn't fix it either.
Any help with trying to fix this problem would be greatly appreciated. Thanks
I ran the command \processing-java.exe --l4j-debug
in the command prompt and it gave me this output:
Version: 3.9
CmdLine: W:\Downloads\processing-3.3.6-windows64\processing-3.3.6\processing-java.exe --l4j-debug
WOW64: yes
Working dir: W:\Downloads\processing-3.3.6-windows64\processing-3.3.6\.
Bundled JRE: java
Check launcher: W:\Downloads\processing-3.3.6-windows64\processing-3.3.6\java\bin\java.exe (OK)
Heap -Xmx: Requested 256 MB / 0%, Available: 12346 MB, Heap size: 256 MB
Substitute: EXEDIR = W:\Downloads\processing-3.3.6-windows64\processing-3.3.6
Add classpath: lib\*.jar
" : lib\ant-launcher.jar
" : lib\ant.jar
" : lib\jna-platform.jar
" : lib\jna.jar
" : lib\pde.jar
Add classpath: core\library\*.jar
" : core\library\core.jar
" : core\library\gluegen-rt-natives-linux-aarch64.jar
" : core\library\gluegen-rt-natives-linux-amd64.jar
" : core\library\gluegen-rt-natives-linux-armv6hf.jar
" : core\library\gluegen-rt-natives-linux-i586.jar
" : core\library\gluegen-rt-natives-macosx-universal.jar
" : core\library\gluegen-rt-natives-windows-amd64.jar
" : core\library\gluegen-rt-natives-windows-i586.jar
" : core\library\gluegen-rt.jar
" : core\library\jogl-all-natives-linux-aarch64.jar
" : core\library\jogl-all-natives-linux-amd64.jar
" : core\library\jogl-all-natives-linux-armv6hf.jar
" : core\library\jogl-all-natives-linux-i586.jar
" : core\library\jogl-all-natives-macosx-universal.jar
" : core\library\jogl-all-natives-windows-amd64.jar
" : core\library\jogl-all-natives-windows-i586.jar
" : core\library\jogl-all.jar
Add classpath: modes\java\mode\*.jar
" : modes\java\mode\antlr.jar
" : modes\java\mode\classpath-explorer-1.0.jar
" : modes\java\mode\com.ibm.icu.jar
" : modes\java\mode\JavaMode.jar
" : modes\java\mode\jdi.jar
" : modes\java\mode\jdimodel.jar
" : modes\java\mode\jdtCompilerAdapter.jar
" : modes\java\mode\jsoup-1.7.1.jar
" : modes\java\mode\org.eclipse.core.contenttype.jar
" : modes\java\mode\org.eclipse.core.jobs.jar
" : modes\java\mode\org.eclipse.core.resources.jar
" : modes\java\mode\org.eclipse.core.runtime.jar
" : modes\java\mode\org.eclipse.equinox.common.jar
" : modes\java\mode\org.eclipse.equinox.preferences.jar
" : modes\java\mode\org.eclipse.jdt.core.jar
" : modes\java\mode\org.eclipse.osgi.jar
" : modes\java\mode\org.eclipse.text.jar
" : modes\java\mode\org.netbeans.swing.outline.jar
Launcher: W:\Downloads\processing-3.3.6-windows64\processing-3.3.6\java\bin\java.exe
Launcher args: -Xmx256m -Djava.ext.dirs="W:\Downloads\processing-3.3.6-windows64\processing-3.3.6\\java\\lib\\ext" -Djna.nosys=true -classpath "lib;lib\ant-launcher.jar;lib\ant.jar;lib\jna-platform.jar;lib\jna.jar;lib\pde.jar;core\library\core.jar;core\library\gluegen-rt-natives-linux-aarch64.jar;core\library\gluegen-rt-natives-linux-amd64.jar;core\library\gluegen-rt-natives-linux-armv6hf.jar;core\library\gluegen-rt-natives-linux-i586.jar;core\library\gluegen-rt-natives-macosx-universal.jar;core\library\gluegen-rt-natives-windows-amd64.jar;core\library\gluegen-rt-natives-windows-i586.jar;core\library\gluegen-rt.jar;core\library\jogl-all-natives-linux-aarch64.jar;core\library\jogl-all-natives-linux-amd64.jar;core\library\jogl-all-natives-linux-armv6hf.jar;core\library\jogl-all-natives-linux-i586.jar;core\library\jogl-all-natives-macosx-universal.jar;core\library\jogl-all-natives-windows-amd64.jar;core\library\jogl-all-natives-windows-i586.jar;core\library\jogl-all.jar;modes\java\mode\antlr.jar;modes\java\mode\classpath-explorer-1.0.jar;modes\java\mode\com.ibm.icu.jar;modes\java\mode\JavaMode.jar;modes\java\mode\jdi.jar;modes\java\mode\jdimodel.jar;modes\java\mode\jdtCompilerAdapter.jar;modes\java\mode\jsoup-1.7.1.jar;modes\java\mode\org.eclipse.core.contenttype.jar;modes\java\mode\org.eclipse.core.jobs.jar;modes\java\mode\org.eclipse.core.resources.jar;modes\java\mode\org.eclipse.core.runtime.jar;modes\java\mode\org.eclipse.equinox.common.jar;modes\java\mode\org.eclipse.equinox.preferences.jar;modes\java\mode\org.eclipse.jdt.core.jar;modes\java\mode\org.eclipse.osgi.jar;modes\java\mode\org.eclipse.text.jar;modes\java\mode\org.netbeans.swing.outline.jar" processing.mode.java.Commander
Args length: 1698/32768 chars
Exit code: 0
Answers
Just to clarify, you are trying to run a sketch using the command line? If you open a command prompt session and then browse to your Processing folder containing both executable files, you get the following info if you type processing-java:
As you see, it explains how to use the processing-java executable. More info: https://github.com/processing/processing/wiki/Command-Line
Kf