doppio icon indicating copy to clipboard operation
doppio copied to clipboard

Sample Projects?

Open aghasemi opened this issue 10 years ago • 5 comments

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

aghasemi avatar Feb 25 '15 14:02 aghasemi

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.

perimosocordiae avatar Feb 25 '15 16:02 perimosocordiae

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 https://github.com/plasma-umass/doppio/issues/362#issuecomment-75999080.

aghasemi avatar Feb 25 '15 17:02 aghasemi

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

jvilk avatar Feb 25 '15 17:02 jvilk

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 https://github.com/plasma-umass/doppio/issues/362#issuecomment-76013078.

aghasemi avatar Feb 25 '15 17:02 aghasemi

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

perimosocordiae avatar Feb 25 '15 18:02 perimosocordiae