01-06-2018, 05:15 AM | #151 | |
Grand Sorcerer
Posts: 5,636
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
01-06-2018, 08:33 AM | #152 |
Sigil Developer
Posts: 8,110
Karma: 5450184
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 | |
|
01-06-2018, 08:45 AM | #153 |
Grand Sorcerer
Posts: 5,636
Karma: 23191067
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?) |
01-06-2018, 09:11 AM | #154 |
Sigil Developer
Posts: 8,110
Karma: 5450184
Join Date: Nov 2009
Device: many
|
|
01-06-2018, 09:15 AM | #155 | |
Sigil Developer
Posts: 8,110
Karma: 5450184
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 | |
|
01-06-2018, 09:32 AM | #156 |
Sigil Developer
Posts: 8,110
Karma: 5450184
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. |
01-06-2018, 12:18 PM | #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 |
01-06-2018, 12:40 PM | #158 |
Sigil Developer
Posts: 8,110
Karma: 5450184
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. |
02-20-2018, 09:41 AM | #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 |
02-20-2018, 09:46 AM | #160 |
Connoisseur
Posts: 57
Karma: 600000
Join Date: Jan 2018
Device: Galaxy Tab S2
|
java jdk not instalkled
|
02-20-2018, 10:02 AM | #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). |
02-20-2018, 10:39 AM | #162 |
Sigil Developer
Posts: 8,110
Karma: 5450184
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.
|
09-02-2018, 12:40 AM | #163 |
just an egg
Posts: 1,662
Karma: 5432100
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) |
09-02-2018, 02:41 AM | #164 |
Grand Sorcerer
Posts: 5,636
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
|
09-02-2018, 02:52 PM | #165 |
just an egg
Posts: 1,662
Karma: 5432100
Join Date: Mar 2015
Device: Kindle, iOS
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Plugin] PunctuationSmarten Sigil plugin | DiapDealer | Plugins | 138 | 07-11-2023 11:22 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 |