Computer Science Canada Java: School v.s. Home? |
Author: | TheZsterBunny [ Sat Sep 11, 2004 4:21 pm ] |
Post subject: | Java: School v.s. Home? |
Hi, I've a bit of a dilemma. Everything I've learned in Java so far this year (in the holt editor) doesn't work at home. Have they updated so drastically that it is impossible to use old java, or am I just missing something. I am using the NetBeans IDE 3.6 with the latest Java package from sun at home, and the Holt editor using a Java dinosaur. I'd really like to know what is happening, and if anyone (named McKenzie) can help me with this problem. -Zster |
Author: | rizzix [ Sat Sep 11, 2004 5:28 pm ] |
Post subject: | |
please state ur java SDK.. |
Author: | Tony [ Sat Sep 11, 2004 7:37 pm ] |
Post subject: | |
he's using ready to program and its not that they updated it.. its just that holtsoft took the java core and moved it out into the side with a truckload of their own non standart classes. |
Author: | rizzix [ Sat Sep 11, 2004 8:08 pm ] |
Post subject: | Re: Java: School v.s. Home? |
TheZsterBunny wrote: I am using the NetBeans IDE 3.6 with the latest Java package from sun at home, and the Holt editor using a Java dinosaur. yea well that JDK.. yep i was asking wht ver did he download he. |
Author: | Dan [ Sat Sep 11, 2004 9:17 pm ] |
Post subject: | |
Did'nt M$ get sued for that? May be some one should tip off sun ![]() |
Author: | TheZsterBunny [ Sat Sep 11, 2004 10:02 pm ] | ||
Post subject: | |||
http://java.sun.com/j2se/1.4.2/download-netbeans.html NetBeans + J?? IDE um, the 'ready to program' by holt, have they changed the language?
doesn't work in netbeans or crimson editor. whereas the rtp is fine. -Z |
Author: | Dan [ Sat Sep 11, 2004 11:28 pm ] |
Post subject: | |
Console is not a pere defined object in real java, the hole console system was made up by holth and that is what is in there api. It is sposted to make it easer for poleop to learn it but i think it acualty makes it harder in the long run. It is a same that schools ataucaly use this when real java is free and better. |
Author: | rizzix [ Sun Sep 12, 2004 1:07 pm ] |
Post subject: | |
yep ok now we know that ur using sun's netbeans with jdk 1.4.2 very well. now we need to figure out wht holt is using.. could you do us a favour and list all the files and folders of directories and subdirectories in the ready to program directory? all that info could help us in aiding not just you but other holtsoft users. |
Author: | TheZsterBunny [ Sun Sep 12, 2004 2:02 pm ] |
Post subject: | |
I don't have access to those folders. I know some of the modules they use (hsa.console) do not exist anymore, so they must be outdated. could that be a custom module? -Z |
Author: | rizzix [ Sun Sep 12, 2004 2:06 pm ] |
Post subject: | |
hsa is their proprietary package. u'd have to find the .jar file in those folders that includes the package. but if you had access to that folder i could tell you wheter a perticular jar is their or sun's |
Author: | Dan [ Sun Sep 12, 2004 2:06 pm ] |
Post subject: | |
TheZsterBunny wrote: I know some of the modules they use (hsa.console) do not exist anymore, so they must be outdated. could that be a custom module? Thas what i have been trying to say, hsa.console is not made by java (sun) nor dose any verson of java have it but rtp. |
Author: | TheZsterBunny [ Mon Sep 13, 2004 3:35 pm ] |
Post subject: | |
Alright, I now have (Java 1.4.1 + Ready to Program) and (Java 2 + NetBeans) on my computer. How can I associate my hsa.console package (part of 1.4.1+rtp) with NetBeans? What files must I copy/move/edit? -Z |
Author: | Dan [ Mon Sep 13, 2004 3:50 pm ] |
Post subject: | |
Well it whould help if we knew what files there where, most of us try to stay far away from rtp. There should be a jar file like rizzix was saying called somting like hsa some where in the dir or sub dirs. (jar file is a arciver like zip that ushely has classes in it[APIs]) to use them the easyested way whould be to move them to the same dir as ur java class that uses them. Athougth u can move them in to the right java dir (witch i do not rember but i am shure rizzix knows) and it will make it system wide. If you post the hole dir strucher and files we could help more (as in the names of them not the files.) |
Author: | TheZsterBunny [ Tue Sep 14, 2004 6:40 am ] |
Post subject: | |
digging around, under a folder called 'source' i have found the 'hsa' directory. this contains all sorts of java/class files. I take it that this is what I was looking for? where to? -Z |
Author: | rizzix [ Tue Sep 14, 2004 6:58 am ] |
Post subject: | |
well is there a folder called lib or something? with jar files in it? |
Author: | Dan [ Tue Sep 14, 2004 9:46 am ] |
Post subject: | |
That dir sounds right me....do u think it whould work if he copyed the hsa dir the the curnt dir where his java class file is? Or whould he have to trun the classes in to a jar file to get the right name to be imported? |
Author: | rizzix [ Tue Sep 14, 2004 2:15 pm ] |
Post subject: | |
well he could just jar all the .class files and put that jar in /j2re/lib/ext directory |
Author: | TheZsterBunny [ Tue Sep 14, 2004 2:46 pm ] |
Post subject: | |
how to jar class files? is it necessary? there is an include folder with Java 2. I'll test. -Z --edit-- nope, i have to jar the files. |
Author: | RobinK [ Sun Sep 19, 2004 11:41 am ] |
Post subject: | |
They are not in .jars. They are done in .java files. ready to program/classes/hsa/console.java I also have an older version of Ready and does not seem to work at all. So many different random errors. And I do not want to pay the school for a copy, so I choose to code it in Eclipse by importing hsa. Console as a package. |
Author: | rizzix [ Sun Sep 19, 2004 12:22 pm ] |
Post subject: | |
interesting ok could one of u guys just zip me the entire classes directory? |
Author: | RobinK [ Fri Sep 24, 2004 9:56 pm ] |
Post subject: | |
Here it is. |
Author: | Dan [ Sat Sep 25, 2004 12:11 am ] |
Post subject: | |
Sory, i had to delete that file. Thos clases are copyrighted materal and holth dose offten look at this page to see if they can sue us. I had some one talk to me on msn about this awhile ago and we discoved that if u just take the hsa dir and put it in same floder as the java file u are working on it will work. I whould think that if your everment vars are set right you could just put the hole hsa dir in to the folder that rizzix metioned. persaonly i have tested this with a hsa i obtined from another sorce then this and it worked when i just put the hsa dir w/o ziping or jaring in the same floder. If you whont to show rizzix the clases send them to him on msn or e-mail or post them on your web site. |
Author: | wtd [ Sat Sep 25, 2004 12:16 am ] |
Post subject: | |
Besides, it's best to simply learn how to do things with the standard Java libraries. Since I don't have any experience with classes using Holt software, I have to ask: do classes which use their Java product require students to use the proprietary classes, or are solutions implemented with the standard class library acceptable? |
Author: | RobinK [ Mon Sep 27, 2004 8:02 pm ] |
Post subject: | |
Well for my class, we have to use proprietary hsa.Console. Our tests are based on the hsa.Console too. |
Author: | Hikaru79 [ Sat Oct 16, 2004 4:03 pm ] |
Post subject: | |
wtd wrote: Besides, it's best to simply learn how to do things with the standard Java libraries.
Since I don't have any experience with classes using Holt software, I have to ask: do classes which use their Java product require students to use the proprietary classes, or are solutions implemented with the standard class library acceptable? Because we have a COOL teacher (He's so cool, he even posts on compsci.ca ![]() Zbunny, follow the light. Uninstall RTP and just use real Java If you need help, download Thinking in Java 3rd Edition (it's a free e-book, so I'm not even suggesting anything illegal ![]() |
Author: | TheZsterBunny [ Sat Oct 16, 2004 7:43 pm ] |
Post subject: | |
petvet, i've been using netbeans at home. its the one that comes with the java 2 kde from the sun site. i like using the rtp editor. really clean and no hassles. who cares that its a h0lt product? they all do the same thing. -z p.s. complainer, do you still want the hsa.console package? |
Author: | Hikaru79 [ Sat Oct 16, 2004 10:49 pm ] |
Post subject: | |
TheZsterBunny wrote: p.s. complainer, do you still want the hsa.console package? No thanks ![]() |
Author: | TheZsterBunny [ Sun Oct 17, 2004 3:09 pm ] |
Post subject: | |
[quote=Hikaru79] No thanks ![]() [/quote] extra cool. what problems were you facing? oh, and where can i get the program you're using now? -Z |
Author: | Hikaru79 [ Sun Oct 17, 2004 3:36 pm ] |
Post subject: | |
http://www.eclipse.org/ is the URL to the IDE I told you about earlier ![]() |