This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-04-17 22:02:03

maxdoss
Scratcher
Registered: 2010-07-27
Posts: 1000+

I need JDK for Mac!

I want to make a Minecraft Mod but I can't find a JDK download link. Please help!


It's my birthday. Deal with it.

Offline

 

#2 2012-04-17 22:04:52

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: I need JDK for Mac!


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#3 2012-04-17 22:55:41

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: I need JDK for Mac!

To the knowledge of a windows user who wanted to know if he could develop java if he ever got enough money for a Mac, Java (both JRE and JDK) are included in OSX. Try typing 'javac' into terminal to see if it is installed.

Edit: yeah. There isn't even a download for Mac OSX except the JDK 7 beta.

Last edited by 16Skittles (2012-04-17 23:00:58)


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#4 2012-04-18 00:01:19

Ecliptic
Scratcher
Registered: 2012-02-27
Posts: 500+

Re: I need JDK for Mac!

Just use the JDK 7 beta.


If you can read this you are in range.

Offline

 

#5 2012-04-18 00:04:01

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: I need JDK for Mac!

Ecliptic wrote:

Just use the JDK 7 beta.

But JDK is preinstalled for macs  hmm


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#6 2012-04-18 00:41:41

Ecliptic
Scratcher
Registered: 2012-02-27
Posts: 500+

Re: I need JDK for Mac!

jji7skyline wrote:

Ecliptic wrote:

Just use the JDK 7 beta.

But JDK is preinstalled for macs  hmm

Never knew that.  tongue


If you can read this you are in range.

Offline

 

#7 2012-04-18 08:02:22

maxdoss
Scratcher
Registered: 2010-07-27
Posts: 1000+

Re: I need JDK for Mac!

16Skittles wrote:

To the knowledge of a windows user who wanted to know if he could develop java if he ever got enough money for a Mac, Java (both JRE and JDK) are included in OSX. Try typing 'javac' into terminal to see if it is installed.

Edit: yeah. There isn't even a download for Mac OSX except the JDK 7 beta.

I get

Code:

Last login: Wed Apr 18 06:58:47 on ttys000
Maxwells-MacBook-Pro:~ maxwelldoss$ javac
Usage: javac <options> <source files>
where possible options include:
  -g                         Generate all debugging info
  -g:none                    Generate no debugging info
  -g:{lines,vars,source}     Generate only some debugging info
  -nowarn                    Generate no warnings
  -verbose                   Output messages about what the compiler is doing
  -deprecation               Output source locations where deprecated APIs are used
  -classpath <path>          Specify where to find user class files and annotation processors
  -cp <path>                 Specify where to find user class files and annotation processors
  -sourcepath <path>         Specify where to find input source files
  -bootclasspath <path>      Override location of bootstrap class files
  -extdirs <dirs>            Override location of installed extensions
  -endorseddirs <dirs>       Override location of endorsed standards path
  -proc:{none,only}          Control whether annotation processing and/or compilation is done.
  -processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses default discovery process
  -processorpath <path>      Specify where to find annotation processors
  -d <directory>             Specify where to place generated class files
  -s <directory>             Specify where to place generated source files
  -implicit:{none,class}     Specify whether or not to generate class files for implicitly referenced files 
  -encoding <encoding>       Specify character encoding used by source files
  -source <release>          Provide source compatibility with specified release
  -target <release>          Generate class files for specific VM version
  -version                   Version information
  -help                      Print a synopsis of standard options
  -Akey[=value]              Options to pass to annotation processors
  -X                         Print a synopsis of nonstandard options
  -J<flag>                   Pass <flag> directly to the runtime system

I don't know what to do next.


It's my birthday. Deal with it.

Offline

 

#8 2012-04-18 08:49:53

ZeroLuck
Scratcher
Registered: 2010-02-23
Posts: 500+

Re: I need JDK for Mac!

You have to know how to programm in Java.
If you can't do that you can forget your plan.
hmm


http://3.bp.blogspot.com/-oL2Atzp0Byw/T465vIQ36dI/AAAAAAAAADo/1vqL4PvhkM0/s1600/scratchdachwiki.png

Offline

 

#9 2012-04-18 08:53:00

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: I need JDK for Mac!

Macs come with the JDK.  Type 'javac file_name.java' into the Terminal application after you have navigated to the correct directory ('cd folder' to go into a folder, 'cd ..' to exit a folder; it starts on your user folder).  Then type 'java class_and_file_name' to run it.  There's also another, longer command to turn the .class file that you'll create with javac into a .jar.

Offline

 

#10 2012-04-18 09:56:37

nickbrickmaster
Scratcher
Registered: 2010-02-02
Posts: 500+

Re: I need JDK for Mac!

I would say get netbeans or eclipse, but those don't work on mac. Then I would say get NPP, but that's, also, just fow windows. Just use TextEdit or whatever sorcery you have on macs and use javac or java from the command line.


Ask me what I'm doing, wait an hour than roll a die, if it's 4-6, I'm playing Skyrim, if it's 1, I'm eating, if it's 2-3 I'm programming.
Steam: nickbrickmaster | RotMG: PwnThemAll | Minecraft: nickbrickmaster | League Of Legends: BaneOfTitans

Offline

 

#11 2012-04-18 09:57:57

nickbrickmaster
Scratcher
Registered: 2010-02-02
Posts: 500+

Re: I need JDK for Mac!

Find a good tutorial !FOR MAC! Most books use an IDE but you can't. Or just sell your 2000$ mac and get a windows. </completely unbiased>


Ask me what I'm doing, wait an hour than roll a die, if it's 4-6, I'm playing Skyrim, if it's 1, I'm eating, if it's 2-3 I'm programming.
Steam: nickbrickmaster | RotMG: PwnThemAll | Minecraft: nickbrickmaster | League Of Legends: BaneOfTitans

Offline

 

#12 2012-04-18 10:07:59

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: I need JDK for Mac!

maxdoss wrote:

16Skittles wrote:

To the knowledge of a windows user who wanted to know if he could develop java if he ever got enough money for a Mac, Java (both JRE and JDK) are included in OSX. Try typing 'javac' into terminal to see if it is installed.

Edit: yeah. There isn't even a download for Mac OSX except the JDK 7 beta.

I get

Code:

Last login: Wed Apr 18 06:58:47 on ttys000
Maxwells-MacBook-Pro:~ maxwelldoss$ javac
Usage: javac <options> <source files>
where possible options include:
  -g                         Generate all debugging info
  -g:none                    Generate no debugging info
  -g:{lines,vars,source}     Generate only some debugging info
  -nowarn                    Generate no warnings
  -verbose                   Output messages about what the compiler is doing
  -deprecation               Output source locations where deprecated APIs are used
  -classpath <path>          Specify where to find user class files and annotation processors
  -cp <path>                 Specify where to find user class files and annotation processors
  -sourcepath <path>         Specify where to find input source files
  -bootclasspath <path>      Override location of bootstrap class files
  -extdirs <dirs>            Override location of installed extensions
  -endorseddirs <dirs>       Override location of endorsed standards path
  -proc:{none,only}          Control whether annotation processing and/or compilation is done.
  -processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses default discovery process
  -processorpath <path>      Specify where to find annotation processors
  -d <directory>             Specify where to place generated class files
  -s <directory>             Specify where to place generated source files
  -implicit:{none,class}     Specify whether or not to generate class files for implicitly referenced files 
  -encoding <encoding>       Specify character encoding used by source files
  -source <release>          Provide source compatibility with specified release
  -target <release>          Generate class files for specific VM version
  -version                   Version information
  -help                      Print a synopsis of standard options
  -Akey[=value]              Options to pass to annotation processors
  -X                         Print a synopsis of nonstandard options
  -J<flag>                   Pass <flag> directly to the runtime system

I don't know what to do next.

Okay, this means that you do have the JDK already installed. You'll need to learn Java now (I recommend TheNewBoston on YouTube) and then you're all set!


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#13 2012-04-18 11:15:22

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: I need JDK for Mac!

nickbrickmaster wrote:

I would say get netbeans or eclipse, but those don't work on mac. Then I would say get NPP, but that's, also, just fow windows. Just use TextEdit or whatever sorcery you have on macs and use javac or java from the command line.

