Giter Club home page Giter Club logo

ballerina-distribution's People

Contributors

aashikam avatar anupama-pathirage avatar ayeshlk avatar ballerina-bot avatar bhashinee avatar buddhiwathsala avatar chamil321 avatar daneshk avatar dilansachi avatar gimantha avatar kalaiyarasiganeshalingam avatar keizer619 avatar lafernando avatar lasinicl avatar ldclakmal avatar lnash94 avatar maryamzi avatar mohamedsabthar avatar mohanvive avatar nipunamadhushan avatar niveathika avatar pcnfernando avatar praneesha avatar pubudu91 avatar shafreenanfar avatar tharmigank avatar thisaruguruge avatar udda1996 avatar uthaiyashankar avatar wggihan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ballerina-distribution's Issues

Ballerina command does not work when `JAVA_HOME` is not defined

Description:
Seems like the router script does not pick the packed jre version properly after #170.

Suggested Labels:

Suggested Assignees:

Affected Product Version:
1.0.0-beta

OS, DB, other environment details and versions:
OS Version: Ubuntu 18.04

Steps to reproduce:

Related Issues:

Ballerina update tool commands are not working

Description:

ballerina help gives the following output:

   ...
   ...
   Update tool Commands:
        list       List available ballerina distributions
        fetch      Pull a given distribution version
        pull       Pull and use a given distribution version
        use        Switch to a specific distribution version
        update     Update to latest distribution version
        remove     Delete locally installed distribution version

When I run ballerina list, it says its an unknown command:

ballerina: unknown command 'list'
Run 'ballerina help' for usage.

`ballerina update` command does not direct user to next steps

Description:
On ballerina 1.1.0-alpha, when you issue the ballerina update, it fails like the below.

$ ballerina update       
Current user does not have write permissions to directory
Using tool version: 0.8.1

What are the next steps of a user?
User will be lost from this step on what to do next.

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Ballerina dist fetch switch to the fetched version before issuing ballerina dist use cmd

Description:
Refer to the below command sequence. Just with the ballerina fetch command it has switched the version. This should happen only after issuing ballerina dist use. It seems now the output of ballerina dist fetch is equivalant to ballerina dist pull

➜  ~ ballerina dist list
Distributions available locally:

  jballerina-1.1.0-alpha

Distributions available remotely:

  jballerina-1.0.0
  jballerina-1.0.1
  jballerina-1.0.2
  jballerina-1.0.3
  jballerina-1.0.4

➜  ~ ballerina dist fetch jballerina-1.0.0
Current user does not have write permissions to /Library/Ballerina/distributions directory

➜  ~ sudo ballerina dist fetch jballerina-1.0.0
Password:
Sorry, try again.
Password:
Downloading jballerina-1.0.0 100% [=============================================================================================================================================================================] 99/99 (0:08:09 / 0:00:00)

jballerina-1.0.0 is installed. Please execute "ballerina dist use jballerina-1.0.0" to use as the default

➜  ~ ballerina dist list
Distributions available locally:

  jballerina-1.1.0-alpha
* jballerina-1.0.0

Distributions available remotely:

  jballerina-1.0.1
  jballerina-1.0.2
  jballerina-1.0.3
  jballerina-1.0.4

➜  ~ ballerina -v
Ballerina 1.0.0
Language specification 2019R3
Command 1.1.0-alpha

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Removing `jballerina-1.1.0-alpha` after changing to another version fails

Description:
Removing alpha dist using ballerina update command, after changing to a different versions fails.

Step 01

$ ballerina dist list                   
Distributions available locally: 

  jballerina-1.1.0-alpha
* jballerina-1.0.2

Distributions available remotely: 

  jballerina-1.0.0
  jballerina-1.0.1
  jballerina-1.0.3
  jballerina-1.0.4

Step 02

$ ballerina dist remove jballerina-1.1.0-alpha
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove
jballerina-1.1.0-alpha cannot remove

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

the .sh file or the description file should mention if a project subfolder within a sample needs to be initialized

Issue by shavantha
Thursday Apr 19, 2018 at 12:24 GMT
Originally opened as https://github.com/ballerina-platform/ballerina-examples/issues/279


