We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I can run this sketch too. I was using Processing 3.3.7 on:
a) Mac Book Pro running El Capitan
b) PC running Windows 10 Home (32-bit)
I can see multiple lines of "hi" appearing in the Console window.
NOTE: This was the first time I ran Processing on the Win 10 PC so I saw a prompt from the Windows Defender Firewall about the Java Platform SE binary, but the Processing sketch still ran even before I had clicked "Allow access".
Proxy settings, firewall or antivirus sw have been found to be culprits in other occasions. I suggest searching in Google: "Processing start delayed" and hopefully you can access some of those previous posts in the forum.
Kf
They shouldn't be at all related. Anything else you installed through or at the same time as homebrew? New Java? Firewall?
Is it any Processing sketch that hangs, or just one sketch, and does the sketch hang while running or does the editor hang while editing?
I can only guess: Antivirus, proxy settings, firewall, etc.
I believe you should be able to install the mode manually. Ask next time if you run again into these waiting times. Do you have any problems when starting Processing or when downloading libraries from the Contribution Manager? Just for the record...
Kf
Okay, I get a 'windows firewall message', ticked something to make it go away, then a small window with a grey square in it appears; the letter 's' is visible on the window, obscured by the max/min buttons. Does this mean I have imported robot class?
It takes about 6-8 seconds before the sketch window appears, and it seems that the delay slowly increases over time.
So far I've tried different versions of Processing and even 32bit versions, but it's all the same. After some searching, I also tried stopping antivirus and windows firewall, but again, no effect. Everything else is working fine. Any tips/thoughts?
... but now if I want to run the sketch on my desktop I got this:
"the sketch"? BtW, have you tried the other sketches as well? :-/
That's 1 of the 1st thing you shoulda done when troubleshooting! :-\"
"C:\Users\siebe\Desktop\processing-3.3.6\"
How about transferring the location of the PDE to somewhere else? ^#(^
How about "C:\Users\siebe\Documents\Apps\processing-3.3.6\" instead? >-)
And never forget to authorize the PDE when the firewall's message pops up. L-)
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
Im just running an example sketch from the Carnivore library, on windows 10, with winpcap installed and the server running. But when I run the sketch, it says "No Network Devices found. click to continue in offline mode".
Am i missing something?? I have turned off the firewall, made sure my internet is working and anything else i can think of. But still no luck.
Great! Glad that OSC worked on 443, and that 443 worked for your school firewall. Thanks for sharing your solution.
If you want anyone to be able to connect on almost any network, that sounds like port 80 -- yes, that would stop you from hosting a website on that server, although you could host https websites at port 443
I'm honestly not sure if sending OSC data (which I believe is UDP) on port 80 (http is TCP-IP) could cause server or firewall problems. Perhaps someone with more experience can chime in.
If your school network firewall blocks port 5204 then the only way is to send traffic on a port that your school allows. This isn't specific to Processing, osc5, or osc -- it is true of any port used for any purpose.
Two options:
My android app connects to my server through my domain. Most of the time my apps connect to the server without problems but when I use my school's network I cant connect (I assume the firewall blocked it since the firewall is quite 'sensitive' and blocks a lot of data), I'm using osc5 on port 5204, is there anyway to get trough the fire wall?
hi there, I'm running windows 10, with an AMD radeon graphics card, latest version of processing. when running my sketch i get the error message "could not run the sketch (target VN failed to initialize)" and also a windows firewall notification, that it blocks some java functions. Again, if I allow access, I still get the error. This was a fully functioning sketch before. Any idea? Thanks
@Alaghast -- can't test this now, but should your plug methods take an argument, like a boolean (even if you don't use it)? I'm not familiar with oscP5.plug, but I wonder if the method signature needs to exactly match the message -- and I thought an osc bang had a Boolean true argument, or maybe an int. if plug dispatch is trying to call drawCircle(boolean) and no such method exists, it could be silently swallowing your messages -- just guessing.
I believe the demo sketch for plug has an oscEvents function that lets you inspect all raw osc that the sketch receives. If it doesn't receive any then this is probably a max/map broadcast problem or a network config / firewall problem.
I am writing a very simple server and client application. The server and client communicate over IP. I have successfully run the program over my LAN and it seems to work. However I am not able to connect over the internet at large.
My guess is that the port is probably blocked by a firewall for security reasons. Is it possible to open an IP connection between two machines while reducing risks associated with having an open port? Would it be possible to use a VPN or other service to achieve this?
Unfortunately even if I disable the firewall there is no change in the error message. Same if I run as administrator.
Firewall blocking the port?
That would be my first guess as well -- this might be a local communication permissions issue; once Processing/java.exe has permissions to create a socket then everything will work.
That's the debugger trying to attach to the running code. I think it's enabled by default and can't think of an easy way to disable it. Is there a preference?
Alternatively you can try and work out why it's unable to attach. Firewall blocking the port?
Thank you for all replies. Disabling antivirus did not help. Tested other PC in the same network (internet gateway) and it works, so no relation to firewall. It's particular PC problems with java.
I need main PC for works, but 5 minutes to start and no Play sketch... Java test passed. Below is a process, is it OK?
"C:\processing\java\bin\javaw.exe" -Xmx256m -Djava.ext.dirs="C:\processing\java\lib\ext" -Djna.nosys=true -Djna.boot.library.path=lib -Djna.nounpack=true -Dsun.java2d.d3d=false -Dsun.java2d.ddoffscreen=false -Dsun.java2d.noddraw=true -classpath "lib;lib\pde.jar;core\library\core.jar;lib\jna.jar;lib\jna-platform.jar;lib\antlr.jar;lib\ant.jar;lib\ant-launcher.jar" processing.app.Base