i have
openjdk version “11.0.8” 2020-07-14
OpenJDK Runtime Environment 18.9 (build 11.0.8+10)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.8+10, mixed mode, sharing)
my code
Workbook workbook = new Workbook(“/opt/scripts/convert/test.json”)
HtmlSaveOptions options = new HtmlSaveOptions()
workbook.save(“/opt/scripts/convert/test.html”, SaveFormat.HTML)
@dmitry6287,
By using the latest version for testing, we can obtain the correct results. Please refer to the attachment (6.4 KB).
The sample code as follows:
Workbook workbook = new Workbook(filePath + "test.json");
HtmlSaveOptions options = new HtmlSaveOptions();
workbook.save(filePath + "out_java.html", options);
By reviewing the file you provided, we have found that there is already correct data in it. It’s just that your compressed package doesn’t contain the main file “test.html”.