Re: [JPP-Devel] ecw 0.0.7 plugin error

2011-09-17 Thread Rahkonen Jukka
Hi,

I managed to get a result that I can repeat on Vista 32-bit.
1) jre-6u23-windows-x32 (from Kosmo setup) - start with oj_windows.bat
OpenJUMP nightly - jecw-0.0.7.jar (from Ede) - jecw.dll and the four NCSxxx-dll 
taken from gvSIG 1.11.0 final

This combination opens and shows a 2.6 GB ECW image very fast.

2) Same setup but start with OpenJUMP.exe wich leads to use of the Windows 
default jre-6u27-windows-x32
Result is the familiar
com.vividsolutions.jump.JUMPException: C:\Program Files\Java\jre6\bin\jecw.dll: 
Can't find dependent libraries

The dlls from gvSIG are different from those sent be Ede.
20.01.2011  12:3919 968 jecw.dll
20.01.2011  12:3949 664 NCScnet.dll
20.01.2011  12:39 1 318 400 NCSEcw.dll
20.01.2011  12:3929 184 NCSEcwC.dll
20.01.2011  12:39   128 512 NCSUtil.dll

Probably the dll version is not important but all the dlls must belong to the 
same set. I believe that with the Vista computer I was getting a dll version 
mismatch situation and therefore I was getting those Java fatal errors with all 
Java versions. I have installed gvSIG without included jre and obviously gvSIG 
has had some troubles with finding the correct dlls with that installation 
method. They have solved the trouble by copying all the dll files into system 
default Java jre\bin directory.

My case looks the same as Peppe's 2 c. For me it works now, for Peppe not. 
Maybe you should check if jre\bin contains copies of the dlls and if you have 
the same dlls from gvSIG 1.11.0 final as I do.

-Jukka Rahkonen-



Lähettäjä: Giuseppe Aruta [giuseppe_ar...@yahoo.it]
Lähetetty: 17. syyskuuta 2011 11:32
Vastaanottaja: OpenJump develop and use
Aihe: Re: [JPP-Devel] ecw 0.0.7 plugin error

Hi all
I did  some tests this morning on ECW on Windows 7 64 bit.

1)  jre-6u27-windows-x64 fresh installed  -  oj.windows.bat
a)  openjump-bin-1.4.2.zip -  ermapper.jar  -  original OJ embedded ECW dll
- Openjump opens with no problem
- ecw file is shown on layer list
- ecw is NOT displayed on the view
b)   openjump-bin-1.4.2.zip -  jecw-0.0.7.jar (from Ede) and jecw.dll - 
original OJ embedded ECW dll
- Openjump opens with no problem
- ecw file is shown on layer list
- ecw is NOT displayed on the view
c)openjump-bin-1.4.2.zip - jecw-0.0.7.jar (from Ede) and jecw.dll - 
substituted original ECW dll with GvSIG ones.
- Openjump opens with no problem
- ecw file is shown on layer list
- ecw is NOT displayed on the view


2)  jre-6u23-windows-x32 (from Kosmo setup)  -  oj_windows.bat

a)  openjump-bin-1.4.2.zip -  ermapper.jar  -  original OJ embedded ECW dll
 - Openjump opens with no problem
- ecw file is shown on layer list
- ecw  is displayed on the view (OK)
b)   openjump-bin-1.4.2.zip - jecw-0.0.7.jar (from Ede) and jecw.dll - original 
OJ embedded ECW dll
- Openjump opens with no problem
- ecw file is shown on layer list
- ecw is NOT displayed on the view
c)openjump-bin-1.4.2.zip - jecw-0.0.7.jar (from Ede) and jecw.dll - 
substituted original ECW dll with GvSIG ones.
- Openjump opens with no problem
- ecw file is shown on layer list
- ecw is NOT displayed on the view
- Occasionally OJ crashes when it tries to load ecw (?)

3)  jre-6-05-windows-x32 (from Kosmo setup)  -  oj_windows.bat

Everything works file. ECW files are opened either with ermapper library or 
with GvSIG ones

--

I think, limiting to my Windows 7, that
- Both ErMapper and GvSIG libraries don't  work with jre-6u27-windows-x64
- GvSIG libraries don't work with jre-6u23-windows-x32
- ErMapper libraries work with jre-6u23-windows-x32
- Both ErMapper and GvSIG libraries work with jre-6-05-windows-x64

-

Limiting to Ubuntu 11.04 and OpenJDK

- Ermapper libraries doesn't work
- GvSIG libraries work fine



