B4J Question Credentials the IDE runs with

Daestrum

Expert
Licensed User
Longtime User
Odd question I know, but I have a program that runs fine in Debug, runs fine in Release , runs fine with compile and run and fine with compile and run (background) (when run from IDE), but fails when running outside of IDE as a standalone Jar as it cannot find the Java compiler.

The program allows dynamic class writing/loading/executing from within the B4J program via a library.
 

Daestrum

Expert
Licensed User
Longtime User
I had been running inside a bat file, the error was always 'cant find compiler' (or words to that effect).
The JRE is the same version as JDK, except the public JRE contains no tools unlike the private JRE of the JDK.
Your suggestion did trigger a thought though.
I had to move the '.../java/jdk1...' entry to before 'windows' entry in PATH for it to find the compiler.

Thanks for the hint.
 
Upvote 0
Top