Hi Guillaume,

Thank you for your feedback. 
Yes I already add it to the PATH. But since it works on your test I will 
try on another windows machine. Maybe it is a problem with my installation.

Which XDK version do you use ?

Baptiste 


On Thursday, January 11, 2018 at 6:25:31 PM UTC+1, Guillaume Pasero wrote:
>
> Hi Baptiste,
>
> I enabled Java wrappings on the windows platforms from the Dashboard. 
> Tests are running fine, for instance : 
>
> https://dash.orfeo-toolbox.org/testDetails.php?test=65717422&build=305063
>
> Here is the corresponding Java test file : 
>
>
> https://git.orfeo-toolbox.org/otb.git/blob/HEAD:/Modules/Wrappers/SWIG/test/java/JavaSmoothingTest.java
>
> On Windows there is a specific action done in the CMakeLists.txt :
>
> if (WIN32)
>   set( PATH_SEPARATOR ";")
>   # on windows, loading the module _otbApplication requires the 
> otbossimplugins*.dll
>   # which is in the 'bin' folder
>   set(TEST_DRIVER ${TEST_DRIVER}
>     --add-before-env PATH ${OTB_BINARY_DIR}/bin)
> endif()
>
> If you add ${OTB_BINARY_DIR}/bin to your PATH, does it work better ?
>
> Regards,
>
> Guillaume
>
> On 11/19/2017 06:41 PM, Baptiste Lafabregue wrote:
>
> Hello, 
>
> I compiled OTB on windows, the otb applications are working perfectly 
> fine. But when I want to access to the list of the application or load a 
> given application from the java wrapper, the program raise the following 
> exception :
>
> Exception in thread "main" java.lang.RuntimeException: bad allocation
> at 
> org.otb.application.otbApplicationJNI.Registry_CreateApplicationInternal(Native
>  
> Method)
> at org.otb.application.Registry.CreateApplicationInternal(Registry.java:45)
> at org.otb.application.Registry.CreateApplication(Registry.java:36)
>              ...
>
> The strangest thing about this, is that I don't have any problem with the 
> linux version that I'm using. 
> Is there any known issues about it ?
>
>
> Best Regards,
> Baptiste
> -- 
> -- 
> Check the OTB FAQ at
> http://www.orfeo-toolbox.org/FAQ.html
>  
> You received this message because you are subscribed to the Google
> Groups "otb-users" group.
> To post to this group, send email to [email protected] 
> <javascript:>
> To unsubscribe from this group, send email to
> [email protected] <javascript:>
> For more options, visit this group at
> http://groups.google.com/group/otb-users?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "otb-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
> <http://www.c-s.fr> *Guillaume PASERO*
> Responsable technique
> *Business Unit ESPACE & GeoInformation - Département Payload Data & 
> Applications*
>
> *CS Systèmes d'Information*
> Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
> 31506 Toulouse Cedex 05 - FRANCE
> +33 561 17 64 21 - [email protected] <javascript:> 
>

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to