no problem many times I ask questions that I later wish I could retract.
========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33manLinkedin <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
Jonatan Soto sent the following on 6/10/2010 4:44 PM:
You are absolutely right. Forget my last question, it makes no sense :-) On Fri, Jun 11, 2010 at 1:13 AM, BJ Freeman<[email protected]> wrote:remember java i byte code. if it the interpreter you need to worry about 16 or 64 bit and cpu. once compiled an application in java will run on any java interpreter. http://ci.apache.org/waterfall?show=ofbiz-trunk Jonatan Soto sent the following on 6/10/2010 3:54 PM: Very clever. Thanks BJ.BTW, which platform is used to make the snapshots? i386? On Thu, Jun 10, 2010 at 10:03 PM, BJ Freeman<[email protected]> wrote: yes so I just dowget http://ci.apache.org/projects/ofbiz/snapshots/ofbiz-trunk-current.zip since it is compiled ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation< http://www.businessesnetwork.com/automation/viewforum.php?f=52> Specialtymarket.com<http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin< http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_proJonatan Soto sent the following on 6/10/2010 11:52 AM: I found a very silly workaround that momentarily solves the issue.ProductSearchSession.java (line 1231): String str1 = (String) searchResult.get("pfacProductFeatureId"); String str2 = (String) searchResult.get("pfcProductFeatureTypeId"); String str3 = (String) searchResult.get("pfcDescription"); String str4 = Long.toString((Long) searchResult.get("featureCount")); Map map = UtilMisc.toMap("productFeatureId", str1, "productFeatureTypeId", str2, "description", str3, "featureCount", str4); featureCountList.add(map); I just extract the map field out of the *List*.add(...) method and it works. After I did this modification I faced more compiling error classes like that involves UtliMisc.toMap(...) method calls: InvoiceServices.java OagisInventoryServices.java .... (wip) So I think there's is a bug in the OpenJDK1.6 stable package for Debian (even with Sun JDK as Matt noted before) when a (static?) generic method is used as a parameter. This is just my guess... Hope it helps. On Thu, Jun 10, 2010 at 7:23 PM, Jonatan Soto<[email protected]wrote:Hi Matt,I am experiencing exactly the same issue. Have you found any solution? System: Debian Lenny stable Java version: java version "1.6.0_0" OpenJDK Runtime Environment (build 1.6.0_0-b11) OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode) Ofbiz r952591 ------ I have also a working Ofbiz instance on my PC running a two months ago revision. The SO is Ubuntu Karmic and it's working fine. Regards, On Tue, May 18, 2010 at 6:03 PM, Matt Warnock< [email protected]> wrote: I am compiling from the command line, using openjdk, "java -version"gives the following: java version "1.6.0_0" OpenJDK Runtime Environment (build 1.6.0_0-b11) OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode) -- Matt Warnock<[email protected]> RidgeCrest Herbals, Inc. On Tue, 2010-05-18 at 04:47 -0700, BJ Freeman wrote: I just noticed in eclipse it gave me an error on that file aboutmaps. that was because I had I assigned 1.4 to the project. when I changed the runtime 1.6_08 the errors went away. do a java -version to see what you are compiling with. ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation< http://www.businessesnetwork.com/automation/viewforum.php?f=93>Specialtymarket.com<http://www.specialtymarket.com/>Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_proBJ Freeman sent the following on 5/18/2010 4:33 AM: Just compiled latest rev successfully.strange it would stop on that file since map is used in the framework which compiled fine. how about memory on the machine? I have seen strange compile errors when the compiler runs out of memory.========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation< http://www.businessesnetwork.com/automation/viewforum.php?f=93>Specialtymarket.com<http://www.specialtymarket.com/>Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_proBJ Freeman sent the following on 5/18/2010 4:03 AM: what the error says in that it can not find a certain class in theclasspath. my guess is the map method which would be in the JDK runtime.as far as debian Adam Health is the one that puts Debian specificitemsin. Not sure he reads the user mailing list. Might give him a shoutonthe dev ML.I have not run 10;.04 on my centos which as Open JDK, but I doubt it isthe same distro as debian.I am downloading through eclipse on to my dev machine it is slow.so will let you know if it compiles, later this day. ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation< http://www.businessesnetwork.com/automation/viewforum.php?f=93>Specialtymarket.com<http://www.specialtymarket.com/>Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_proMatt Warnock sent the following on 5/17/2010 11:59 PM: Have tried it with and without "ant clean" before, usually running"antrun-install", but also various other "ant" and "./ant" targets. NotsureI understand the difference between ./ant and the system ant.Wish I understood the error messages better.
