
-----------------------------------
TheZsterBunny
Sat Sep 11, 2004 4:21 pm

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

-----------------------------------
rizzix
Sat Sep 11, 2004 5:28 pm


-----------------------------------
please state ur java SDK..

-----------------------------------
Tony
Sat Sep 11, 2004 7:37 pm


-----------------------------------
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.

-----------------------------------
rizzix
Sat Sep 11, 2004 8:08 pm

Re: Java: School v.s. Home?
-----------------------------------

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.

-----------------------------------
Dan
Sat Sep 11, 2004 9:17 pm


-----------------------------------
Did'nt M$ get sued for that?

May be some one should tip off sun :P

-----------------------------------
TheZsterBunny
Sat Sep 11, 2004 10:02 pm


-----------------------------------
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?


static console c;


doesn't work in netbeans or crimson editor. whereas the rtp is fine.

-Z

-----------------------------------
Dan
Sat Sep 11, 2004 11:28 pm


-----------------------------------
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.

-----------------------------------
rizzix
Sun Sep 12, 2004 1:07 pm


-----------------------------------
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.

-----------------------------------
TheZsterBunny
Sun Sep 12, 2004 2:02 pm


-----------------------------------
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

-----------------------------------
rizzix
Sun Sep 12, 2004 2:06 pm


-----------------------------------
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

-----------------------------------
Dan
Sun Sep 12, 2004 2:06 pm


-----------------------------------

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.

-----------------------------------
TheZsterBunny
Mon Sep 13, 2004 3:35 pm


-----------------------------------
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

-----------------------------------
Dan
Mon Sep 13, 2004 3:50 pm


-----------------------------------
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.)

-----------------------------------
TheZsterBunny
Tue Sep 14, 2004 6:40 am


-----------------------------------
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

-----------------------------------
rizzix
Tue Sep 14, 2004 6:58 am


-----------------------------------
well is there a folder called lib or something? with jar files in it?

-----------------------------------
Dan
Tue Sep 14, 2004 9:46 am


-----------------------------------
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?

-----------------------------------
rizzix
Tue Sep 14, 2004 2:15 pm


-----------------------------------
well he could just jar all the .class files and put that jar in /j2re/lib/ext directory

-----------------------------------
TheZsterBunny
Tue Sep 14, 2004 2:46 pm


-----------------------------------
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.

-----------------------------------
RobinK
Sun Sep 19, 2004 11:41 am


-----------------------------------
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.

-----------------------------------
rizzix
Sun Sep 19, 2004 12:22 pm


-----------------------------------
interesting ok could one of u guys just zip me the entire classes directory?

-----------------------------------
RobinK
Fri Sep 24, 2004 9:56 pm


-----------------------------------
Here it is.

-----------------------------------
Dan
Sat Sep 25, 2004 12:11 am


-----------------------------------
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.

-----------------------------------
wtd
Sat Sep 25, 2004 12:16 am


-----------------------------------
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?

-----------------------------------
RobinK
Mon Sep 27, 2004 8:02 pm


-----------------------------------
Well for my class, we have to use proprietary hsa.Console. Our tests are based on the hsa.Console too.

-----------------------------------
Hikaru79
Sat Oct 16, 2004 4:03 pm


-----------------------------------
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 :D) he lets us use the standard class libraries if we want to. Of course, it's harder for us because the textbooks ONLY deal with HSA, but he doesn't care what you use on tests, assignments, projects or whatever. In fact, he encourages us to drop the HSA console package as soon as we can, and learn to program the real way. "Weaning us off" as he calls it ^ ^

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 :o)

-----------------------------------
TheZsterBunny
Sat Oct 16, 2004 7:43 pm


-----------------------------------
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?

-----------------------------------
Hikaru79
Sat Oct 16, 2004 10:49 pm


-----------------------------------

p.s. complainer, do you still want the hsa.console package?

No thanks :) I figured out how to solve my problem without. ^^

-----------------------------------
TheZsterBunny
Sun Oct 17, 2004 3:09 pm


-----------------------------------
[quote=Hikaru79]
No thanks  :)  I figured out how to solve my problem without. ^^
[/quote]

extra cool. what problems were you facing?

oh, and where can i get the program you're using now?

-Z

-----------------------------------
Hikaru79
Sun Oct 17, 2004 3:36 pm


-----------------------------------
http://www.eclipse.org/ is the URL to the IDE I told you about earlier :) It's l33t!
