View Full Version : looking for Java Program
03-17-2005, 04:57 PM
Hey all, Its been along time since ive done Java script and i wanted to get back into it. problem is that i cannot for the life of me find the program/compiler. the java.sun site has so many things but i cant find the development kit. i just want to write some java. compile, and make applets for some practice. could anyone point me to the proper link or proper name of the program?
oh...sorry for the double post :(
03-17-2005, 06:53 PM
If you want to write a JAVA program then you will need a JAVAC compiler which is part of the sdk.
03-17-2005, 08:59 PM
does this help?
and my a friend just told me that i need j2se... ok so i go to the link that was posted above. what exactly do i download?? there is like 3 updates. some documents. and other things, cant it just be as simple as here is the setup file.. now install. im realy confused as to what i need to do or download
if you want j2se download this
JDK 5.0 Update 2 includes the JVM technology
03-17-2005, 10:17 PM
Hmmm really if your ultimate goal is to create 'scripts' in softimage then downloading the j2se sdk is basically overkill.
In the end your going to be creating 'scripts' which means that variables you create will most likely consist of a intrinsic data types meaning everything will be declared like so:
var varName; //maybe an object
var varName; //maybe a string
var varName; //maybe an int
But in JAVA you will have to actual determine your data types for memory reasons like:
String address; //Object
int Weight; //Integer Object
char myInitials; //character
Not to mention, you wont have to deal with the overhead of OOP. Scripting is pretty much straight forward procedual top down level programming like old fashion C.
Point being is that you really dont need all that hassle if your end game is just to 'script'. Now you mentioned Jscript which is cool and is part of the WSH (Windows Scripting Host).
That is exactly what you need if you want to start messing around with scripts.
Windows Scripting Host Downloads (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/scriptinga.asp)
That link should get you set up with all you need to start playing around with the Jscript language which is easy use and has great documentation. Just write your code in notepad, save it as whatever.js and double click :)
Hope this helps.
03-17-2005, 10:46 PM
fox, if you want to learn to script for XSI there are two main types of scripts/SCOPs you will use.
one revolves around pipelines, and to learn that the best scripting books (that can also be applied directly to XSI related stuff that is) are the OR books about python.
learning python and the cookbook will get you a long way.
the other kind is tools, helpers and operators, and for those an understanding of linear algebra and basic programming and interfacing is more useful, along with the knowledge of XSI's scriptingAPI SDK.
approaching programming from a language POV is the most common mistake I see with people starting to script for XSI (even if they're scripts we're still by all means in the programming realm).
a language is just that, language, with its syntax, standard libraries set etc.
books about JS or VBS will heavily focus on the tasks these languages are most used for, none of which applies to scripting for XSI.
you're better off investing in either learning real programming (and everything you'll learn will trickle down into scripting as well), fundamentals of those branches of maths that apply to 3D and the XSI SDK.
everything else will happen on the way or will follow naturally.
03-17-2005, 11:47 PM
In that case then learn C++ and some simple OGL / glut examples just to get yourself oriented programming for 3D. But from your orginal post it sounded like you havent been coding for a long while and just wanted to code 'anything' to get the feel for it again so simple Jscripting sounded feasible to me.
Regardless, I agree with ThE_Jaco and not because he is a moderater but overall because his assesment was sound.
03-18-2005, 06:21 AM
my first goal is to learn how to properly script tools inside of xsi using jscript, "helpers and operators" as jaco stated.
my second and long term goal is Pipeline tools, addons, exporting/importing between different softwares, plugins, ect. in this case C++, Python and the Cookbook are inline to be learned and looked at, but i do mean longterm. in a couple years when i have a stable job, im thinking about returning to school to learn full out programming.
since it is my first goal to begin making tools for inside of xsi, i will take your advice and look into learning more about XSI's scriptingAPI SDK and some basic programming.
This has been very insightfull, i have had very little guidance to show me where i should begin.. actualy the only info I have ever gotten has been from Jaco in other threads. Thank you both for your input so far. and just wondering. what is glut? :p
05-27-2005, 02:29 PM
OK, I know this thread is really old, but this is an issue that I see over and over, so I will post what I think and hopefully some one will read it:
1) is a very serious programming language. It may be somewhat higher-level than C, but I (among others) have spent years learning it, and it is a deep languge, with, I think, better OO than C++
2) can be used for applets, but, like C++, its primary use is, in fact, stand-alone applications. A lot of people get confused and assume its only for applets. NO
2) DOES NOT do stand alone applications, so , its not really (IMHO) a programming language, per se.
learn JAVA if you want to know a robust, quickly growing, powerful, and deep programming language similar in many ways to C++.
Just my (lengthy) 2 cents :)
(and by the way, KidMesh, Java is both compiled by a compiler, and then interpreted, by the JVM, which is why its both really slow and universally compatible)
05-27-2005, 02:29 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2015, Jelsoft Enterprises Ltd.