Install Collect in another folder

  • Asked
  • Active
  • Viewed 3848 times
0

Hello,

Because of some security application lock measures, internally here in my company pc settings, I cannot easily run the OpenForisCollect-launcher 3.13.9. Even when adding an exception to run the launcher in this folder (C:\OpenForis) I receive an error.

So I would like to use another install folder where I'm authorized to launch applications, named E:\Dev\OpenForis\ Is it possible to do it? I cannot find the way to make it.

Thank you Andrea

0

Accepted answer

This is the error I receive:

java.lang.RuntimeException: java.lang.IllegalStateException: Cannot find collect.properties file at org.openforis.collect.controlpanel.CollectControlPanelController.initialize(CollectControlPanelController.java:122) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2425) at org.openforis.collect.controlpanel.CollectControlPanel.start(CollectControlPanel.java:34) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863) at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326) at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IllegalStateException: Cannot find collect.properties file at org.openforis.collect.controlpanel.CollectControlPanelController.loadProperties(CollectControlPanelController.java:313) at org.openforis.collect.controlpanel.CollectControlPanelController.initialize(CollectControlPanelController.java:97) ... 12 more

0

Accepted answer

Dear Andrea,
You can customize the installation folder of Collect during the installation:
Collect Installation Screenshot

The error you got should be related to some missing files in your user folder.
Collect stores the user configuration and data under this folder: c:/Users/YOUR_USER/OpenForis/Collect
Please verify that you have a file called collect.properties and a folder called data there.

Thanks,
Open Foris Team

Thank you a lot, the problem is solved; the Collect user folder wasn't created in the correct folder (it was in the admin user one..). Thanks again, Andrea

uplantanu uplantanu

Hi Andrea,
Probably you installed Collect running the installer as an Administrator and the configuration files went into the wrong user folder.
Don't forget that you don't need administrative rights to install it.
Thanks again,
Open Foris Team

Stefano (OF) Stefano (OF) ♦♦

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.