Page 1 of 1

Installing JDK JRE + Dr.Java + Android SDK (Eclispe + SDK)

Posted: Fri Mar 22, 2013 9:02 pm
by jhehe
I need to install jre/ jdk and dr.java as i am currently learning programming in java. also, i will need to install the android sdk package found on the google site (http://developer.android.com/sdk/index.html)

however, i have a few questions.

i'm using linux mint cinnamon and i already saw jre7 installed, but will that work for dr.java? or do i need to install the downloaded jre file?

also, dr.java is compressed/ archived. however, how do i make a short cut/ auto launch application? right now, i have to go in the command line terminal and type in the code in order to launch it:

Code: Select all

java -jre drjava.jar
after typing this, the programming platform launches. however, any way to do something as seen in windows where i can double click an icon to bring up this platform?

Re: Installing JDK JRE + Dr.Java + Android SDK (Eclispe + SD

Posted: Fri Mar 22, 2013 9:55 pm
by mockturtl
i'm using linux mint cinnamon and i already saw jre7 installed, but will that work for dr.java? or do i need to install the downloaded jre file?
I'm not familiar with Dr.Java; you might need a jdk for the compiler. Eclipse has its own. Android will require jdk, and Eclipse is optional.

You might find Oracle jdk more suitable than openjdk. Installation instructions here.
also, dr.java is compressed/ archived. however, how do i make a short cut/ auto launch application?
right-click desktop -> Create Launcher

Note, your command should be

Code: Select all

java -jar drjava.jar
(not -jre)

Re: Installing JDK JRE + Dr.Java + Android SDK (Eclispe + SD

Posted: Sat Mar 23, 2013 11:09 pm
by jhehe
yep, made a typo in my code.

ok, right now, after i create a launcher, i appears that i can't run it still for some reason. it says that the permission is denied. the launcher got created successfully. i went into properties and made sure that i hav read and write permissions and made the file executable.

so any ideas?

Re: Installing JDK JRE + Dr.Java + Android SDK (Eclispe + SD

Posted: Sun Mar 24, 2013 11:38 am
by mockturtl
jhehe wrote:permission is denied
Let's see from a terminal:

Code: Select all

$ java -version
$ java -jar drjava.jar  # you said this works, right?
$ ls -l drjava.desktop  # or whatever your launcher is named
The launcher should have correct permissions by default, but I bet it needs an absolute path to the jarfile.

Code: Select all

java -jar /full/path/to/drjava.jar
# e.g., /home/jhehe/Desktop/drjava.jar

Re: Installing JDK JRE + Dr.Java + Android SDK (Eclispe + SD

Posted: Sun Apr 14, 2013 10:25 pm
by jhehe
ty issue finally fixed, thanks all