Java, dynamic class loading from github sources -


okay, trying following:

i have java-files on github. want load these dynamic @ runtime. there possibility ? think urlclassloader not working, because dont have url containing folder of files, have url file itself.

thanks in advance

you can:

  • download java file local system
  • use javacompiler standardjavafilemanager (cf example in javacompiler javadoc) compiler java file class file can save on local system
  • use urlclassloader load class file

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -