![]() ![]() There you will find a button called Environment Variables, click it.ĭepending on, whether you're the only person using this computer or it is a lab computer shared by many, you can either create a new system-wide (you are the only user) environment variable or a user dependent one (recommended for multi-user machines). In the Control Panel click on System (or right click on This PC and select Properties) and then go to the Advanced tab. We assume that the mysql-connector-java-5.1.6-bin.jar archive is located in the following directory: C:\Program Files\Weka-3-8 In the following we add the mysql-connector-java-5.1.6-bin.jar to our CLASSPATH variable (this works for any other jar archive) to make it possible to access MySQL Databases via JDBC. ANT offers a nice way for building (and separating source code and class files) Java projects.īut still, if you're only working on totally separate projects, it might be easiest for you to use the environment variable. The CLASSPATH would just mess up things, if you're not careful (or just forget to remove an entry). I, personally, never use the environment variable, since I'm working often on a project in different versions in parallel. Since Java does the search in a ''first-come-first-serve'' kind of manner, you'll have to take care where and what to put in your CLASSPATH. Import CLASSPATH environment variable tells Java where to look for classes. This code is taken pretty much line for line from weka.wikispaces. ![]() Find Java Build Path -> Libraries either during project creation or afterwards under “Package Explorer” -> RClick project -> Properties.ģ) “Add External Jars…” and select the weka.jar from your download.Ĥ) Create a class file under the “src” folder. Quick, rough guide to getting started with Weka using Java and Eclipse.Ģ) Create a new project in Eclipse. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |