Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample Projects? #362

Open
aghasemi opened this issue Feb 25, 2015 · 5 comments
Open

Sample Projects? #362

aghasemi opened this issue Feb 25, 2015 · 5 comments

Comments

@aghasemi
Copy link

Hi,
Thanks for the nice work. Are there any sample projects (bare structure with simplest class files) that I can use to write my own application?

Do I have to use doppio for compilation or I can use any standard class file generated by OpenJDK?

Thanks a lot
Best

@perimosocordiae
Copy link
Contributor

We have a demo repository at https://github.com/jvilk/doppio-demo/. It uses a fake-terminal interface to let users try out Doppio in the browser with java-like commands (java, javac, javap). That should give you the general application structure (including doppio.js, browserfs.js, etc).

Doppio should be able to run Java class files compiled with any Java compiler, including OpenJDK. In fact, the "doppio compiler" is just calling the javac code in the standard Java class library.

@aghasemi
Copy link
Author

Thanks a lot for the info.

On Wed, Feb 25, 2015 at 5:51 PM, CJ Carey [email protected] wrote:

We have a demo repository at https://github.com/jvilk/doppio-demo/. It
uses a fake-terminal interface to let users try out Doppio in the browser
with java-like commands (java, javac, javap). That should give you the
general application structure (including doppio.js, browserfs.js, etc).

Doppio should be able to run Java class files compiled with any Java
compiler, including OpenJDK. In fact, the "doppio compiler" is just calling
the javac code in the standard Java class library.

Reply to this email directly or view it on GitHub
#362 (comment).

@jvilk
Copy link
Member

jvilk commented Feb 25, 2015

Also, let us know if you have any questions, issues, or suggestions.

@aghasemi
Copy link
Author

Sure. I will. I have some scientific simulation code written in (almost)
pure java that it would be more than great if I could run on the web. I
will try to do so and return to you then.

On Wed, Feb 25, 2015 at 6:35 PM, John Vilk [email protected] wrote:

Also, let us know if you have any questions, issues, or suggestions.

Reply to this email directly or view it on GitHub
#362 (comment).

@perimosocordiae
Copy link
Contributor

The (almost) sounds like you wrote some native methods using JNI. If that's the case, check out the developer guide for writing native methods with Doppio: https://github.com/plasma-umass/doppio/wiki/Doppio-Developer-Guide#adding-native-methods-using-doppioh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants