User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Duke-Pad

Tue Sep 24, 2013 1:09 pm

My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: [email protected]
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

sirkope
Posts: 17
Joined: Wed Jun 13, 2012 7:39 pm

Re: Duke-Pad

Wed Sep 25, 2013 7:45 am

Funny, I've thinking to build a tablet with RPi since it has came out. I've bought the same LCD panel with HDMI adapter, and the same battery pack from Amazon they wrote in the part list. I also have camera module. So, except the case, MPU 9150 Gyro/Accel/Mag, and some small accessories, I have everything for it :) Last night I've started to build the software part of it, today I will finish it.
I've printed the case plan in A3 format, compared the LCD panel to it but the print is smaller :( So it can't be use without modification) I would order cutting the case from acrylic if I had the plan in proper format.

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: Duke-Pad

Wed Sep 25, 2013 11:58 am

how am i supposed to do this???
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: [email protected]
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Duke-Pad

Wed Sep 25, 2013 12:08 pm

On Ubuntu/debian/Mint

Code: Select all

sudo apt-get install mercurial
man hg
On Windows :

http://tortoisehg.bitbucket.org/

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

DanielBarker
Posts: 72
Joined: Tue May 29, 2012 7:53 am

Re: Duke-Pad

Wed Sep 25, 2013 12:32 pm

I am very interested in this.

Apologies if it's a basic question but - will the Duke-Pad run 'typical' Raspberry Pi things - in my case:

- Terminal and GNU/Debian tools (e.g. gcc, bash, apt);
- Web browser;
- Some kind of office software (e.g. LibreOffice)?

I don't care about X11 specifically - if the GUI is achieved by other means this is fine.

Thank you,

Daniel Barker

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Duke-Pad

Wed Sep 25, 2013 12:43 pm

I guess fullscreen JavaFX and X11 are exclusive on the Pi : You can't have both at the same time , but you
should be able to shutdown the one to launch the other , without rebooting the OS (similiar to XBMC on Raspbian) .


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: Duke-Pad

Fri Sep 27, 2013 4:18 am

a little bit help on
If you are using IntelliJ IDEA, locate under rt/apps/experimental the DukePad project. Open it and build. It should build, auto-downloading dependencies from maven central. Alternatively, you can try using the gradle build file. To do so, cd into rt/apps/experimental/DukePad. Execute:


[email protected]:$ gradle artifacts
cant get this to work
using ubuntu 13.04
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: [email protected]
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Duke-Pad

Fri Sep 27, 2013 6:37 am

http://www.gradle.org/downloads

Gradle is in the repos for 12.04 LTS though.


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org


User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: Duke-Pad

Fri Sep 27, 2013 1:19 pm

i think you can give it a try on the pi ;)
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: [email protected]
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

sirkope
Posts: 17
Joined: Wed Jun 13, 2012 7:39 pm

Re: Duke-Pad

Sat Sep 28, 2013 8:05 pm

rt/apps/experiments/DukePad# gradle artifacts

FAILURE: Build failed with an exception.

* Where:
Build file '/home/gabor/a/rt/apps/experiments/DukePad/build.gradle' line: 54

* What went wrong:
A problem occurred evaluating root project 'DukePad'.
Cause: 7

build.grade line 54:

sourceCompatibility = 1.8;

:(

Markamc
Posts: 6
Joined: Wed Jul 03, 2013 8:51 pm

Re: Duke-Pad

Sat Sep 28, 2013 11:11 pm

Hi trying the same...

set JAVA_HOME to the correct JDK1.8.0 directory location and can get it to build with errors, 20, reduced from 100 with variable set. First error being..

Code: Select all

/home/lamiii/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/DukeApplication.java:29: error: package org.eclipse.core.runtime.preferences does not exist
import org.eclipse.core.runtime.preferences.ConfigurationScope;
Still trying to build using virtualbox ubuntux64 on win7x64

will post progress as & when, cheers mark

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: Duke-Pad

Sun Sep 29, 2013 6:41 am

i am also getting 20 errors

Code: Select all

[email protected]:~/rt/apps/experiments/DukePad$ gradle artifacts
:core:compileJava
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/DukeApplication.java:29: error: package org.eclipse.core.runtime.preferences does not exist
import org.eclipse.core.runtime.preferences.ConfigurationScope;
                                           ^
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/DukeApplication.java:30: error: package org.osgi.service.prefs does not exist
import org.osgi.service.prefs.BackingStoreException;
                             ^
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/DukeApplication.java:31: error: package org.osgi.service.prefs does not exist
import org.osgi.service.prefs.Preferences;
                             ^
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/DukeApplication.java:38: error: cannot find symbol
    private Preferences preferences;
            ^
  symbol:   class Preferences
  location: class DukeApplication
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/DukeApplication.java:83: error: cannot find symbol
    protected final Preferences getPreferences() {
                    ^
  symbol:   class Preferences
  location: class DukeApplication
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/CoreActivator.java:38: error: package org.osgi.framework does not exist
import org.osgi.framework.BundleActivator;
                         ^
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/CoreActivator.java:39: error: package org.osgi.framework does not exist
import org.osgi.framework.BundleContext;
                         ^
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/CoreActivator.java:40: error: package org.osgi.framework does not exist
import org.osgi.framework.Constants;
                         ^
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/CoreActivator.java:41: error: package org.osgi.framework does not exist
import org.osgi.framework.ServiceEvent;
                         ^
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/CoreActivator.java:46: error: cannot find symbol
public class CoreActivator implements BundleActivator {
                                      ^
  symbol: class BundleActivator
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/CoreActivator.java:54: error: cannot find symbol
    @Override public void start(final BundleContext bundleContext) throws Exception {
                                      ^
  symbol:   class BundleContext
  location: class CoreActivator
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/CoreActivator.java:89: error: cannot find symbol
    @Override public void stop(BundleContext bundleContext) throws Exception {
                               ^
  symbol:   class BundleContext
  location: class CoreActivator
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/DukeApplication.java:63: error: cannot find symbol
            Preferences prefs = getPreferences();
            ^
  symbol:   class Preferences
  location: class DukeApplication
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/DukeApplication.java:66: error: cannot find symbol
        } catch (BackingStoreException e) {
                 ^
  symbol:   class BackingStoreException
  location: class DukeApplication
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/DukeApplication.java:84: error: package ConfigurationScope does not exist
        if (preferences == null) preferences = ConfigurationScope.INSTANCE.getNode(getName());
                                                                 ^
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/CoreActivator.java:67: error: cannot find symbol
        }, "("+ Constants.OBJECTCLASS+"=com.javafx.experiments.dukepad.core.DukeApplication)");
                ^
  symbol:   variable Constants
  location: class CoreActivator
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/CoreActivator.java:64: error: cannot find symbol
                case ServiceEvent.REGISTERED: root.add(app); break;
                     ^
  symbol:   variable ServiceEvent
  location: class CoreActivator
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/CoreActivator.java:65: error: cannot find symbol
                case ServiceEvent.UNREGISTERING: root.remove(app); break;
                     ^
  symbol:   variable ServiceEvent
  location: class CoreActivator
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/CoreActivator.java:54: error: method does not override or implement a method from a supertype
    @Override public void start(final BundleContext bundleContext) throws Exception {
    ^
/home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/CoreActivator.java:89: error: method does not override or implement a method from a supertype
    @Override public void stop(BundleContext bundleContext) throws Exception {
    ^
Note: /home/sahaj/rt/apps/experiments/DukePad/modules/core/src/main/java/com/javafx/experiments/dukepad/core/CoreActivator.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
20 errors
:core:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':core:compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 11.526 secs
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: [email protected]
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

chromebookbob
Posts: 93
Joined: Sat Jan 28, 2012 10:10 am
Contact: Website

Re: Duke-Pad

Sun Sep 29, 2013 11:16 am

I have been wrangling with this problem, you should be able to build it using this: http://www.jetbrains.com/idea/download/
I am attempting to build it now. so far without sucess
Visit my website with the original instructions on it for both vanilla and Tekkit Lite Servers: www.picraftbukkit.webs.com

sirkope
Posts: 17
Joined: Wed Jun 13, 2012 7:39 pm

Re: Duke-Pad

Sun Sep 29, 2013 11:44 am

My result:

-VirtualBox:~/a/rt/apps/experiments/DukePad$ gradle artifacts

FAILURE: Build aborted because of an internal error.

* What went wrong:
Build aborted because of an unexpected internal error. Please file an issue at: http://www.gradle.org.

* Try:
Run with --debug option to get additional debug info.

* Exception is:
org.gradle.api.UncheckedIOException: java.io.IOException: File '/home/gabor/.gradle/caches/1.0-milestone-3/scripts/settings_5h15qd86ho110tchu6nr4durur/buildscript_SettingsScript/emptyScript.txt' could not be created
at org.gradle.util.GFileUtils.touch(GFileUtils.java:60)
at org.gradle.groovy.scripts.DefaultScriptCompilationHandler.compileScript(DefaultScriptCompilationHandler.java:123)
at org.gradle.groovy.scripts.DefaultScriptCompilationHandler.compileToDir(DefaultScriptCompilationHandler.java:60)
at org.gradle.groovy.scripts.CachingScriptCompilationHandler.compileToDir(CachingScriptCompilationHandler.java:33)
at org.gradle.groovy.scripts.DefaultScriptCompilerFactory$ScriptCompilerImpl.loadViaCache(DefaultScriptCompilerFactory.java:90)
at org.gradle.groovy.scripts.DefaultScriptCompilerFactory$ScriptCompilerImpl.compile(DefaultScriptCompilerFactory.java:69)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:114)
at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.applySettingsScript(ScriptEvaluatingSettingsProcessor.java:64)
at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.process(ScriptEvaluatingSettingsProcessor.java:55)
at org.gradle.initialization.PropertiesLoadingSettingsProcessor.process(PropertiesLoadingSettingsProcessor.java:37)
at org.gradle.initialization.SettingsHandler.loadSettings(SettingsHandler.java:97)
at org.gradle.initialization.SettingsHandler.findSettingsAndLoadIfAppropriate(SettingsHandler.java:87)
at org.gradle.initialization.SettingsHandler.findAndLoadSettings(SettingsHandler.java:46)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:133)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:80)
at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:41)
at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:27)
at org.gradle.launcher.ExceptionReportingAction.execute(ExceptionReportingAction.java:32)
at org.gradle.launcher.ExceptionReportingAction.execute(ExceptionReportingAction.java:21)
at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:219)
at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:203)
at org.gradle.launcher.Main.execute(Main.java:55)
at org.gradle.launcher.Main.main(Main.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:46)
at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:28)
at org.gradle.launcher.GradleMain.main(GradleMain.java:24)
Caused by: java.io.IOException: File '/home/gabor/.gradle/caches/1.0-milestone-3/scripts/settings_5h15qd86ho110tchu6nr4durur/buildscript_SettingsScript/emptyScript.txt' could not be created
at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:175)
at org.apache.commons.io.FileUtils.touch(FileUtils.java:220)
at org.gradle.util.GFileUtils.touch(GFileUtils.java:58)
... 30 more


