B4J Question Java Packager - "Error parsing manifest..."

AzureCrystal

Member
Licensed User
Longtime User
Thank in advance for any help or insights; I downloaded this B4J program that makes an .EXE for install purposes:
https://www.b4x.com/android/forum/threads/ui-apps-packaging-self-contained-installers.56854/#contenthttps://www.b4x.com/android/forum/threads/ui-apps-packaging-self-contained-installers.56854/#content

And I am getting this error when I do a build; "Error parsing manifest file", which occurs in this code block below, only thing I can think of is I'm missing a path link in my PATH environment variable.. thanks for any help :)

B4X:
    Dim manifest As String = File.ReadString(workingFolder, "META-INF/MANIFEST.MF")
     Dim m As Matcher = Regex.Matcher2("JavaFX-Application-Class:\s*(.*)$", Regex.MULTILINE, manifest)
     Dim appClass As String
     If m.Find Then
       appClass = m.Group(1)
     Else
       cutils.ShowNotification2("", "Error parsing manifest file.", _
         cutils.ICON_ERROR, MainForm)
       Return
     End If
 
Top