Sunday, December 30, 2012

Java fix

For the factorization of large integers I have become somewhat dependent on factordb.com and Dario Alpern's ECM Java applet. With my new Mac/OS I have, so far, gone without the latter but today I enabled Java in my web browser, only to find that my large numbers would not paste into the ECM app, nor could I copy any factors out of it. After a little searching, I finally came up with a fix: I downloaded Alpern's ECM source code, opened Terminal, gave the ECM folder-location path (using the cd command), compiled it (javac ecm.java), and ran it (java ecm). The applet appears sans browser and copy/paste work fine.

No comments:

Post a Comment