Peppe

Da: Rahkonen Jukka jukka.rahko...@mmmtike.fi
A: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net
Inviato: Venerdì 16 Settembre 2011 23:58
Oggetto: Re: [JPP-Devel] ecw 0.0.7 plugin error

Hi,

Still one observation:  For some reason the fresh Java directory C:\Program 
Files\Java\jre6\bin contains now all those five dlls from the plugin.  Is it 
somehow possible that the plugin was copying them?  Because I do not believe it 
was me. It could be gcSIG too.

-Jukka-

Lähettäjä: Rahkonen Jukka 
[jukka.rahko...@mmmtike.fimailto:jukka.rahko...@mmmtike.fi]
Lähetetty: 17. syyskuuta 2011 0:18
Vastaanottaja: OpenJump develop and use
Aihe: Re: [JPP-Devel] ecw 0.0.7 plugin error

Hi,

I have removed all Java versions listed by Windows control panel and 
re-installed version 1.6.0_27.  The ecw 0.0.7 plugin does not definitely work 
with this Vista Business 32-bit computer either.  The OJ 1.4.2 release version 
does work with the same images with the included dlls and ermapper.jar.  And 
gvSIG opens 

Re: [JPP-Devel] ecw 0.0.7 plugin error

2011-09-17 Thread Rahkonen Jukka
Sorry, copy-pasted from the old error when jre6\bin still contained copies of 
the dll files. Error is the same if they can only be found from OJ\lib\ext.

com.vividsolutions.jump.JUMPException: 
C:\ohjelmat\openjump_143\lib\ext\jecw.dll: Can't find dependent libraries

-Jukka-

Lähettäjä: Rahkonen Jukka [jukka.rahko...@mmmtike.fi]
Lähetetty: 17. syyskuuta 2011 13:05
Vastaanottaja: Giuseppe Aruta; OpenJump develop and use
Aihe: Re: [JPP-Devel] ecw 0.0.7 plugin error

Hi,

I managed to get a result that I can repeat on Vista 32-bit.
1) jre-6u23-windows-x32 (from Kosmo setup) - start with oj_windows.bat
OpenJUMP nightly - jecw-0.0.7.jar (from Ede) - jecw.dll and the four NCSxxx-dll 
taken from gvSIG 1.11.0 final

This combination opens and shows a 2.6 GB ECW image very fast.

2) Same setup but start with OpenJUMP.exe wich leads to use of the Windows 
default jre-6u27-windows-x32
Result is the familiar
com.vividsolutions.jump.JUMPException: C:\Program Files\Java\jre6\bin\jecw.dll: 
Can't find dependent libraries

The dlls from gvSIG are different from those sent be Ede.
20.01.2011  12:3919 968 jecw.dll
20.01.2011  12:3949 664 NCScnet.dll
20.01.2011  12:39 1 318 400 NCSEcw.dll
20.01.2011  12:3929 184 NCSEcwC.dll
20.01.2011  12:39   128 512 NCSUtil.dll

Probably the dll version is not important but all the dlls must belong to the 
same set. I believe that with the Vista computer I was getting a dll version 
mismatch situation and therefore I was getting those Java fatal errors with all 
Java versions. I have installed gvSIG without included jre and obviously gvSIG 
has had some troubles with finding the correct dlls with that installation 
method. They have solved the trouble by copying all the dll files into system 
default Java jre\bin directory.

My case looks the same as Peppe's 2 c. For me it works now, for Peppe not. 
Maybe you should check if jre\bin contains copies of the dlls and if you have 
the same dlls from gvSIG 1.11.0 final as I do.

-Jukka Rahkonen-



Lähettäjä: Giuseppe Aruta [giuseppe_ar...@yahoo.it]
Lähetetty: 17. syyskuuta 2011 11:32
Vastaanottaja: OpenJump develop and use
Aihe: Re: [JPP-Devel] ecw 0.0.7 plugin error

Hi all
I did  some tests this morning on ECW on Windows 7 64 bit.

1)  jre-6u27-windows-x64 fresh installed  -  oj.windows.bat
a)  openjump-bin-1.4.2.zip -  ermapper.jar  -  original OJ embedded ECW dll
- Openjump opens with no problem
- ecw file is shown on layer list
- ecw is NOT displayed on the view
b)   openjump-bin-1.4.2.zip -  jecw-0.0.7.jar (from Ede) and jecw.dll - 
original OJ embedded ECW dll
- Openjump opens with no problem
- ecw file is shown on layer list
- ecw is NOT displayed on the view
c)openjump-bin-1.4.2.zip - jecw-0.0.7.jar (from Ede) and jecw.dll - 
substituted original ECW dll with GvSIG ones.
- Openjump opens with no problem
- ecw file is shown on layer list
- ecw is NOT displayed on the view


