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

Questions about applications and software
Forum rules
Before you post please read this

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

Postby jhehe on Fri Mar 22, 2013 9:02 pm

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?
jhehe
Level 1
Level 1
 
Posts: 13
Joined: Sat Feb 16, 2013 6:45 pm

Linux Mint is funded by ads and donations.
 

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

Postby mockturtl on Fri Mar 22, 2013 9:55 pm

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)
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 437
Joined: Sat Oct 09, 2010 8:51 pm

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

Postby jhehe on Sat Mar 23, 2013 11:09 pm

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?
jhehe
Level 1
Level 1
 
Posts: 13
Joined: Sat Feb 16, 2013 6:45 pm

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

Postby mockturtl on Sun Mar 24, 2013 11:38 am

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
Image
User avatar
mockturtl
Level 4
Level 4
 
Posts: 437
Joined: Sat Oct 09, 2010 8:51 pm

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

Postby jhehe on Sun Apr 14, 2013 10:25 pm

ty issue finally fixed, thanks all
jhehe
Level 1
Level 1
 
Posts: 13
Joined: Sat Feb 16, 2013 6:45 pm


Return to Software & Applications

Who is online

Users browsing this forum: jefboyardee and 12 guests