Skip to main content
20 events
when toggle format what by license comment
Jan 13, 2022 at 3:00 history tweeted twitter.com/StackSoftEng/status/1481461093717454849
Mar 9, 2012 at 17:20 history edited Lambert CC BY-SA 3.0
added 291 characters in body
Mar 9, 2012 at 16:21 vote accept Lambert
Mar 9, 2012 at 16:21 vote accept Lambert
Mar 9, 2012 at 16:21
Mar 9, 2012 at 16:21 vote accept Lambert
Mar 9, 2012 at 16:21
Mar 9, 2012 at 16:20 comment added Lambert @PatrickHughes Thanks! - Turns out it is a problem printing to the screen. Didn't mention it in my original post, but the program prints each permutation to console.. Commented that out and saved to a file instead.. now running equally fast in both shell and eclipse. :-)
Mar 9, 2012 at 15:33 history edited Lambert CC BY-SA 3.0
added 193 characters in body
Mar 9, 2012 at 11:45 comment added user1249 @Jae Why? The JVM is warmed up.
Mar 9, 2012 at 10:40 comment added Dynamic @PatrickHughes: Related but not duplicate. 6 times>4 times. ;-)
Mar 9, 2012 at 3:59 answer added user1249 timeline score: 9
Mar 9, 2012 at 3:49 answer added jmq timeline score: 8
Mar 9, 2012 at 1:45 comment added Patrick Hughes Related to stackoverflow.com/questions/7206123/… ?
Mar 9, 2012 at 0:54 comment added Lambert Well, I setup my environment variables to point at java/jre. But will try the method you mentioned. Sent files to a friend to try it, exactly same results... very odd -_-
Mar 9, 2012 at 0:32 comment added Ozan Sorry, I did a mix-up with the -vm option. Just launch it with the complete path of java.exe, e.g. "c:\Program Files\Java\jre\bin\java.exe" permutations. I wonder why running it within Eclipse is so much faster.
Mar 8, 2012 at 23:54 comment added Lambert eclipse was using java/JRE, whereas my homepath for java pointed to the java/JDK. Set the homepath to the JRE that eclipse points to. Still the same result I'm afraid. Using the -vm argument gives the following error "Unrecognized option: -vm Could not create the Java virtual machine."
Mar 8, 2012 at 23:32 comment added Ozan Make sure both launches use the same runtime environment. Find out the one Eclipse uses and give it as a -vm parameter at the command line launch. The runtime environment Eclipse uses when launching is configured in 'Run->Run configurations...', select the one you use (probably under 'Java applications' and look in the JRE tab.
Mar 8, 2012 at 23:29 comment added Lambert I simply launch it with a .bat file @echo off java permutations
Mar 8, 2012 at 23:21 comment added Winston Ewert can you show us how you launch the program outside of eclipse?
Mar 8, 2012 at 23:17 comment added Dynamic Shouldn't Eclipse be slower?
Mar 8, 2012 at 23:14 history asked Lambert CC BY-SA 3.0