|
|||||
Open University M362 and MacOs (snow leopard) 10.6.x: problem solved?I was having a problem with M362 which requires NetBeans 5.5.1 and Sun Java System Application server 9.0. The bundle that comes from Netbeans would not install because I have snow leopard which comes with Java JDK 1.6. This is how I finally seem to have solved the problem. First a DISCLAIMER: I cannot take any responsibility for any damage that you might cause to your systems following this procedure. Please make sure that you understand the commands and that you are aware of the risks and consequences of your actions. If you don’t understand or don’t know these commands please ask for help to more experienced users. There are also alternative ways to obtain the same results, but i don’t have time to explain them. This procedure is provided “as is”, it’s not tested or guaranteed. Thanks for your understanding. Procedure: from a machine running Leopard (macos 10.5.x) I made a copy of the java 1.5.0 jdk: open terminal on machine with leopard sudo bash (requires password) cd /System/Library/Frameworks/JavaVM.framework/Versions/ tar cvf /tmp/java1.5.0.tar 1.5.0 scp /tmp/java1.5.0.tar youraccount@yourmachine.local: (the semicolon is part of the command; youraccount is your account on macos) now go on the snow leopard machine and open a terminal: sudo bash (requires password) cd /System/Library/Frameworks/JavaVM.framework/Versions rm 1.5 rm 1.5.0 tar xvf /Users/youraccount/java1.5.tar ln -s 1.5.0 1.5 That was it; I then installed the file sjsas_pe-9_0_01-nb-5_5_1-ml-fcs-bin-macosx.jar that I had downloaded from the netbeans website and this time the installation proceeded to the end without errors. I didn’t need to change the Java Preferences because during the installation you are asked which JDK you want to use and in the option window you will find also you 1.5 newly installed JDK. I selected the 1.5 JDK and the installation worked. After installation I started netbeans.app and I loaded the Greeter Servlet (which previously gave an error upon loading) and this time there was no error. I built and ran the servlet and eventually I got a Safari window with the output of the servlet. I tried altering the URL and adding ?name=myname and it worked too. I don’t have time now to test the activities but I am feeling confident. Hope it helps. Use the comment feature to let me know if it works for you or not. |
|||||
|
Copyright © 2012 BennyTheJudge - All Rights Reserved 477 queries. 0.753 seconds. Positions by Seo-Watcher |
|||||