Question:
im new to java , people hace scripts and u can compile them?
The 1 u need
17 years ago
i dont know wat a script is im sure its like code , and i dont know where it goes and what i put it in and how to compile it , if u can help ty

i know how to put a code in vb , but no idea wat i do with a script ot how to make it compile,

do i need a special program to incert the code i copy and paste it from , i dl'ed java jdk 6 thingy
Three answers:
17 years ago
If you are just beginning with Java, and are maybe new to object orientated programming (OOP) you should look at Blue Jay http://www.bluej.org



Blue Jay has a neat feature called 'object bench', this can help beginners visualize what is going on when you begin working with objects (eclipse has a plugin that does the same but you need to manually add it). Eclipse is a little more sophisticated than Blue Jay and its there if/when you progress in your ability. The makers of Blue Jay makers have a lot of helpful information on their site and there is a specially tailored book called "Objects First With Java - A Practical Introduction Using BlueJ" - which you can pick up very cheaply on amazon or other retailers. I have read this book and it is a decent introduction to the subject, the code examples are also very good.



There are installation guides on bluejay.org but in a nutshell you install your java runtime environment then the java software development kit (there are a few versions available, get the latest), then install blue jay. You are then set and can begin writing programs. Java programs (classes) are in the form of files with .java extension these will appear in Blue Jay using the Unified Modelling Language class diagram notation, which is also helpful. Good luck with your studies!
asourapple100
17 years ago
For Java, you can't go wrong with BlueJ, so follow what the guy above me said. But it doesn't sound to me like you're using Java. Are you sure you're not using JavaScript? Because snippets of Java code are rarely called scripts, whereas they frequently are when dealing with JavaScript. Despite their similar names, they are very different languages.
gobo_r838
17 years ago
If you have the java SDK downloaded and installed, go to www.eclipse.org



It's an open source java IDE (best out there) install that and you can put in your code and compile it.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...