the .sh file or the description file should mention if a project sub-folder within a sample needs to be initialized

for an example grpc-unary-service samples init file has the below instructions. but before we initialize the sample folder if we run ballerina run client, the step wont work and we are shown a ballerina: cannot find package 'client'
so we need to initialize the sample folder first. This needs to be mentioned on all samples which has a client folder.

#Run the service
$ ballerina run grpc-unary-service.bal
ballerina: initiating service(s) in 'grpc-unary-service.bal'

#Run client connector
ballerina run client
~                                                                                                                                                        
~                                                                                                                                                        
~                                    

'ballerina dist update' fails with 404 error

Description:
Error,

C:\Users\hasitha>ballerina dist update
Failed : HTTP error code : 404

C:\Users\hasitha>ballerina version
jBallerina 1.1.0-alpha
Language specification 2019R3
Command 1.1.0-alpha

C:\Users\hasitha>

`ballerina dist update` logs the same message twice

Description:

$ ballerina dist update              
Using jballerina-1.0.4
Using jballerina-1.0.4

Also this is there with ballerina dist pull command as well.

$ ballerina dist pull jballerina-1.0.2
Using jballerina-1.0.2
Using jballerina-1.0.2

Add more details in the platform/tools README file

Description:
Current readme file contains very generic information regarding the tools pack. It only provides steps to build the pack, but not how to run/use the composer or runtime.

  • It should specifically mention what tools pack contains.
  • How to run
  • Directory structure
  • Any configuration location if any etc.

Suggested Labels:
Improvement

Content issues in ballerina help

Description:

  1. Descriptions of some commands are ended with full stop but some are not.

image

  1. Should we list "Update Tool Commands" before the "Other Commands"?

  2. Need to rename "Update tool Commands" to "Update Tool Commands" ?

image

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

BALLERINA_HOME set for v0.983.0-1 on linux/rpm is wrong

Description:
I've installed from ballerina.io provided RPM v0.983.0-1.x86-64. It sets BALLERINA_HOME=/usr/lib64/ballerina/ballerina-0.983.0, but the actual value as per dir structure created need to be /usr/lib64/ballerina/ballerina-platform-0.983.0.
This in turn results into wrong error message as well, which is Error: JAVA_HOME is not defined correctly..

Affected Product Version:

  • found it for v0.983.0-1.x86_64

OS, DB, other environment details and versions:

  • Fedora (GNU/Linux)

Steps to reproduce:

  • Just install this version ballerina rpm on any linux and try use it.

I've fixed it locally and will submit a patch.

Command description is missing for `ballerina help dist`

Description:
This is on ballerina 1.1.0-alpha

$ballerina help dist
NAME
       DIST - Commands for ballerina distribution version management

SYNOPSIS
       ballerina [-h | --help]
                 <command> [<args>]


DESCRIPTION


OPTIONS

       -h, --help
           Print usage details of a command.


BALLERINA COMMANDS
    Available commands are:
        list       List available ballerina distributions
        fetch      Pull a given distribution version
        pull       Pull and use a given distribution version
        use        Switch to a specific distribution version
        update     Update to latest distribution version
        remove     Delete locally installed distribution version


EXAMPLES

       Get help on how to use the ballerina command.
          → ballerina dist --help

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Ballerina command fails with "The system cannot find the path specified." error

Description:
Run any ballerina command.

ballerina.bat -v
The system cannot find the path specified.
Command 1.1.0-alpha

Steps to reproduce:

  1. Installed ballerina 1.0.4
  2. Compile a program using ballerina 1.0.4
  3. Install ballerina 1.1.0-alpha (pre-pack).
  4. Run ballerina version.

Workaround

  • Delete the .ballerina folder in the home directory.

Details
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.17763 N/A Build 17763

[Proposal] Add support for MacPorts package manager

Description:

Add support for installing Ballerina via MacPorts

Steps to reproduce:

N/A

Affected Versions:

N/A

OS, DB, other environment details and versions:

macOS 10.14

Related Issues (optional):

N/A

Suggested Labels (optional):

macOS/Package Management

Suggested Assignees (optional):

I would be interested in building a MacPorts Portfile for the Ballerina Language.

