SSJS to call a method in java class (in java library)
问题 I've created a java library (named: invoke) with a java class (Invoke). Its seen when expanding Script libraries under code in the designer navigation pane. The code is: package com.kkm.vijay; public class Invoke { public static void main(String[] args) { Runtime r = Runtime.getRuntime(); Process p = r.exec("C://some.exe"); } } Used the following ssjs to an onclick event of a button shows Error:500 when previewed in browser. importPackage(com.kkmsoft.vijay); var v=new Invoke(); v.main(); Even