B4J Question Build Error

Discussion in 'B4J Questions' started by regwbr, May 4, 2015.

  1. regwbr

    regwbr Member Licensed User

    I have an application that works fine when I do a "compile & run".

    Now I want to make a .jar so I can give it to others. However, I get the following error when I do a "compile to library".

    B4J version 2.80
    Parsing code. 0.05
    Compiling code. Error
    Error compiling program.
    Error description: Cannot access excluded module: main
    Occurred on line: 7
    Word: main

    "main" is a code module in my project.

    What am I missing? Why does it work with "compile & run" and not "compile to library"? Is there a different way to make the .jar file?

  2. regwbr

    regwbr Member Licensed User

    Never mind. I solved that issue. It would help if I was trying to create the .jar the correct way :-(
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice