| Reply | « Previous Thread | Next Thread » |
|
Hi all,
I am working with Symbian S60 3rd Edition SDK and Carbide.J. I need to use log4jme to write to a log file. The problem I am having is when I add the external jar to the classpath and compile, everything is fine, but when I run the midlet I get a "NoCLassFound" exception. This is because the "log4jMini.jar" file is not being bundled in with the project during the build process. I have selected the "log4jMini.jar" in the "Order and Export" tab in the java build path properties but to no effect, the jar file does not get exported. Does anyone have any idea why the jar is being ignored? Is there a workaround for this problem? Is this a security restriction? Any help is greatly appreciated. Keith. |
| keithgardiner |
| View Public Profile |
| Find all posts by keithgardiner |
|
You may want to check this out
http://discussion.forum.nokia.com/fo...d.php?t=109525 |
|
Thanks xarris,
I was thinking that would be the case. The problem is when I do that with the Log4jMini jar the pre-verifer throws up an error saying that you cannot use finalisers in J2me. I thought that Loog4jME was designed for J2ME? If anyone out there can enlighten on this subject, please do, as there is no documentation out there at all. Keith. |
| keithgardiner |
| View Public Profile |
| Find all posts by keithgardiner |
|
I am not familiar with the log4jME, but this page states
http://logging.apache.org/log4j/docs/download.html "Log4jME, or log4j MiniEdition, is based on the same code as log4j. However, as the name indicates the mini-edition is much smaller. It offers the same client interface such that code compiled for log4jME is compatible with log4j standard edition. You can choose to upgrade to log4j standard edition at any time by replacing log4jME.jar with log4j.jar in your classpath." So it might not be for Java ME, just a smaller version of log4j Hartti |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Eclipse Carbide external jar?? | matthiasfinke | Mobile Java Tools & SDKs | 6 | 2008-05-08 05:35 |
| [newbie here] Link error | xitpu | General Symbian C++ | 3 | 2007-01-24 17:53 |
| Adding external classes in the JAR? [Using Carbide.J] | saurabh.raje | Mobile Java Tools & SDKs | 1 | 2006-09-03 01:39 |
| Proper way to add to project? | smueller | Carbide.c++ IDE and plug-ins | 3 | 2005-01-13 20:51 |
| How to add other java classes' path to Eclipse's project? | nimbuslin | Nokia M2M | 2 | 2005-01-05 20:10 |