B4J Question getClass().getResource

Johan Schoeman

Expert
Licensed User
Longtime User
Where should the resources be placed when doing a b4j project with inline java code and the inline java code needs to load the resources using "getClass().getResource" ? Have searched the forum but could not find anything other than for b4a where one can add it to the jar. But where in a b4j project should it be when running the project in the IDE?
 

Johan Schoeman

Expert
Licensed User
Longtime User
A simpler solution will be to pass an InputStream / OutputStream from the B4J code to the inline Java.
I am doing it that way Erel but what is the "hard" way of doing it? Should be somewhere in the class path?
 
Upvote 0
Top