03 August 2004 - java_dev (original) (raw)

02:54 pm - shinedarklight so whats the deal with C#? Is it any good? What do you think?
03:31 pm - ilja_l - Linking external libraries Hm, I know this is supposed to be easy, but I don't get it: how do I link an external library to the program?I mean, I use a number of libraries (located in the lib/ folder). When I import them in Eclipse it works fine (and I do mark to export these libraries in the project properties), however when I export the project as an executable jar, it won't start from java -jar smth.jar because of "Exception in thread "main" java.lang.NoClassDefFoundError:". I have tried specifing the location in the Manifest file, but the problem persists. What do I do wrong?-- my manifest --Manifest-Version: 1.0Main-Class: MainExecutableClass-Path: lib/lib1.jar lib/lib2.jar