开发者

How create java class object in javascript using RHINO

开发者 https://www.devze.com 2023-04-04 17:36 出处:网络
How create CUSTOM java class object in java-script using 开发者_StackOverflow中文版RHINO..? We can use classes which is in rt.jar but not other custom class

How create CUSTOM java class object in java-script using 开发者_StackOverflow中文版RHINO..?

We can use classes which is in rt.jar but not other custom class


  1. compile class use a package
  2. make a jar file
  3. set classpath of that jar
  4. use importPackage(Packages.)
  5. start rhino..
  6. now it will work.
0

精彩评论

暂无评论...
验证码 换一张
取 消