[Mc4j-development] [ mc4j-Support Requests-756002 ] building new mc4j
Brought to you by:
ghinkl
From: SourceForge.net <no...@so...> - 2003-06-19 15:14:52
|
Support Requests item #756002, was opened at 2003-06-17 11:06 Message generated for change (Comment added) made by ghinkl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493496&aid=756002&group_id=60228 Category: None Group: None >Status: Pending Resolution: None Priority: 5 Submitted By: Ravi Varadarajan (ravivar) >Assigned to: Greg Hinkle (ghinkl) Summary: building new mc4j Initial Comment: I am trying to build a new mc4j application. After I installed mc4j source directory, I installed NetBean Platform (Trunk) in the location specified in build instructions and renamed the folder to mc4j. My development source tree is as follows: c:\ mc4j\ application\ mc4j (netbean platform)\ bin lib modules system .. src\ org\ mc4j\ I changed ant.developer.properties file to have the following: application.install = C:/mc4j/application/mc4j When I did ant compile jars brand install run The run target gave the following error: Exception in thread "main" java.lang.NoSuchMethodError at org.netbeans.JarClassLoader$JarSource.<init> (JarClassLoader.java:356) at org.netbeans.JarClassLoader.<init> (JarClassLoader.java:65) at org.netbeans.JarClassLoader.<init> (JarClassLoader.java:47) at org.netbeans.Main$BootClassLoader.<init> (Main.java:92) at org.netbeans.Main.main(Main.java:71) Ravi ---------------------------------------------------------------------- >Comment By: Greg Hinkle (ghinkl) Date: 2003-06-19 10:14 Message: Logged In: YES user_id=773314 It seems you're trying to run this on a JRE prior 1.4. The JarSource class uses File.toURI which was added in 1.4. I guess thats the price of working with the latest platform builds. Updating the ide.cfg file to have a "-jdkhome" property that points at a sdk 1.4 install should fix this problem. Also, you'll need to add the following properties to that file: -J-Xverify:none -J-Dnetbeans.logger.console=true -J-Dnetbeans.debug.exceptions=true -J-Dorg.netbeans.core.modules.NbInstaller.noAutoDeps=true That last property is due to the fact that they added stricter classloading symantics in the trunk. That property will work around it for now. (And I'll make sure these things get into the build document) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493496&aid=756002&group_id=60228 |