[dist use] No error when the given dist name is not available locally

Description:

$ ballerina dist list               
Distributions available locally: 

  jballerina-1.1.0-alpha

Distributions available remotely: 

  jballerina-1.0.0
  jballerina-1.0.1
  jballerina-1.0.2
  jballerina-1.0.3
  jballerina-1.0.4

$ ballerina dist use jballerina-1.0.1

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Check for write permission of dist location should fail fast

Description:
If a user is running ballerina update or ballerina dist pull, etc which deals with writing new files to local fils system, the update command expects the process to have write permission to the process. But it looks like this check is done as the last part which happens after checking for latest version, downloading the version, and then try to create/write files by extracting the download resources.

$ ballerina update                    
Current user does not have write permissions to directory
Using tool version: 0.8.1

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Add a New BBE for the `final' Keyword

Description:
We need to add a new BBE to demonstrate the usage of the 'final' keyword.
Screenshot 2019-11-04 at 17 31 25

Steps to reproduce:

Affected Versions:

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

ballerina help output is not aligned properly

Description:
With 1.1.0-alpha, when we check the help command output, it is not aligned properly, especially the "Update tool Commands" related help message.

$ballerina help    
NAME
       The Ballerina build tool

SYNOPSIS
       ballerina [-v | --version] [-h | --help]
                 <command> [<args>]


DESCRIPTION
       Ballerina is a statically typed, concurrent programming language, focusing on network interaction and structured
       data. It is intended to be the core of a language-centric middleware platform. It has all the general-purpose
       functionality expected of a modern programming language, but it also has several unusual aspects that make it
       particularly suitable for its intended purpose.

       Find more information at: https://ballerina.io/


OPTIONS
       -v, --version
           Print the Ballerina version information.

       -h, --help
           Print usage details of a command.


BALLERINA COMMANDS
        Here is a list of available subcommands:

   Core Commands:
        build           Compile Ballerina program into an executable
        run             Build and run Ballerina program
        test            Run module tests
        doc             Generate API documentation
        clean           Clean artifacts generated during the build
        format          Format Ballerina sources

   Module Commands:
        pull            Pull a module from Ballerina Central
        push            Upload module to the Ballerina Central
        search          Search Ballerina Central for modules

   Project Commands:
        new             Create a new Ballerina project
        add             Create a new Ballerina module in a project

   Other Commands:
        encrypt         Encrypt sensitive data
        grpc            Generate Ballerina sources for the given protobuf definition
        openapi         Generate Ballerina sources for the given OpenAPI definition and vice versa.
        version         Print Ballerina version

   Update tool Commands:
        list       List available ballerina distributions
        fetch      Pull a given distribution version
        pull       Pull and use a given distribution version
        use        Switch to a specific distribution version
        update     Update to latest distribution version
        remove     Delete locally installed distribution version


See 'ballerina help <command>' for more information on a specific command.

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

[Suggestion] Should `ballerina dist update` switch to the latest available distribution?

Description:
Assume I have the following b7a versions and am using 1.0.4.

$ ballerina dist list
Distributions available locally: 

  jballerina-1.1.0-alpha
* jballerina-1.0.4

Distributions available remotely: 

  jballerina-1.0.0
  jballerina-1.0.1
  jballerina-1.0.2
  jballerina-1.0.3

Should ballerina dist update switch to the latest version (jballerina-1.1.0-alpha) now?

I assume if it was not available locally, we would pull the same anyway?

The `ballerina dist` command is not documented in the help page

Running ballerina help gives the following:

$ ballerina help
NAME
       The Ballerina build tool

SYNOPSIS
       ballerina [-v | --version] [-h | --help]
                 <command> [<args>]


DESCRIPTION
       Ballerina is a statically typed, concurrent programming language, focusing on network interaction and structured
       data. It is intended to be the core of a language-centric middleware platform. It has all the general-purpose
       functionality expected of a modern programming language, but it also has several unusual aspects that make it
       particularly suitable for its intended purpose.

       Find more information at: https://ballerina.io/


OPTIONS
       -v, --version
           Print the Ballerina version information.

       -h, --help
           Print usage details of a command.


BALLERINA COMMANDS
        Here is a list of available subcommands:

   Core Commands:
        build           Compile Ballerina program into an executable
        run             Build and run Ballerina program
        test            Run module tests
        doc             Generate API documentation
        clean           Clean artifacts generated during the build
        format          Format Ballerina sources

   Module Commands:
        pull            Pull a module from Ballerina Central
        push            Upload module to the Ballerina Central
        search          Search Ballerina Central for modules

   Project Commands:
        new             Create a new Ballerina project
        add             Create a new Ballerina module in a project

   Other Commands:
        encrypt         Encrypt sensitive data
        grpc            Generate Ballerina sources for the given protobuf definition
        openapi         Generate Ballerina sources for the given OpenAPI definition and vice versa.
        version         Print Ballerina version

   Update tool Commands:
        list       List available ballerina distributions
        fetch      Pull a given distribution version
        pull       Pull and use a given distribution version
        use        Switch to a specific distribution version
        update     Update to latest distribution version
        remove     Delete locally installed distribution version


See 'ballerina help <command>' for more information on a specific command.

The name given for the version of the `ballerina` command is not intuitive

When you run ballerina version, you get the following:

$ ballerina version
jBallerina 1.1.0-alpha
Language specification 2019R3
Command 1.1.0-alpha

Instead of saying "Command", can we come up with a more descriptive name? I didn't realize "Command" meant the ballerina CLI command until Tharik pointed it out. Maybe simply refer to it as "ballerina command"?

Ballerina command version points to 1.1.0-alpha

Description:
After installing the 1.1.0-alpha on Mac, when we check the ballerina version command, below is the output.

$ ballerina -v
jBallerina 1.1.0-alpha
Language specification 2019R3
Command 1.1.0-alpha

Command version should be 0.8.0 as discussed.

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Invalid ballerina dist command does not give proper error message

Description:
Try some invalid command like
➜ ~ ballerina dist foo

The output is

Unmatched argument at index 1: 'foo'

Instead, it should give some meaningful error like

ballerina: unknown command 'ballerina dist foo'

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

ballerina help does not show or list `ballerina update` command

Description:
The output of 1.1.0-alpha does not show/list ballerina update command related help.

$ ballerina help         
NAME
       The Ballerina build tool

SYNOPSIS
       ballerina [-v | --version] [-h | --help]
                 <command> [<args>]


DESCRIPTION
       Ballerina is a statically typed, concurrent programming language, focusing on network interaction and structured
       data. It is intended to be the core of a language-centric middleware platform. It has all the general-purpose
       functionality expected of a modern programming language, but it also has several unusual aspects that make it
       particularly suitable for its intended purpose.

       Find more information at: https://ballerina.io/


OPTIONS
       -v, --version
           Print the Ballerina version information.

       -h, --help
           Print usage details of a command.


BALLERINA COMMANDS
        Here is a list of available subcommands:

   Core Commands:
        build           Compile Ballerina program into an executable
        run             Build and run Ballerina program
        test            Run module tests
        doc             Generate API documentation
        clean           Clean artifacts generated during the build
        format          Format Ballerina sources

   Module Commands:
        pull            Pull a module from Ballerina Central
        push            Upload module to the Ballerina Central
        search          Search Ballerina Central for modules

   Project Commands:
        new             Create a new Ballerina project
        add             Create a new Ballerina module in a project

   Other Commands:
        encrypt         Encrypt sensitive data
        grpc            Generate Ballerina sources for the given protobuf definition
        openapi         Generate Ballerina sources for the given OpenAPI definition and vice versa.
        version         Print Ballerina version

   Update tool Commands:
        list       List available ballerina distributions
        fetch      Pull a given distribution version
        pull       Pull and use a given distribution version
        use        Switch to a specific distribution version
        update     Update to latest distribution version
        remove     Delete locally installed distribution version


See 'ballerina help <command>' for more information on a specific command.

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Logging configurations mess up in the presence of multiple bindings for SLF4J

When there are multiple bindings available for SLF4J in the class path, it messes with the logging configuration. According to SLF4J [1], the way a binding is selected is dependent on the JVM and therefore, should be considered a random selection. This issue may be possible to solve with SLF4J 1.8. But currently, it is still in alpha stage.

This will be an issue if a user puts a 3rd party library which has a logging framework embedded in it to the <BALLERINA_HOME>/bre/lib directory.

To further illustrate this issue, the following is a normal log output to the console from a simple Ballerina main program.

2017-06-30 17:00:58,658  INFO  [com.xyz] - Inside package 'com.xyz' 
2017-06-30 17:00:58,663  INFO  [com.abc] - Inside package 'com.abc' 
2017-06-30 17:00:58,664  ERROR [com.abc] - Error inside package 'com.abc'

Given below is the result of executing the same program, but this time, a library with Log4J embedded in it (activemq-all-5.14.0.jar) was placed in <BALLERINA_HOME>/bre/lib directory.

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/pubudu/products/ballerina-tools-0.89/bre/lib/activemq-all-5.14.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/pubudu/products/ballerina-tools-0.89/bre/lib/slf4j-jdk14-1.7.22.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
 INFO | Inside package 'com.xyz'
 INFO | Inside package 'com.abc'
ERROR | Error inside package 'com.abc'

As it can be seen from the last 3 lines, the log format is not the format we specified.

[1] https://www.slf4j.org/codes.html#multiple_bindings

Content issues in the help page you get when running `ballerina dist`

You get the following when you run ballerina dist

$ ballerina dist
NAME
       DIST - Commands for ballerina distribution version management

SYNOPSIS
       ballerina [-h | --help]
                 <command> [<args>]


DESCRIPTION


OPTIONS

       -h, --help
           Print usage details of a command.


BALLERINA COMMANDS
    Available commands are:
        list       List available ballerina distributions
        fetch      Pull a given distribution version
        pull       Pull and use a given distribution version
        use        Switch to a specific distribution version
        update     Update to latest distribution version
        remove     Delete locally installed distribution version


EXAMPLES

       Get help on how to use the ballerina command.
          → ballerina dist --help

The above text contains typos and content issues.

  • Typos in using the term "Ballerina". "ballerina" -> "Ballerina"
  • In the text for the EXAMPLES section, shouldn't it be "Get help on how to use the ballerina dist command."?

Revisit `ballerina help` output for consistency

Description:
On ballerina 1.1.0-alpha the ballerina help outputs the following.

$ ballerina help    
NAME
       The Ballerina build tool

SYNOPSIS
       ballerina [-v | --version] [-h | --help]
                 <command> [<args>]


DESCRIPTION
       Ballerina is a statically typed, concurrent programming language, focusing on network interaction and structured
       data. It is intended to be the core of a language-centric middleware platform. It has all the general-purpose
       functionality expected of a modern programming language, but it also has several unusual aspects that make it
       particularly suitable for its intended purpose.

       Find more information at: https://ballerina.io/


Questions

  1. Is is correct to say "The Ballerina build tool"?
  2. The text column width of "DESCRIPTION" is wider comparing with other commands "DESCRIPTION"

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Help for ballerina update command is missing

Description:
This is on 1.1.0-alpha

$ballerina help update
ballerina: unknown help topic `update`
Run 'ballerina help' for usage.

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Inconsistent error messages when the update service is not found.

Description:

When the network is disconnected, some commands says Ballerina update service is not available while some commands says Central Server not available.

We need to have a consistent terminolgy to refer the remote update service.

image

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

Issue's with build on arch linux

Description:
I'm new to maven and java dev environments.
Arch linux does some weird stuff when it installs openjdk.
It maps to a program called archlinux-java and $JAVA_HOME doesn't exist.

OS, DB, other environment details and versions:
Arch linux

Steps to reproduce:
pacman -S jdk8-openjdk maven nodejs npm
git clone --recursive https://github.com/ballerina-platform/ballerina-lang
git submodule update --init
mvn clean install
When I do it this way the build fails on installing toml

When I download the zip and attempt to run any binary, it gives me a JAVA_HOME error -- which
I set JAVA_HOME to /usr/lib/jvm/java-8-jdk
and I tried /usr/lib/jvm/java-8/jdk/bin
both recieved ERROR: JAVA_HOME is not defined correctly

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.