
How can I do that?ĮDIT 1 -> Here's my command line export echo java -jar weka.jarĮxception in thread "main" : weka/jarĬaused by: : weka.jarĪt $1.run(URLClassLoader.java:202)Īt (Native Method)Īt (URLClassLoader.java:190)Īt (ClassLoader.java:307)Īt $AppClassLoader.loadClass(Launcher.java:301)Īt (ClassLoader.java:248)Ĭould not find the main class: weka.jar. I looked around in SO and it seems like I am not doing anything that is obviously wrong (since both PATH and CLASSPATH seem to be set correctly).Ģ)I would like to be able to put all my jar files in a single directory and include that directory in my path (instead of including every jar individually). This needs to be renamed to 'DatabaseUtils.props' and placed into your home directory (Weka 3.6) or into wekafiles/props in your home directory (Weka > 3.7.2). In the weka/experiment directory you will find a '' file.
Access denied to weka jar zip#
However when I try to run the jar using java -jar weka.jar, I get an error "Unable to access jarfile weka.jar".Īny ideas what is going on? I am on Ubuntu Linux. You will need to unpack the weka-src.jar file (you can use any tool for zip archives to do this). As a solution you can either extend the rights or create a new repository - preferably somewhere in your user diretory. The core plugin and other extension plugins support restricting access to URLs via rules that include checking a. to /home/andy/software/weka/weka.jar) and so does CLASSPATH. as your exception message indicates ('Access is denied') it seems that you have not enough rights to write on disc at 'C:Program FilesRapid-IRapidMiner5'. PATH variable points to this jar file (i.e. It has 2 parts.ġ) I am trying to execute weka.jar jar file located in /home/andy/software/weka/weka.jar
Access denied to weka jar manual#
However, when I attempt to do this I get a java.io.IOException: Access is denied. I am running weka via the command line with java -jar weka.jar another option would be to do everything via the command line (including running auto-weka), but following the manual instructions, I am unable to locate auto-weka. My question is regarding including jar files in path. jar file my program is currently running from and create a new one with the same name, then restart the application.