2)  jre-6u23-windows-x32 (from Kosmo setup)  -  oj_windows.bat

a)  openjump-bin-1.4.2.zip -  ermapper.jar  -  original OJ embedded ECW dll
 - Openjump opens with no problem
- ecw file is shown on layer list
- ecw  is displayed on the view (OK)
b)   openjump-bin-1.4.2.zip - jecw-0.0.7.jar (from Ede) and jecw.dll - original 
OJ embedded ECW dll
- Openjump opens with no problem
- ecw file is shown on layer list
- ecw is NOT displayed on the view
c)openjump-bin-1.4.2.zip - jecw-0.0.7.jar (from Ede) and jecw.dll - 
substituted original ECW dll with GvSIG ones.
- Openjump opens with no problem
- ecw file is shown on layer list
- ecw is NOT displayed on the view
- Occasionally OJ crashes when it tries to load ecw (?)

3)  jre-6-05-windows-x32 (from Kosmo setup)  -  oj_windows.bat

Everything works file. ECW files are opened either with ermapper library or 
with GvSIG ones

--

I think, limiting to my Windows 7, that
- Both ErMapper and GvSIG libraries don't  work with jre-6u27-windows-x64
- GvSIG libraries don't work with jre-6u23-windows-x32
- ErMapper libraries work with jre-6u23-windows-x32
- Both ErMapper and GvSIG libraries work with jre-6-05-windows-x64

-

Limiting to Ubuntu 11.04 and OpenJDK

- Ermapper libraries doesn't work
- GvSIG libraries work fine



Peppe

Da: Rahkonen Jukka jukka.rahko...@mmmtike.fi
A: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net
Inviato: Venerdì 16 Settembre 2011 23:58
Oggetto: Re: [JPP-Devel] ecw 0.0.7 plugin error

Hi,

Still one observation:  For some reason the fresh Java directory C:\Program 
Files\Java\jre6\bin contains now all those five dlls from the plugin.  Is it 
somehow possible that the plugin was copying them?  Because I do not believe it 
was me. It could be gcSIG too.

-Jukka-

Lähettäjä: Rahkonen 

Re: [JPP-Devel] ecw 0.0.7 plugin error

2011-09-17 Thread edgar . soldin
On 16.09.2011 23:58, Rahkonen Jukka wrote:
 Hi,
 
 Still one observation:  For some reason the fresh Java directory C:\Program 
 Files\Java\jre6\bin contains now all those five dlls from the plugin.  Is it 
 somehow possible that the plugin was copying them?  Because I do not believe 
 it was me. It could be gcSIG too.
   

yes it is gvsig.

a tip: after you installed (preferrably) a jdk, because they end up with cure 
version numbered folders in programs folder. copy the whole folder to somewhere 
else and use it form there. this way you can have a collection of jre's (every 
jdk is a full jre) to switch between by putting the path in batch file.

ede

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] ecw 0.0.7 plugin error

2011-09-17 Thread edgar . soldin
On 16.09.2011 22:51, Michaël Michaud wrote:
 Hi,
 i tried and it failed with at least the asian character. maybe we have to 
 extend the allowed charset to ansi. could you try

 /folder ÿ ڞ/
 Does not work with those characters

seems the new libs understand ansi. i changed the source and error strings and 
throw the error only if file path is not ansi compatible.

 i have no problem to leave them in lib/ext . thats the place for 
 extension code, if java or native who cares? we will run into problems 
 if different platforms provide libs with identical names. that will be 
 the time to split them into folders and make the starters or workbench 
 intelligent enough to find them. but for now i am satisfied. 
 My points were :
 - why jecw-0.0.7.jar would be in lib folder (= core or required 
 libraries) and dll in ext folder (= extension or optional libraries) if 
 jar file needs dlls

it does not during compile time, only later during runtime. having the jar in 
lib will always show ecw as available file source, but throw an error if the 
libs do not work correctly. we could throw message about not supported 
platforms, but i guess 'cannot find jecw lib' says it too kind off ;). i don't 
want to polish this to much because it might be replaced by geotools2/gdal in 
the future.

 - when there are many files in ext folder with some files depending on 
 each others, it is difficult to manage as long as we don't have a good 
 plugin manager.