netbeans works on mac
eclipse i think it does

So kids the lesson is - Do your research FIRST


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#14 2012-04-18 11:24:25

ZeroLuck
Scratcher
Registered: 2010-02-23
Posts: 500+

Re: I need JDK for Mac!

Netbeans and Eclipse are both written in Java.
And Java works on the most platforms...


http://3.bp.blogspot.com/-oL2Atzp0Byw/T465vIQ36dI/AAAAAAAAADo/1vqL4PvhkM0/s1600/scratchdachwiki.png

Offline

 

#15 2012-04-18 18:47:01

maxdoss
Scratcher
Registered: 2010-07-27
Posts: 1000+

Re: I need JDK for Mac!

16Skittles wrote:

maxdoss wrote:

16Skittles wrote:

To the knowledge of a windows user who wanted to know if he could develop java if he ever got enough money for a Mac, Java (both JRE and JDK) are included in OSX. Try typing 'javac' into terminal to see if it is installed.

Edit: yeah. There isn't even a download for Mac OSX except the JDK 7 beta.

I get

Code:

Last login: Wed Apr 18 06:58:47 on ttys000
Maxwells-MacBook-Pro:~ maxwelldoss$ javac
Usage: javac <options> <source files>
where possible options include:
  -g                         Generate all debugging info
  -g:none                    Generate no debugging info
  -g:{lines,vars,source}     Generate only some debugging info
  -nowarn                    Generate no warnings
  -verbose                   Output messages about what the compiler is doing
  -deprecation               Output source locations where deprecated APIs are used
  -classpath <path>          Specify where to find user class files and annotation processors
  -cp <path>                 Specify where to find user class files and annotation processors
  -sourcepath <path>         Specify where to find input source files
  -bootclasspath <path>      Override location of bootstrap class files
  -extdirs <dirs>            Override location of installed extensions
  -endorseddirs <dirs>       Override location of endorsed standards path
  -proc:{none,only}          Control whether annotation processing and/or compilation is done.
  -processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses default discovery process
  -processorpath <path>      Specify where to find annotation processors
  -d <directory>             Specify where to place generated class files
  -s <directory>             Specify where to place generated source files
  -implicit:{none,class}     Specify whether or not to generate class files for implicitly referenced files 
  -encoding <encoding>       Specify character encoding used by source files
  -source <release>          Provide source compatibility with specified release
  -target <release>          Generate class files for specific VM version
  -version                   Version information
  -help                      Print a synopsis of standard options
  -Akey[=value]              Options to pass to annotation processors
  -X                         Print a synopsis of nonstandard options
  -J<flag>                   Pass <flag> directly to the runtime system

I don't know what to do next.

Okay, this means that you do have the JDK already installed. You'll need to learn Java now (I recommend TheNewBoston on YouTube) and then you're all set!

The problem is I don't even know how to access JDK from there......


It's my birthday. Deal with it.

Offline

 

#16 2012-04-18 20:09:40

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: I need JDK for Mac!

nickbrickmaster wrote:

I would say get netbeans or eclipse, but those don't work on mac. Then I would say get NPP, but that's, also, just fow windows. Just use TextEdit or whatever sorcery you have on macs and use javac or java from the command line.

They both work on Mac :3


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#17 2012-04-18 20:45:14

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: I need JDK for Mac!

maxdoss wrote:

16Skittles wrote:

maxdoss wrote:


I get

Code:

