[jsword-devel] [JIRA] Commented: (BD-172) With Java SE 7 Update 1 (64 bit) BD does not display any of the installed books
DM Smith (JIRA)
jira at crosswire.org
Sat Nov 19 13:58:35 MST 2011
[ http://www.crosswire.org/bugs/browse/BD-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20873#comment-20873 ]
DM Smith commented on BD-172:
-----------------------------
Works for me. Here was my test:
I created a clean VM of Windows 7 64-bit with nothing else of significance installed. I then fully updated it (took several tries to get all the patches.)
I then downloaded BibleDesktopSetup.exe, for the latest release, aka 1.6. Not the nightly build.
I ran BD, downloaded the version of Java that it provided, installed the KJV and created a search index and went to "Tools > Options" and then without making any changes, clicked on apply (this creates %APPDATA%/JSword/desktop.properties).
I then edited %APPDATA%\JSword\desktop.properties and changed
Advanced.IncludeAdvancedTabs=false
to
Advanced.IncludeAdvancedTabs=true
This adds an extra tab to Help > About that will show the system properties. With this I can see the version of Java that is actually run.
I then downloaded and installed the 64-bit version of Java 7 and uninstalled the version that BD downloaded.
I found no way to run BD using BibleDesktop.exe that would find a 64-bit JRE. It always insisted on downloading Java 6. And within the Java control panel I unchecked all the available versions of Java, but this seems to only affect the browser plugin, not what was actually used by BD.
So, I created a bat file to run the java of my choice by doing the following:
I created a folder named BD on my desktop. I then copied all the jar files from c:\Program Files (x86)\CrossWire\BibleDesktop into that folder.
I then created BD.bat in that folder with the content (on a single line):
"C:\Program Files\Java\jre7\bin\javaw.exe" -classpath "bibledesktop-1.6.jar;commons-codec-1.3.jar;commons-httpclient-3.1.jar;commons-logging-1.1.1.jar;commons-net-1.4.1.jar;javatar-2.5.jar;jdom-1.0.jar;jlfgr-1_0.jar;jsword-1.6.jar;jsword-common-1.6.jar;jsword-common-aqua-1.0.6.jar;jsword-common-swing-1.6.jar;lucene-analyzers-2.3.2.jar;lucene-core-2.3.2.jar;lucene-snowball-2.3.2.jar" org.crosswire.bibledesktop.desktop.Desktop
You can change the path of the executable to match your installation.
I then ran BD and had no problems.
Can you do the same for the latest stable release and let me know the outcome.
If it works for you, but 1.6.1beta does not, then we have a problem with the nightly build.
> With Java SE 7 Update 1 (64 bit) BD does not display any of the installed books
> -------------------------------------------------------------------------------
>
> Key: BD-172
> URL: http://www.crosswire.org/bugs/browse/BD-172
> Project: Bible Desktop
> Issue Type: Bug
> Components: book display
> Affects Versions: 1.6.1
> Environment: Windows 7 x64 (fully patched)
> Oracle Java SE Version 7 Update 1 (64-bit)
> Reporter: David Haslam
> Assignee: DM Smith
> Priority: Blocker
>
> Since I installed Java 7 (64-bit) and now have this as the only version of Java SE in my PC, none of the installed books are displayed, even though I can see all their names in dropdown selectors, etc.
> All the books that I have installed are in C:\Users\David\AppData\Roaming\Sword
> and this is correctly specified in BD Preferences | Additional Book locations.
> BD used to work fine with this configuration when I was using Java SE 6 Update 29 (prior to Oracle releasing a 64 bit version 7).
> The nightly build of BD fares no better.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jsword-devel
mailing list