BUILD FAILED

Total time: 6.207 secs

chromebookbob
Posts: 93
Joined: Sat Jan 28, 2012 10:10 am
Contact: Website

Re: Duke-Pad

Sun Sep 29, 2013 12:09 pm

managed to build, got 100 errors but also some .jars etc. it doesn't work as of yet.
Visit my website with the original instructions on it for both vanilla and Tekkit Lite Servers: www.picraftbukkit.webs.com

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: Duke-Pad

Mon Sep 30, 2013 1:53 pm

chromebookbob wrote:I have been wrangling with this problem, you should be able to build it using this: http://www.jetbrains.com/idea/download/
I am attempting to build it now. so far without sucess
have already tried , same problem :cry: :cry:
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: [email protected]
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

sirkope
Posts: 17
Joined: Wed Jun 13, 2012 7:39 pm

Re: Duke-Pad

Wed Oct 02, 2013 10:53 am

Has anyone tried this? : jdk-8-ea-b109-linux-arm-vfp-hflt-25_sep_2013.tar.gz

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: Duke-Pad

Thu Oct 03, 2013 3:44 pm

sirkope wrote:Has anyone tried this? : jdk-8-ea-b109-linux-arm-vfp-hflt-25_sep_2013.tar.gz
just another weekly build
will and probably does have the same result!
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: [email protected]
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

sirkope
Posts: 17
Joined: Wed Jun 13, 2012 7:39 pm

Re: Duke-Pad

Fri Oct 04, 2013 9:41 am

And then? We should gave it up?

Markamc
Posts: 6
Joined: Wed Jul 03, 2013 8:51 pm

Re: Duke-Pad

Fri Oct 04, 2013 9:54 am

I've managed to build in virtualbox - ubuntu13.04 using itellijidea 12.
After adding OSGI/maven plugins inside Intellijidea and changing project structure settings etc, I can build/run with no errors in Ubuntu but not yet Rpi, still working on it. Will post later with update.

Cheers,
mark

sirkope
Posts: 17
Joined: Wed Jun 13, 2012 7:39 pm

Re: Duke-Pad

Sat Oct 12, 2013 3:01 pm

Any news?

idorel77
Posts: 1
Joined: Wed Feb 06, 2013 7:41 am

Re: Duke-Pad

Wed Oct 23, 2013 6:24 am

Any news? heeeeellllp! :D

Markamc
Posts: 6
Joined: Wed Jul 03, 2013 8:51 pm

Re: Duke-Pad

Wed Oct 23, 2013 7:53 pm

Sorry, not had too much time and reached a standstill,. Can compile and run in windows/linux (virtualbox), but can't run released or on pi, so stumped for the moment.

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: Duke-Pad

Thu Oct 24, 2013 5:27 am

ric96 wrote:Anyone brave enough to try this : https://wiki.openjdk.java.net/display/OpenJFX/DukePad
that's y i mentioned BRAVE,, it needs a lot of debugging! :? :( :(
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: [email protected]
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

Return to “General discussion”