Re: VisualAge 3.02 under Linux
[EMAIL PROTECTED] wrote: > > I have installed the 3.02 version of VisualAge unto a Redhat 7.0 machine. I have > never done this before so I could only follow the Instructions from IBM. > After in the install I try to issue the command 'vajide' but says it can not > find the command. I am getting the feeling that there is a path should be setup > but do not see any documentation for it. > > If I run 'vajide' from gnome's file manager then I do see eight tasks run ala > the monitor. that's it ...? IDE never displays... Do you see any error messages when you run it from the console? People have reported various problems getting the Linux version to run. Suggested fixes have included: >*displayLang: C > > should go in .Xdefaults. Thanks for your earlier posting - wouldn't > have figured it out otherwise. > I made it working moving .Xpdefaults away: > mv .Xpdefaults foo/ Have you looked at IBM's VisualAge Java pages? http://www-4.ibm.com/software/ad/vajava/ There are support newsgroups in VisualAge Developer Domain, click on resources, newsgroups, then "Java - VisualAge for Java Install Newsgroup". The above quotes came from messages in that group. IBM is supposed to have released 3.5 for Linux by now with Java 2 support, but I haven't seen it. I have been pestering their Business Partners and seminar presenters at every opportunity asking when it will be released; I suggest that other Linux users anxious to use the product do the same. -- === Glenn Holmer ([EMAIL PROTECTED]) --- Don't say that you have no choice With no one to hear your voice You can shout and make no sound Or whisper up a storm --- -Robin Trower, 1994 === -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Diagnosing Java Code,Creating applets with VisualAge for Java,Javadeveloper resources written in Japanese
<<0>>-<>-<>-<>-<<0>> Java developer resources written in Japanese Go to the developerWorks Japan Java Zone to find Java development articles, white-papers, and tutorials written in Japanese. At the dW Japan Java Zone You can find these articles along with 30 others Written in Japanese. - Trusting your e-mail with Java security - Distributed object graph traversal, preparation, and transport - JavaPush - Performance is the main benefit - Java technology and the wireless world - Deploying and using Enterprise JavaBeans components) dW Japan Java Zone - developer content written in Japanese http://www.alphaworks.ibm.com/aw.nsf/html/dW-Japan-Java?open&l=jlst004,t=gr,p=Japan-Java <<0>>-<>-<>-<>-<<0>> Struts, an open-source MVC implementation This article introduces Struts, a Model-View-Controller implementation that uses servlets and JavaServer Pages (JSP) technology. Struts can help you control change in your Web project and promote specialization. Even if you never implement a system with Struts, you may get some ideas for your future servlets and JSP page implementations. Manage complexity in large Web sites with this servlets and JSP framework http://www-106.ibm.com/developerworks/library/j-struts/index.html?open&l=jlst004,t=gr,p=Struts <<0>>-<>-<>-<>-<<0>> Swing model filtering This article discusses the technique of model filtering. This technique is used with the Swing component set to provide alternative views of model data without altering the underlying data. Filters can be used to alter the apparent content of data elements or present elements in a different order. Filters can be applied to either data or state models and can be layered to combine their effects. Using filter objects to reinterpret data and state models http://www-106.ibm.com/developerworks/library/j-filters/index.html?open&l=jlst004,t=gr,p=swing-filter <<0>>-<>-<>-<>-<<0>> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Odd reflection issue
I'm not sure what is going on with what I'm doing, so thought I'd ask for some help. My environment is Sun JDK 1.3. I am trying to understand reflection. When I run the command 'java com.bascom.TestClass3' from a terminal, I get this output (I'm only pasteing in the pertanent part): [treaves@double treaves]$ java com.bascom.TestClass3 4 Fields for TestClass3 = Field 0: private int com.bascom.TestClass3.attribute3 Field 1: private java.util.HashMap com.bascom.TestClass3.hasmMapAttribute Field 2: private java.lang.String com.bascom.TestClass3.lastAttribute Field 3: private static java.lang.Class com.bascom.TestClass3.class$Ljava$lang$Object This is what I get from BeanShell: bsh % Class testClass = Class.forName("com.bascom.TestClass3"); bsh % Field[] fields = testClass.getDeclaredFields(); bsh % print(fields.length); 3 bsh % print(fields); Array: [Ljava.lang.reflect.Field;@6f247 { private int com.bascom.TestClass3.attribute3 private java.util.HashMap com.bascom.TestClass3.hasmMapAttribute private java.lang.String com.bascom.TestClass3.lastAttribute } So when I run from the commandline, it lists that there are four fields, and in BeanShell it lists three. The command line shows the java.lang.Class as the fourth field. Why? What am I missing? Thanks. package com.bascom; public class TestClass1 { private int attribute1; protected String rootAttribute; public int getAttribute1(){ return attribute1; } public void setAttribute1(int attribute1){ this.attribute1 = attribute1; } public String getRootAttribute(){ return rootAttribute; } public void setRootAttribute(String rootAttribute){ this.rootAttribute = rootAttribute; } private void operation1() { } } package com.bascom; public class TestClass2 extends TestClass1 { private int attribute2; private boolean boolAttribute; public float staticAttribute; public boolean isBoolAttribute(){ return boolAttribute; } public void setBoolAttribute(boolean boolAttribute){ this.boolAttribute = boolAttribute; } } package com.bascom; import java.lang.reflect.*; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; public class TestClass3 extends TestClass2 { private int attribute3; private HashMap hasmMapAttribute; private String lastAttribute; public static void main(String[] args){ try{ Class testClass = Class.forName("com.bascom.TestClass3"); Field[] fields = testClass.getDeclaredFields(); System.out.println(fields.length); ArrayList list = new ArrayList(); list.addAll(Arrays.asList(testClass.getDeclaredFields())); Class superClass = testClass.getSuperclass(); do { list.addAll(Arrays.asList(superClass.getDeclaredFields())); } while ( (superClass = superClass.getSuperclass()) != null && superClass != Object.class ); int index = 0; System.out.println("Fields for TestClass3"); System.out.println("="); for (;index < fields.length; index++) { System.out.println("Field " + index + ": " + fields[index]); } System.out.println("Fields for TestClass3 + superclasses"); System.out.println(""); Iterator it = list.iterator(); index = 0; while (it.hasNext()) { System.out.println("Field " + index++ + ": " + it.next().toString()); } } catch(Exception e){ e.printStackTrace(); } } }
/dev/random with SecureRandom?
Most Linux kernels include the /dev/random device - anyone using it to seed an implementation of the JDK's SecureRandom facility? The default initialization algorithm used by the JCE is pretty darn expensive when we have a pretty good source of bits at hand. Is it possible that blackdown already does this? Cheers, -mik -- Michael Thome ([EMAIL PROTECTED]) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
JTable mouse click
When I double-click on a JTable, the MouseEvent event is saying the getClickedCount ==1. It always equals one regardless of the actual click count. I'm using JDK 1.3 from Sun. Any advice? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]