yeah, that's the status quo anyway. but it seems we might need to separate the 
folders because of incompatibilities. if so i think

lib/native/[win,linux]/[x86,amd64]

could work.

regards ede

 
 Cheers,
 
 Michaël
 Anyway, thanks a lot for your efforts,
 happens ;) when you come across code that seems to do what your code doesn't.

 ede


 Michaël

 Le 16/09/2011 15:12, edgar.sol...@web.demailto:edgar.sol...@web.de  a 
 écrit :
 could you please try the attached?
 i operated them out of gvsig 1.11 and they seem to work even with xp.

 as a little gadget i took the linux libs as well.
 @Arnd: could you please check if you can load ecw with the attached files 
 copied accordingly. please remove/rename 'lib/ermapper.jar' if you have it 
 there and use the attched oj_linux.sh to start oj.

 ede

 On 16.09.2011 14:35, Rahkonen Jukka wrote:
 Hi,

 Yes, nightly build shows the error

 com.vividsolutions.jump.JUMPException: 
 D:\ohjelmat\OpenJUMP_142_d_ECW\lib\ext\jecw.dll: Can't find dependent 
 libraries
   at 
 com.vividsolutions.jump.workbench.imagery.ecw.ECWImage.init(ECWImage.java:92)
   at 
 com.vividsolutions.jump.workbench.imagery.ecw.ECWImage.init(ECWImage.java:70)
   at 
 com.vividsolutions.jump.workbench.imagery.ecw.ECWImageFactory.createImage(ECWImageFactory.java:67)
   at 
 com.vividsolutions.jump.workbench.imagery.ImageryLayerDataset.createImage(ImageryLayerDataset.java:77)
   at 
 org.openjump.core.ui.io.file.ReferencedImageFactoryFileLayerLoader.createFeature(ReferencedImageFactoryFileLayerLoader.java:223)
   at 
 org.openjump.core.ui.io.file.ReferencedImageFactoryFileLayerLoader.open(ReferencedImageFactoryFileLayerLoader.java:122)
   at 
 org.openjump.core.ui.plugin.file.open.OpenFileWizard.run(OpenFileWizard.java:131)
   at 
 org.openjump.core.ui.plugin.file.OpenWizardPlugIn.run(OpenWizardPlugIn.java:93)
   at 
 com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152)
   at java.lang.Thread.run(Unknown Source)

 -Jukka-

 edgar.soldin wrote:

 just checked, works fine with java 5,6,7 x86 on windows 7.
 in xp it throws
 ..\jecw.dll Can't find dependent libraries.

 I guess the dll's are missing some runtime that is available in Win7 out 
 of the box.
 Do you get the same error jukka?
 Please try this with the nightly build, as it contains a fix where 
 errors where silently ignored.
 thanks ede
 On 16.09.2011 12:25, Rahkonen Jukka wrote:
 Hi,

 I tried to test your plugin with OJ 1.4.2 release but unfortunately it 
 does not show my ecw images.  I tested first that the OpenJUMP 1.4.2 
 release version opens and shows the images. Then I removed the original 
 ECW files (ermapper.jar and the dll files) and used your plugin files 
 instead.  Now the ecw file appears in the layer list but the image does 
 not show. I do not get any errors into openjump.log file. The layer 
 properties tool reports layer extents as 0,0,-1, -1

   I verified that I have not troubles with gvSIG version 1.11 final 
 which seems to contain the same files.  I am runnin Windows XP Pro and 
 Java 1.6.0_27.

 -Jukka Rahkonen-


  *Lähettäjä:* Giuseppe Aruta [mailto:giuseppe_ar...@yahoo.it]
  *Lähetetty:* 16. syyskuuta 2011 11:07
  *Vastaanottaja:* OpenJump develop and use
  *Aihe:* Re: [JPP-Devel] ecw license WAS: Re: ecw bugfix

  Hi,

  some months ago I tested GvSIG ECW lib (jecw.jar) with OpenJUMP - 
 It was working fine, even faster than ErMapper.jar from ErMapper.
  With this lib GvSIG team seems to have 

Re: [JPP-Devel] ecw 0.0.7 plugin error

2011-09-17 Thread Rahkonen Jukka
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.

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.
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 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.

-Jukka Rahkonen-



Lähettäjä: edgar.sol...@web.de [edgar.sol...@web.de]


 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)


--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] ecw 0.0.7 plugin error

