Giter Club home page Giter Club logo

jdart's People

Watchers

 avatar

jdart's Issues

Question about importing JVM libraries.

Not really an issue, more a question:

Is there a way to use java libraries withing jdart?  I am interested in 
possibly using this as a scripting language for an application and for items 
that cannot be easily done using Java alone.

Original issue reported on code.google.com by [email protected] on 11 Jan 2012 at 5:51

Hello World Doesn't Run

What steps will reproduce the problem?
1. Sync to head revision of repository (Revision 4 at time of writing)
2. Open command line prompt and CD to directory
3. Execute command: java -jar jdartc.jar test.dart (per message board 
discussion)
4. Confirm this generated a new test.jar
5. Attempt to execute program with java -jar test.jar (per message bard 
discussion)


What is the expected output? What do you see instead?
Export result should be "Hello World".  Instead I get a "NoClassDefFoundError"

What version of the product are you using? On what operating system?
Revision 4, running under Java SE build 1.7.0-b147 on 64-bit Windows

Please provide any additional information below.
The problem is the lack of jdartc.jar in the classpath.  This can be 
accomplished in one of two ways.  The first is to execute the program as 
follows:

java -cp jdartc.jar;test.jar test

where "test" would be replaced with whatever the name of the dart file was.  
The second is to include the jdartc.jar in the jar file's manifest.  I manually 
added it to the created jar file and the original execution protocol worked 
perfectly.  This may not be a problem for running/compiling under Eclipse

Original issue reported on code.google.com by [email protected] on 21 Oct 2011 at 6:34

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.