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

Running a Java Applet on Codenvy's android emulator #366

Closed
ghost opened this issue Jul 11, 2016 · 3 comments
Closed

Running a Java Applet on Codenvy's android emulator #366

ghost opened this issue Jul 11, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 11, 2016

I have a program for a Java applet which runs fine on desktop IDEs but I can't get it to run in Codenvy. When I run the program with a Java7 and VNC runner, it seems to run without errors, and gives me an application link, which takes me to a grey screen. Right clicking allows me to select the emulator, which opens an android emulator; however, I can't see how to load my program into the emulator. Any ideas? Sorry if I'm missing something obvious, I'm very new to both Java and Codenvy.

I've attached a screenshot of my program, and the android emulator as it currently loads.

Thanks

screenshot
screenshot3

@ddementieva
Copy link

How did you run your app on the desktop IDEs? Have you tried to call your app directly in the VNC Terminal?

@ghost
Copy link
Author

ghost commented Jul 12, 2016

I've just been using BlueJ, so I right-click on the applet class and select "Run Applet". How would I call the app directly, using the command line?

@ddementieva
Copy link

@LGtcc You've used Android based environment, where apk is installed in the Terminal with adb install.

So you can go to the VNC window, call the Terminal from the context menu and install apk there.
Can you perhaps provide a tutorial on how to run your app locally?

You can try to run your app in the next generation IDE at beta.codenvy.com with codenvy/ubuntu_jdk8_x11 image (https://hub.docker.com/r/codenvy/ubuntu_jdk8_x11/). Here is the tutorial on how to run a Swing app https://eclipse-che.readme.io/docs/che-and-swing

@ghost ghost closed this as completed Jul 14, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant