Controlling Your Mac with AppleScript and Java
Subject:   Error -1750
Date:   2003-06-14 08:29:58
From:   pcbeard
Response to: Error -1750

The technical reason this has broken is that the Carbon.framework is no longer automatically loaded into a Java program running from the command line. I have another workaround whereby I dynamically load the library /System/Library/Frameworks/Carbon.framework/Carbon using the NSAddImage() API, and this also allows programs using NSAppleScript to work.