fud0 / javacef

Automatically exported from code.google.com/p/javacef
0 stars 0 forks source link

Can we send JAVACEF_PATH value as system property ? #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

Is there a way not to depend on JAVACEF_PATH as environment variable ?.
I looked at the code, it is using as current working directory.

It would be nice to pass as java's system property like '-DJAVACEF_PATH=/a/b/c'

Any suggestions ?

Original issue reported on code.google.com by kscr...@gmail.com on 6 Aug 2014 at 1:24

GoogleCodeExporter commented 9 years ago
Thinking about using getcwd() ..

Will this approach succeed ?

Original comment by kscr...@gmail.com on 6 Aug 2014 at 1:26

GoogleCodeExporter commented 9 years ago
I think both of your methods will work. chromium_loader_win.cpp uses getcwd(), 
so you can take it as a reference.

Original comment by wjyw...@gmail.com on 7 Aug 2014 at 1:51