2011-09-17 Thread edgar . soldin
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ä: edgar.sol...@web.de [edgar.sol...@web.de]
 
 
 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)
 
 
 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 http://p.sf.net/sfu/rim-devcon-copy2
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] ecw 0.0.7 plugin error

2011-09-17 Thread Rahkonen Jukka
Hi,

The exact error is the same that I had yesterday with XP + jre 1.6.0_27.  I 
would guess that ReferencedImageFactory is trying to find the georeferencing 
info?  Perhaps that is the failing part and 1.4.2 release without your 
ecxeption report mechanism shows the image on the list but image info tells 
that the image extents are something like (0,0,1,1). 

com.vividsolutions.jump.JUMPException: 
C:\ohjelmat\openjump_143\lib\ext\jecw.dll: Can't find dependent libraries
at 
com.vividsolutions.jump.workbench.imagery.ecw.ECWImage.init(ECWImage.java:92)
at 
com.vividsolutions.jump.workbench.imagery.ecw.ECWImage.init(ECWImage.java:70)
at 
com.vividsolutions.jump.workbench.imagery.ecw.ECWImageFactory.createImage(ECWImageFactory.java:67)
at 
com.vividsolutions.jump.workbench.imagery.ImageryLayerDataset.createImage(ImageryLayerDataset.java:77)
at 
org.openjump.core.ui.io.file.ReferencedImageFactoryFileLayerLoader.createFeature(ReferencedImageFactoryFileLayerLoader.java:223)
at 
org.openjump.core.ui.io.file.ReferencedImageFactoryFileLayerLoader.open(ReferencedImageFactoryFileLayerLoader.java:122)
at 
org.openjump.core.ui.plugin.file.open.OpenFileWizard.run(OpenFileWizard.java:131)
at 
org.openjump.core.ui.plugin.file.OpenWizardPlugIn.run(OpenWizardPlugIn.java:93)
at 
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152)
at java.lang.Thread.run(Unknown Source)

-Jukka-

Lähettäjä: edgar.sol...@web.de [edgar.sol...@web.de]
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ä: edgar.sol...@web.de [edgar.sol...@web.de]


 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)


 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 http://p.sf.net/sfu/rim-devcon-copy2
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net

Re: [JPP-Devel] ecw 0.0.7 plugin error - Got it!

2011-09-17 Thread Rahkonen Jukka
Hi,

While doing other things I got an idea to edit oj_windows.bat to use those new 
high Java versions
set JAVA_HOME=C:\Program Files\Java\jre7
Now ECW files open and show with jecw 0.0.7.

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.

-Jukka-




Lähettäjä: edgar.sol...@web.de [edgar.sol...@web.de]
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ä: edgar.sol...@web.de [edgar.sol...@web.de]


 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)


 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 http://p.sf.net/sfu/rim-devcon-copy2
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] ecw 0.0.7 plugin error - Got it!

2011-09-17 Thread edgar . soldin
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ä: edgar.sol...@web.de [edgar.sol...@web.de]
 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ä: edgar.sol...@web.de [edgar.sol...@web.de]


 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)


 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 http://p.sf.net/sfu/rim-devcon-copy2
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 http://p.sf.net/sfu/rim-devcon-copy2
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 

Re: [JPP-Devel] ecw 0.0.7 plugin error - Got it!

2011-09-17 Thread Rahkonen Jukka
Feel ashemed.
For what openjump.exe is better? Do we really need it?

-Jukka-

Lähettäjä: edgar.sol...@web.de [edgar.sol...@web.de]
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ä: edgar.sol...@web.de [edgar.sol...@web.de]
 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ä: edgar.sol...@web.de [edgar.sol...@web.de]


 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)


 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 http://p.sf.net/sfu/rim-devcon-copy2
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

 

Re: [JPP-Devel] ecw 0.0.7 plugin error - Got it!

2011-09-17 Thread edgar . soldin
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ä: edgar.sol...@web.de [edgar.sol...@web.de]
 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ä: edgar.sol...@web.de [edgar.sol...@web.de]
 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ä: 

[JPP-Devel] ecw 0.0.7 plugin error - a proposal

2011-09-17 Thread Giuseppe Aruta
Greetings from Pitigliano

unfortunatelly I  left my house for job, after my last test and I wiil be 
around for work for at least 10 days.
So I cannot test again ECW with your advices (version of jre and version of ecw 
gvsig libraries).
Anyhow, as I can see from other distro (tell if I am wrong), there is no 
possibility to have ecw support with jre 64 bit, So users of Windows 7 (at 
least the newer version) have anyhow to configure OJ with any external jre 32 
bit,
and I am not sure if ErMapper will make available new libraries for the newer 
OS at that speed.
As I wrote you it was really a big surprise for me to have ecw support under 
Linux (and OpenJDK). I think I will do more test when I will be back  but 
the majority of my students use Windows 7, Vista and XP .

