it's end user bling. unfortunately it is not as flexible as the good old script. but i am not sure that we can't convince it to properly tell java where native libs are, i just know it doesn't work with the new ecw libs.
i'd prefer to have a wrapper that calls the batch file, but unfortunately that's a virus technique so most of these generators end up as false alarms. not good either. ede PS: next time just answer my questions point by point usually i have a reason to query :) On 17.09.2011 17:21, Rahkonen Jukka wrote: > Feel ashemed. > For what openjump.exe is better? Do we really need it? > > -Jukka- > ________________________________________ > Lähettäjä: [email protected] [[email protected]] > Lähetetty: 17. syyskuuta 2011 18:13 > Vastaanottaja: OpenJump develop and use > Aihe: Re: [JPP-Devel] ecw 0.0.7 plugin error - Got it! > > Ahem .. > > i am pretty sure that i mentioned _not_ to use the exe launcher as it does > not support that native libraries properly for now. > > test scenario _must_ be: > > - get fresh nightly build and extract > - install jecw_0.0.7.jar 'lib/' and ecw libs (1.9,10 or 11) 'lib/ext' > - edit oj_windows.bat to use whichever jdk you want to test against (make > sure it has no jecw libs in 'bin' folder) > - set JAVA_BIN to java if you want the console to keep open > - further down is a version output that can be commented out for checking > - happy testing > >> >> Before this I had started OpenJUMP through openjump.exe. It starts the >> Windows default jre, for example 1.7.0 but obviously it is not doing totally >> same things. Perhaps after openjump.exe start some libraries are searched >> according to the system wide variable JAVA_HOME ? I can see that after jre >> 1.7 install JAVA_HOME is still pointing to some jre 1.6.0 version. Still >> giving java -version is listing jre 1.7.0 as a default jre version. >> > > setting the default java version is kind of uncoordinated and JAVA_HOME does > not necessarily point to the default jre, because recent jre's place binaries > in windows/system32 or such to be in path. > > generally the latest installed jre set's itself default, either by adjusting > PATH or by copying itself into windows system folders. this is at least as > far as i figured it out so far. > > > ede > > PS: _always_ use oj_windows.bat when trying to use the new ecw libs > > >> >> >> ________________________________________ >> Lähettäjä: [email protected] [[email protected]] >> Lähetetty: 17. syyskuuta 2011 16:45 >> Vastaanottaja: OpenJump develop and use >> Aihe: Re: [JPP-Devel] ecw 0.0.7 plugin error >> >> On 17.09.2011 15:23, Rahkonen Jukka wrote: >>> Hi, >>> >>> I have been testing with the nightly one since yesterday morning. >>> >>> With my Vista no combination shows ECW image with jre 1.6.0_27 or 1.7.0. >>> GvSIG binaries 1.10 and 1.11 do work if I have jre 1.6.0_23. I have not >>> tried with 1.6.0 updates 24, 24 or 26. >> >> what was the exact error? >> do you say 1.10,1.11 did not work for you reliably with vista and jdks 1.6 & >> 7? >> >>> The ermapper.jar + "original" ecw-dlls are working OK with all Java >>> versions I have tried both on XP and Vista. The speed is good. I remember >>> there was some trouble with zooming outside the edge of the ECW image area >>> but right now I could not repeat that error. >> >> this is really a reason to keep them. true. >> >> as far as i understand the new 0.0.7 adds some sort of compressed ecw >> support and is faster. but i can't judge that. >> >>> I think that we should have a really good reason for taking the new >>> jecw.jar system as a standard for Windows delivery if it brings together >>> the nasty operating system - jre version - dll version dependency. >> >> it starts with linux, because we cannot have ermapper.jar & jecw-0.0.7.jar >> both in libs. they contain conflicting class definitions, so we would have >> to route that as well. >> i'd argue we should give oj users to read ecw files. >> >>> It is practically impossible for normal users to get and install old jre >>> versions. I believe it is only possible through the Oracle Technology >>> Network after creating an account, and installing the exe file requires >>> Windows admin rights. >> >> since sun was oracled it is not that easy to find anymore but still there >> for everybody e.g. >> http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase5-419410.html >> find this under >> http://www.oracle.com/technetwork/java/javase/downloads/index.html >> click 'previous releases' on top, on the following page find 'Archived >> releases' >> >> because oracle changes the pages so much i usually google 'java jdk' or >> 'java se' and the correct downloads page is found. >> >> i hear that it does not work for you but i am sure we are on the right way. >> i am also sure that there are no java version issues here, except of jdk5 >> does not show any problems. during my tests all java 6/7 behaved identical. >> >> i will test on vista32/64 here and come back with results. >> >> ede >> >>> -Jukka Rahkonen- >>> >>> >>> ________________________________________ >>> Lähettäjä: [email protected] [[email protected]] >>> >>> >>>> my current conclusion is that we can assume >>>> 1.09 works reliably with XP >>>> 1.10/11 reliably on Win7 (i assume also on Vista, will have to test though) >>> >>> >>> ------------------------------------------------------------------------------ >>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >>> http://p.sf.net/sfu/rim-devcon-copy2 >>> _______________________________________________ >>> Jump-pilot-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> >> ------------------------------------------------------------------------------ >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >> http://p.sf.net/sfu/rim-devcon-copy2 >> _______________________________________________ >> Jump-pilot-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> >> ------------------------------------------------------------------------------ >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >> http://p.sf.net/sfu/rim-devcon-copy2 >> _______________________________________________ >> Jump-pilot-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > http://p.sf.net/sfu/rim-devcon-copy2 > _______________________________________________ > Jump-pilot-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > http://p.sf.net/sfu/rim-devcon-copy2 > _______________________________________________ > Jump-pilot-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 _______________________________________________ Jump-pilot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