Last login: Wed Apr 18 06:58:47 on ttys000
Maxwells-MacBook-Pro:~ maxwelldoss$ javac
Usage: javac <options> <source files>
where possible options include:
  -g                         Generate all debugging info
  -g:none                    Generate no debugging info
  -g:{lines,vars,source}     Generate only some debugging info
  -nowarn                    Generate no warnings
  -verbose                   Output messages about what the compiler is doing
  -deprecation               Output source locations where deprecated APIs are used
  -classpath <path>          Specify where to find user class files and annotation processors
  -cp <path>                 Specify where to find user class files and annotation processors
  -sourcepath <path>         Specify where to find input source files
  -bootclasspath <path>      Override location of bootstrap class files
  -extdirs <dirs>            Override location of installed extensions
  -endorseddirs <dirs>       Override location of endorsed standards path
  -proc:{none,only}          Control whether annotation processing and/or compilation is done.
  -processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses default discovery process
  -processorpath <path>      Specify where to find annotation processors
  -d <directory>             Specify where to place generated class files
  -s <directory>             Specify where to place generated source files
  -implicit:{none,class}     Specify whether or not to generate class files for implicitly referenced files 
  -encoding <encoding>       Specify character encoding used by source files
  -source <release>          Provide source compatibility with specified release
  -target <release>          Generate class files for specific VM version
  -version                   Version information
  -help                      Print a synopsis of standard options
  -Akey[=value]              Options to pass to annotation processors
  -X                         Print a synopsis of nonstandard options
  -J<flag>                   Pass <flag> directly to the runtime system

I don't know what to do next.

Okay, this means that you do have the JDK already installed. You'll need to learn Java now (I recommend TheNewBoston on YouTube) and then you're all set!

The problem is I don't even know how to access JDK from there......

Just download an IDE.


Posts: 20000 - Show all posts

Offline

 

#18 2012-04-18 20:57:39

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: I need JDK for Mac!

veggieman001 wrote:

maxdoss wrote:

16Skittles wrote:


Okay, this means that you do have the JDK already installed. You'll need to learn Java now (I recommend TheNewBoston on YouTube) and then you're all set!

The problem is I don't even know how to access JDK from there......

Just download an IDE.

I recommend Eclipse.


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#19 2012-04-18 21:30:44

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: I need JDK for Mac!

maxdoss wrote:

16Skittles wrote:

maxdoss wrote:


I get

Code:

Last login: Wed Apr 18 06:58:47 on ttys000
Maxwells-MacBook-Pro:~ maxwelldoss$ javac
Usage: javac <options> <source files>
where possible options include:
  -g                         Generate all debugging info
  -g:none                    Generate no debugging info
  -g:{lines,vars,source}     Generate only some debugging info
  -nowarn                    Generate no warnings
  -verbose                   Output messages about what the compiler is doing
  -deprecation               Output source locations where deprecated APIs are used
  -classpath <path>          Specify where to find user class files and annotation processors
  -cp <path>                 Specify where to find user class files and annotation processors
  -sourcepath <path>         Specify where to find input source files
  -bootclasspath <path>      Override location of bootstrap class files
  -extdirs <dirs>            Override location of installed extensions
  -endorseddirs <dirs>       Override location of endorsed standards path
  -proc:{none,only}          Control whether annotation processing and/or compilation is done.
  -processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses default discovery process
  -processorpath <path>      Specify where to find annotation processors
  -d <directory>             Specify where to place generated class files
  -s <directory>             Specify where to place generated source files
  -implicit:{none,class}     Specify whether or not to generate class files for implicitly referenced files 
  -encoding <encoding>       Specify character encoding used by source files
  -source <release>          Provide source compatibility with specified release
  -target <release>          Generate class files for specific VM version
  -version                   Version information
  -help                      Print a synopsis of standard options
  -Akey[=value]              Options to pass to annotation processors
  -X                         Print a synopsis of nonstandard options
  -J<flag>                   Pass <flag> directly to the runtime system

I don't know what to do next.

Okay, this means that you do have the JDK already installed. You'll need to learn Java now (I recommend TheNewBoston on YouTube) and then you're all set!

The problem is I don't even know how to access JDK from there......

Are you expecting a program such as Scratch? The JDK is the BARE basics needed to create Java programs. It includes the JRE, the compiler (Javac on command line) and a few other tools. If you want to do all the hard work yourself, just fire up a text editor and save your program as a .java file. Navigate to the directory of the file and type "javac yourprogram.java". Note that Java is a case sensitive language, meaning that if your program is named "HelloWorld.java" and you type "javac helloworld.java" there will be an error.
If you want the computer to do most of the work for you, as well as be more organized, you will want an IDE, or Integrated Development Environment. This organizes your program in packages, catches bad syntax (like spell check in Word or Pages) and features options for exporting your program easily. Most commonly used are Eclipse and Netbeans, which I believe have already been linked to above. If not, Google it.


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

Board footer