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

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jhehe

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

Post 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?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
mockturtl

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

Post 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)
jhehe

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

Post 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?
mockturtl

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

Post 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
jhehe

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

Post by jhehe »

ty issue finally fixed, thanks all
Locked

Return to “Software & Applications”