![]() |
#151 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
![]() |
![]() |
![]() |
#152 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,805
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Does it need javac to actually compile java code? If not, it sounds like a missing PATH issue.
|
![]() |
![]() |
Advert | |
|
![]() |
#153 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
I don't think so. (The command line is: "java -jar epubcheck.jar test.epub"
Please provide the OP with further instructions about checking and updating the path. If it doesn't work, s/he could still install the jdk image. (When I tested the plugin on a friend's Mac last year, it wouldn't work until after the installation of the jdk img file. Maybe the jre installer doesn't set up the proper paths?) |
![]() |
![]() |
![]() |
#154 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,805
Karma: 6000000
Join Date: Nov 2009
Device: many
|
|
![]() |
![]() |
![]() |
#155 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,805
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Hi Maui,
1. First trying restarting you Mac to force any PATH changes to be used 2. In Terminal.app please run the following commands: echo ${PATH} (I tried the above on my machine and it shows /usr/bin as being in my PATH) whereis java (on my Mac this returns /usr/bin/java) which java (on my Mac this returns /usr/bin/java) env (on my Mac there is no JAVA_HOME or any java related environment variables set) java -version (on my Mac this returns: KevinsiMac:~ kbhend$ java -version java version "1.8.0_73" Java(TM) SE Runtime Environment (build 1.8.0_73-b02) Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode) ) 3. Once we know where the jre binary in installed we can see if the issue is a missing path or a mssing environment variable. KevinH Quote:
Last edited by KevinH; 01-06-2018 at 09:28 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#156 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,805
Karma: 6000000
Join Date: Nov 2009
Device: many
|
BTW: On My Mac if I do an ls -l inside /usr/bin you will see that java is a symlink:
lrwxr-xr-x 1 root wheel 74 6 Jan 2017 java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java So looking in /System/Library/Frameworks/JavaVM.framework/ might be a good idea as well. This is with Sierra, not High Sierra which I am staying away from until it is more stable. |
![]() |
![]() |
![]() |
#157 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 57
Karma: 600000
Join Date: Jan 2018
Device: Galaxy Tab S2
|
Hi,
thank you very much for the quick help so far. The root cause was not having my brain mounted ![]() Reading the error message more carefully "jdk neccessary to be installed to execute command line" is exactly what doitso assuned: jre is not enough. The only excuse i have is that jre was sufficient under windows. Maui |
![]() |
![]() |
![]() |
#158 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,805
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Then the jre package on Mac OSX must not install in the right place or not set the proper PATH.
Glad you got it working. |
![]() |
![]() |
![]() |
#159 |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Oct 2017
Location: where is my heart
Device: Kobo Glo, and...
|
Hello,
I have a small problem with epubcheck on an Asus (W10). Installed and reinstalled (just now) Sigil (last version) and the plugin, It pass testplugin but I get the message : Status: failed Running ePubCheck ... please wait Traceback (most recent call last): File "C:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 135, in launch self.exitcode = target_script.run(container) File "C:\Users\xxx\AppData\Local\sigil-ebook\sigil\plugins\EpubCheck\plugin.py", line 118, in run result = jarWrapper(*args) File "C:\Users\xxx\AppData\Local\sigil-ebook\sigil\plugins\EpubCheck\plugin.py", line 30, in jarWrapper process = Popen(list(args), stdout=PIPE, stderr=PIPE) File "subprocess.py", line 947, in __init__ File "subprocess.py", line 1224, in _execute_child FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable Error: [WinError 2] Le fichier spécifié est introuvable Thanks for your ideas |
![]() |
![]() |
![]() |
#160 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 57
Karma: 600000
Join Date: Jan 2018
Device: Galaxy Tab S2
|
java jdk not instalkled
|
![]() |
![]() |
![]() |
#161 |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Oct 2017
Location: where is my heart
Device: Kobo Glo, and...
|
installed Java jdk and it works. Thanks a lot.
But it is the first time I had to do that on a computer after installing Sigil (and I do Java update). |
![]() |
![]() |
![]() |
#162 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,805
Karma: 6000000
Join Date: Nov 2009
Device: many
|
FWIW, on a Mac every time you upgrade the major OS X version, the updater removes java, and I have to go and get it again and reinstall it.
|
![]() |
![]() |
![]() |
#163 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,832
Karma: 8006102
Join Date: Mar 2015
Device: Kindle, iOS
|
Does anyone know if this plugin or epubcheck in general will run with Java 10? Thank you.
(I have it running nicely with Java 8, just wondering if I need to avoid upgrading to 10) |
![]() |
![]() |
![]() |
#164 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
|
![]() |
![]() |
![]() |
#165 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,832
Karma: 8006102
Join Date: Mar 2015
Device: Kindle, iOS
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Plugin] PunctuationSmarten Sigil plugin | DiapDealer | Plugins | 143 | 07-30-2025 06:58 AM |
[Plugin] KindleImport Sigil plugin | DiapDealer | Plugins | 187 | 07-04-2022 10:11 AM |
Sigil Plugin Index | Thasaidon | Plugins | 0 | 10-04-2014 07:41 AM |
FC and Sigil 0.5.3 ePUBcheck failure | Hitch | Sigil | 32 | 04-17-2012 02:56 AM |
Web-based epubcheck upgraded to epubcheck 1.0.5 | kjk | ePub | 4 | 02-09-2010 09:53 PM |