The proposal
For the moment, we can distribute the two libraries (ermapper and jecw) 
separately as windows and linuxlibraries for  ECW files.
In the future we might find a solution

@Ede - I probabily have an old installation of GvSIG OADE version on a MacOSX 
at the office in Bologna
. I am not sure if it works with ecw. When I will be back to Bologna on 26th I 
will check the native libraries for ecw and send to you



regarde

Giuseppe


PS Pitigliano, the place where I am now ( 
http://www.tuscany-charming.it/en/places/pitigliano.asp) unfortunatelly for work



Da: edgar.sol...@web.de edgar.sol...@web.de
A: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net
Inviato: Sabato 17 Settembre 2011 17:27
Oggetto: Re: [JPP-Devel] ecw 0.0.7 plugin error - Got it!

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ä: edgar.sol...@web.de [edgar.sol...@web.de]
 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ä: edgar.sol...@web.de [edgar.sol...@web.de]
 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. 

Re: [JPP-Devel] ecw 0.0.7 plugin error - a proposal

2011-09-17 Thread Edgar Soldin
On 17.09.2011 20:28, Giuseppe Aruta wrote:
 Greetings from Pitigliano

i want jobs that bring me to pitigliano, what do you do there? :)

 unfortunatelly I  left my house for job, after my last test and I wiil be 
 around for work for at least 10 days.
 So I cannot test again ECW with your advices (version of jre and version of 
 ecw gvsig libraries).

no worries everything we work out will be in the next stable, which is far in 
front of us. or better michael ;)

 Anyhow, as I can see from other distro (tell if I am wrong), there is no 
 possibility to have ecw support with jre 64 bit, So users of Windows 7 (at 
 least the newer version) have anyhow to configure OJ with any external jre 32 
 bit,

which they can do pretty easy by editing the path the jre of their choice in 
oj_windows.bat

 and I am not sure if ErMapper will make available new libraries for the newer 
 OS at that speed.

they never did, it seems like they restricted their license conditions in 
version after 3.3 so much that open source projects like gdal or gvsig either 
use the old 3.3 sdk code or leave it to you to license the sdk from erdas. 
biggest issue apart form not allowed to distribute the libs ourself would be 
the license condition to always support file and streaming erdas datasources.

anyway, the binaries from gvsig are pretty sure built from ecw sdk code, but by 
gvsig people.

 As I wrote you it was really a big surprise for me to have ecw support under 
 Linux (and OpenJDK). I think I will do more test when I will be back  but 
 the majority of my students use Windows 7, Vista and XP .

i was surprised as well, when i saw the libs in their svn, that's why i 
actually had a look at the linux gvsig.

 
 The proposal
 For the moment, we can distribute the two libraries (ermapper and jecw) 
 separately as windows and linuxlibraries for  ECW files.
 In the future we might find a solution

let's narrow down where the new ecw libs work, and where not, and then discuss 
how to merge this with the existing ecw support. i think we are all on the same 
page that at least the old ecw support should be included in the standard 
distro with a proper license acknowledgement.

 
 @Ede - I probabily have an old installation of GvSIG OADE version on a MacOSX 
 at the office in Bologna
 . I am not sure if it works with ecw. When I will be back to Bologna on 26th 
 I will check the native libraries for ecw and send to you

doubt you will find any, but looking forward to whatever you dig up
here some info that they couldn't do it during the reign of osx 10.4
http://iws.erdas.com/forum/ecw-sdk-in-os-x-10-3-10-4-examples-almost-work.aspx

 .. kind regards ede

 
 
 regarde
 
 Giuseppe
 
 
 PS Pitigliano, the place where I am now ( 
 http://www.tuscany-charming.it/en/places/pitigliano.asp) unfortunatelly for 
 work
 *Da:* edgar.sol...@web.de edgar.sol...@web.de
 *A:* OpenJump develop and use jump-pilot-devel@lists.sourceforge.net
 *Inviato:* Sabato 17 Settembre 2011 17:27
 *Oggetto:* Re: [JPP-Devel] ecw 0.0.7 plugin error - Got it!
 
 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ä: edgar.sol...@web.de mailto:edgar.sol...@web.de 
 [edgar.sol...@web.de mailto:edgar.sol...@web.de]
 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