Date: Thu, 23 Apr 1998 13:39:18 -0700 (PDT) From: Tom Bartol <bartol@salk.edu> To: Nate Williams <nate@mt.sri.com> Cc: freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG Subject: Re: Trouble installing SwingSet in JWS Message-ID: <Pine.BSF.3.96.980423131340.19717L-100000@cole.salk.edu> In-Reply-To: <199804232012.OAA10969@mt.sri.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Apr 1998, Nate Williams wrote: > > I grabbed swing-1.0.1 from Sun and installed it. Now when I try to get > > JWS to see it using "Import Components to Palette..." I get the following > > error in the Java WorkShop Java Console: > > > > > > java.lang.OutOfMemoryError > > This seems pretty obvious to me. > > > Soooo, what am I doing wrong here? > > Running out of memory. What are your memory limits set to? > > > Nate That was my first guess as well but that's not it. After installing the JWS-2.0a extension (which Sun claims is required to support JFC-1.1/swing-1.0.1) I noticed that the new startup_wrapper that it comes with does the following: max_heap="-mx128m" ... java_opts="${max_heap} ${initial_heap} ${c_stack_size} ${java_opts}" So I added this to our freebsd startup_wrapper and, Shazamm!! The "Import Components to Palette..." function opens swingall.jar just fine now. It claims to have found 33 Beans in the file and the sets of widgets appear in the left hand half of the Import window. Now I just have to read the docs on how to add these to the existing palette on the right side of the window... Give me a minute... O.K. I've just read the help on how to do it and have just tried but now I get this error message in the java console: Visual Palette Editor Log : Failure locating Class for com.sun.java.swing.JMenuBarShadow and I get this message in my shell window: ELF binary type not known Which make it look like the visual palette editor is trying to run one of the ELF solaris binaries that come with JWS and not a FreeBSD one. It does say which binary it is trying to run. Any ideas on how to progress past this one now? Thanks, Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980423131340.19717L-100000>