Re: Auto-weka problem
Michael Hall <[email protected]>
| Newsgroups | gmane.comp.ai.weka |
|---|---|
| Message-ID | <[email protected]> |
> On Jun 13, 2021, at 5:13 PM, justinuliu <[email protected]> wrote: > > Hi, > > Auto-weka will invoke java while running. So please make sure that you have > installed JRE or JDK in your system and correctly set the PATH variable to > include $JAVA_HOME/bin before using it. That is, if you cannot invoke java > in command prompt, Auto-weka will not be able to invoke it either and fail. > You can simply put bundled jre (weka-$VERSION/jre/zulu*/bin) in PATH > variable if you don't want to install any other JAVA package. > > Hope this helps. > > Cheers, > Justin I think your solution only applies command line or on some specific platform? On OS/X the jre for the Weka application is embedded and doesn’t include a bin directory at all. You used to be able to just copy a compatible one in for the ‘java’ command but I haven’t tried that for a while. I did do it for Auto-Weka some time ago. Currently I’ve been doing things, not Weka, with app’s created using the jpackage command. Here it seems to depend on what jlink related parameters you use. To get the java command I think you would just need —link-options that omit —strip-native-commands. For other commands I think you need to include the correct —add-modules. I don’t believe Weka uses jpackage at this time. _______________________________________________ Wekalist mailing list -- [email protected] Send posts to [email protected] To unsubscribe send an email to [email protected] To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html