Bug 107713 - Unable to create new database - error msg indicates JRE is defective
Summary: Unable to create new database - error msg indicates JRE is defective
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
5.2.7.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-09 02:45 UTC by Oshawa406
Modified: 2017-05-09 19:33 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oshawa406 2017-05-09 02:45:39 UTC
Description:
Using LibreOffice ver 5.2.7.2 (x64) and Windows 10 ver 1607 with Java ver 8 update 131 (build 1.8.0_131-b11). I added Oracle 1.8.0.131 under Tools>Options>Advanced. Did complete shutdown and restart and still same error occurs. 

Steps to Reproduce:
1. Create new database (HSQLDB Embedded)
2. Next
3. Yes, register the database; open for editing
4. Finish
5. Save New Database3.odb
6. JRE is Defective dialog appears


Actual Results:  
File is created but unable to continue.

Expected Results:
To be able to add tables, etc.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36
Comment 1 Aron Budea 2017-05-09 02:57:18 UTC
Is it possible that your JRE is 32-bit? (LibreOffice and JRE both has to be either 32-bit or 64-bit)
Comment 2 Julien Nabet 2017-05-09 15:41:54 UTC
In addition, you can try to rename your LO directory profile (see https://wiki.documentfoundation.org/UserProfile#Windows)
Comment 3 Oshawa406 2017-05-09 17:09:04 UTC
I have now upgraded Java to 64 bit, shut down and restarted. I then searched C:\ for \libreoffice\4\user  but the search returned no results. Where do I find the the user profile???

Laurie
Comment 4 Aron Budea 2017-05-09 17:31:31 UTC
From the page: "Find the location of your user profile: Tools ▸ Options ▸ LibreOffice ▸ Paths."
Comment 5 Oshawa406 2017-05-09 17:48:18 UTC
Thank you Aron for directing me to "paths", however, the path shown does not exist
C:\Users\LaurieMac\AppData\Roaming\LibreOffice\4\user

I can only find C:\Users\LaurieMac\AppData\Local

Again search within C:\Users\LaurieMac\ does not find \LibreOffice\4\user

Laurie
Comment 6 Julien Nabet 2017-05-09 17:58:48 UTC
Did you enable "display hidden/system files directories" in Windows explorer?
Comment 7 Oshawa406 2017-05-09 19:05:13 UTC
Thank you Julien. I thought I had "unhidden" but discovered it was not. I changed "user" to "user-old" and now can create a database. Thanks again. 
Laurie
Comment 8 Julien Nabet 2017-05-09 19:33:36 UTC
Thank you for your feedback and good news! :-)
Let's put this one to WFM then.