What's wrong with Base and JRE not running?

Discuss the database features

What's wrong with Base and JRE not running?

Postby ia1980 » Tue Jul 17, 2012 11:07 pm

viewtopic.php?f=7&t=55111

hi there
I have recently posted in Writer forum (see link above) and the reply was to make a database
So I started making a database. Obviously when you start Base it asks you to name the file etc and I did that and wanted to proceed to making the database
BUT
Then Base told me the JRE was not running and it needs JRE. The fact that it is there and was recently updated (less than a fortnight ago) I still reinstalled it. But the Base is still saying it is not running - so its running but the Base can't see it or something like that

So what do I do

regards
IA

Title Edited. A descriptive title for posts helps others who are searching for solutions and increases the chances of a reply (Hagar, Moderator).
ia1980
OpenOffice 3.3
Windows 7
ia1980
 
Posts: 16
Joined: Sat Jun 12, 2010 3:00 pm

Re: what wrong with Base

Postby RPG » Tue Jul 17, 2012 11:54 pm

Hello

From the help file.
Connect Java to OOo.

Romke

Java
Specifies the support options for Java applications in LibreOffice, including which Java Runtime Environment (JRE) to use.

To access this command...
Choose Tools - Options - LibreOffice - Java

Java options
Use a Java runtime environment
Allows you to run Java applications in LibreOffice. When a Java application attempts to access your hard drive, a prompt opens.
Java runtime environments (JRE) already installed:
Select the JRE that you want to use. On some systems, you must wait a minute until the list gets populated. On some systems, you must restart LibreOffice to use your changed setting. The path to the JRE is displayed beneath the list box.
Add
Add a path to the root folder of a JRE on your computer. The path is set in the following dialog.
Parameters
Opens the Java Start Parameters dialog.
Class Path
Opens the Class Path dialog.
openSuse version of LibreOffice 4.1.5.3 stable on openSUSE 12.2
RPG
Volunteer
 
Posts: 1548
Joined: Tue Apr 14, 2009 7:15 pm
Location: Netherlands

Re: what wrong with Base

Postby RoryOF » Wed Jul 18, 2012 12:07 am

Note that at present OpenOffice is only happy with a 32 bit Java on Windows 7; it also does not like Java 7, so you may need to download and install Java 1.6_33 (or earlier). This can be downloaded from
http://www.oracle.com/technetwork/java/javase/downloads/jre6-downloads-1637595.html
Download the windows x86 version and install it. Then start OpenOffice, go to /Tools /Options /OpenOffice.org : Java, give it a few seconds to detect your various Java installations, and put a check beside the 32 bit version.
Apache OpenOffice 4.0.1 on Xubuntu 13.10 and Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 14344
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: what wrong with Base

Postby rudolfo » Wed Jul 18, 2012 12:21 am

It is little known that you do not depend on Java just to run Base. The client part of Base doesn't require Java, only the default embedded HSQLDB database engine (and of course the JDBC drivers if you use them to connect to the database backend). The JDBC drivers are very widely tested and reliable, but at least on MS Windows it is no problems to use an ODBC driver. If you have a database backend that doesn't requrire the JRE (like MS Access, SQLite, MySQL,...) you can use the ODBC driver to establish the connection.

So if you have tried everything to get OpenOffice at the point where it accepts the Java Runtime version to which you pointing it. But it still doesn't like your Java Runtime (JRE) you can try this fallback on ODBC. (But ODBC is surely not working with the embedded HSQLDB database).
OpenOffice 3.1.1 (2.4.3 until October 2009) and LibreOffice 3.3.2 on Windows 2000, AOO 3.4.1 on Windows 7
There are several macro languages in OOo, but none of them is called Visual Basic or VB(A)! Please call it OOo Basic, Star Basic or simply Basic.
rudolfo
Volunteer
 
Posts: 1415
Joined: Wed Mar 19, 2008 11:34 am
Location: Germany

Re: What's wrong with Base and JRE not running?

Postby ia1980 » Thu Jul 19, 2012 8:45 am

Hi there
Is it in (after opening Base and the name of my file) .......
Tools
Options
Java

The box that opens says JRE is already installed (with the box saying use JRe clicked) but it does not accept it when I click on the form /table wizard and I get teh same message that there is no JAVA
Regards
IA
ia1980
OpenOffice 3.3
Windows 7
ia1980
 
Posts: 16
Joined: Sat Jun 12, 2010 3:00 pm

Re: What's wrong with Base and JRE not running?

Postby RoryOF » Thu Jul 19, 2012 9:13 am

You need to go to /Tools /Options /OpenOffice.org : Java and place a checkmark beside the 32 bit version of Java; it may have selected another one. It should show you the various versions available - you are looking for a 1.6 version; if there are multiple 1.6 versions, try them one after the other until you find the 32 bit version. After each selection press OK; you may need to close and restart OpenOffice to get this to take reliably.
Apache OpenOffice 4.0.1 on Xubuntu 13.10 and Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 14344
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: What's wrong with Base and JRE not running?

Postby Villeroy » Thu Jul 19, 2012 2:26 pm

Screenshot by "floris v" in topic viewtopic.php?f=15&t=50687#p229454
Image
Any 32-bit version of Java 1.6.xxx works with OpenOffice and LibreOffice.
In many other cases Java 1.7.xxx works as well (certainly not under 64-bit Windows).
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 12.04, Apache OpenOffice 4.x
User avatar
Villeroy
Volunteer
 
Posts: 17273
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: What's wrong with Base and JRE not running?

Postby ia1980 » Thu Jul 19, 2012 9:45 pm

Thanks Villeroy
I think i know whats wrong
there is Nothing in the box where you are showing the Vendor/Version/Features
So the next obvious question is where do I get the Sun microsystems etc on it
In my program files (x86) there is folder JAVA which has 2 sub-folders jre6 and jre7 and there is no folder with Sunmicrosytems in the program files folder
If I click, JAVA or any of the subfolders ie : jre6 (installed in April2012) or jre7 (installed 3 days ago) I get a message that there is no java runtime environment in the folder

Although I downloaded and installed JAVA from 'oracle page' do I need a different download - if so please send a link

Regards
IA
ia1980
OpenOffice 3.3
Windows 7
ia1980
 
Posts: 16
Joined: Sat Jun 12, 2010 3:00 pm

Re: What's wrong with Base and JRE not running?

Postby Hagar Delest » Thu Jul 19, 2012 9:57 pm

Make sure you've installed the 32bit version of Java.
But it seems so since the 32bit version of applications install in /Program Files (x86) and 64bit version in /Program Files.
Have you waited enough? It can take some time until OOo/AOO finds the Java folder.
AOO 4.0.1 on Windows 7 and Xubuntu 13.10 (Saucy Salamander)
User avatar
Hagar Delest
Moderator
 
Posts: 25087
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: what wrong with Base

Postby DACM » Fri Jul 20, 2012 5:24 am

rudolfo wrote:It is little known that you do not depend on Java just to run Base...

Good, concise description of the options rudolfo! Very nice.

Here's more of the same in the Base FAQ:
http://wiki.services.openoffice.org/wiki/FAQ_(Base)#Do_I_need_Java_to_use_Base.3F
...
AOO 4.0.x; LO 4.1.x; Windows 7 64-bit
Wizard: Automated 'split' HSQL database template; Warning: Avoid embedded databases
Soli Deo gloria
User avatar
DACM
Volunteer
 
Posts: 1067
Joined: Tue Nov 03, 2009 7:24 am

Re: What's wrong with Base and JRE not running?

Postby ia1980 » Sun Aug 12, 2012 5:31 pm

Hi
I have given up so I am now using Access for database and using open office for 'word etc'

I have even reloaded the latest open office 'version 3.4' which has not sorted the problem but has lead to another problem.

I know this is the wrong forum but I am sure one of you can help

after loading the latest open office, whenever I start my computer the open office starts, what do I do to stop it from running at windows boot

Regards
IA
ia1980
OpenOffice 3.3
Windows 7
ia1980
 
Posts: 16
Joined: Sat Jun 12, 2010 3:00 pm

Re: What's wrong with Base and JRE not running?

Postby Hagar Delest » Sun Aug 12, 2012 7:15 pm

AOO 4.0.1 on Windows 7 and Xubuntu 13.10 (Saucy Salamander)
User avatar
Hagar Delest
Moderator
 
Posts: 25087
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: What's wrong with Base and JRE not running?

Postby gplea » Thu Jun 20, 2013 5:53 pm

So, I installed OO 3 days ago. The field never populated with my Java 1.7.21, and for the life of me, I've checked every folder under Programs(x86)/Java/JRE, and have yet to have found a JRE. Oh! and I DID check (and even unchecked, and rechecked the box) the little box above it. Still no JRE. There's GOT to be a JRE SOMEWHERE in there, doesn't it?
Win7 64-Bit Enterpr / ASUS M5A97 EVO /16Gig RAM
CPU:AMD FX-6200-6-core-3.8GHz/AMD Radeon HD 6670
2Gig V-RAM / Oxygen Office 3.2
gplea
 
Posts: 1
Joined: Sun Jun 16, 2013 11:12 pm

Re: What's wrong with Base and JRE not running?

Postby thomasjk » Thu Jun 20, 2013 6:31 pm

You may have a 64bit version of the JRE installed. You need the 32bit version for OOo even though you are running a 64bit OS. See also this post by Bill viewtopic.php?f=15&t=62342&p=276376#p276376
Tom K.
Windows 7 Home Premium
LibreOffice 4.2.3.3
thomasjk
Moderator
 
Posts: 3599
Joined: Tue Dec 25, 2007 4:52 pm
Location: North Carolina

Re: What's wrong with Base and JRE not running?

Postby Greengiant224 » Thu Jun 20, 2013 9:16 pm

This post gives full information about Java errors and how to fix on windows OS:

viewtopic.php?f=15&t=60221#p267331

Greengiant224

Linux 2.6.38, KDE 4.9.2, LibreOffice 3.5.* (Java 1.6.0_35) utilising HSQL 1.8.10 & 2.3.*, MySQL, PostgreSQL, SQLite
+ Blood, Sweat and Tears (Application, Determination and Perseverance)
User avatar
Greengiant224
 
Posts: 185
Joined: Wed Jun 09, 2010 3:50 pm
Location: All Over The World


Return to Base

Who is online

Users browsing this forum: No registered users and 5 guests