| openoffice.org-2.0 build error |
|
 |
Index ‹ java-programmer
|
- Previous
- 2
- it seems like my scene is empty :(I'm a beginner. I know nothing more than I read in some tutorials. So
pelase be patient and forgiving ;-)
So when I try to construct the scene, the only thing I see is black and
probably empty area :( My code is similiar to what I've seen in those
tutorials but it simply isn't working, while the examples I tried gave
good results. This is code of my createScene function:
meshX and meshY are constants. int intensity[][] keeps values of y
coordinates. These values can generally be anything between 1 and 255.
public BranchGroup createScene()
{
TransformGroup tg = new TransformGroup();
BranchGroup objRoot = new BranchGroup();
TriangleArray tri;
for(i=0;i<meshX-1;i++)
for(j=0;j<meshY-1;j++)
{
tri = new TriangleArray(3, TriangleArray.COORDINATES);
Shape3D shape = new Shape3D();
tri.setCoordinate(0, new Point3f(i+1, intensity[i+1][j], j));
tri.setCoordinate(1, new Point3f(i, intensity[i][j], j));
tri.setCoordinate(2, new Point3f(i, intensity[i][j+1], j+1));
shape.setGeometry(tri);
tg.addChild(shape);
Shape3D shape2 = new Shape3D();
tri = new TriangleArray(3, TriangleArray.COORDINATES);
tri.setCoordinate(0, new Point3f(i+1, intensity[i+1][j+1],
j+1));
tri.setCoordinate(1, new Point3f(i+1, intensity[i+1][j], j));
tri.setCoordinate(2, new Point3f(i, intensity[i][j+1], j+1));
shape2.setGeometry(tri);
tg.addChild(shape2);
}
Transform3D cc3d = new Transform3D();
cc3d.setTranslation(new Vector3f (0f ,0f ,10f ));
tg.setTransform(cc3d);
objRoot.addChild(tg);
return objRoot;
}
can you help me?
Marcin
- 2
- New technology, old idea.... why not?Good Morning/Evening,
I'm young and foolish but love to create new ideas. The one I am
currently pondering...... (a simple unoptermised version of it):
public void wastefulSort()
{
//Using todays technology, of a lot of unused space
int[] A = {5,4,3,2,9};
int[] B = new int[1000];
for(int i = 0; i < A.length; i++)
{
B[A[i]] = A[i];
}
}
Assumptions:
This is run on a turing machine.
The input values do not repeat.
Assume any B space unused, it is null (not 0).
-------------------------------------------------
Is this not the quickest way of sorting numerical data? aka takes n
(or O(n))?
Thanks,
Peter
- 2
- Finding file inside jar or zip fileIf I want to find whether a file test.java exists in my c:\ directory,
I do
File f = new File("c:\test.java");
f.exists();
But if I have that test.java inside a zip file or jar file, how do I
find it's existance? I tried doing
File f = new File("jar:c:/data.zip!/test.java");
f.exists();
It didn't work. It always return false.
Does anyone have any idea on how to find the existance of a file inside
a zip or jar file?
Thanks,
- Raja.
- 2
- Max size for upload...Hi guys,
i've a simple question for you.
I'm developing a jsf application that allows to user to upload a file
into a mysql table.
I'm using Jakarta project to perform upload.
Everythings go well until a maxsize is reached, after i have
error......
how can i set this maxsize?
Can i change it?
How?
Thanks....
- 2
- Connection timed outI want to test this code which establishes SSL connection with the
server. Why it throws the exception as below. Also, how to retrieve
the content of the desired page on that host?:
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.security.Principal;
import java.security.cert.X509Certificate;
import javax.net.ssl.SSLPeerUnverifiedException;
import javax.net.ssl.SSLSession;
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
public class MainClass {
public static void main(String[] args) throws Exception {
SSLSocketFactory factory = (SSLSocketFactory)
SSLSocketFactory.getDefault();
String hostName = "website.com";
String fileName = "";
SSLSocket sslsock = (SSLSocket) factory.createSocket(hostName,
443);
SSLSession session = sslsock.getSession();
X509Certificate cert;
try {
cert = (X509Certificate) session.getPeerCertificates()[0];
} catch (SSLPeerUnverifiedException e) {
System.err.println(session.getPeerHost() + " did not present a
valid certificate.");
return;
}
System.out.println(session.getPeerHost() + " has presented a
certificate belonging to:");
Principal p = cert.getSubjectDN();
System.out.println("\t[" + p.getName() + "]");
System.out.println("The certificate bears the valid signature
of:");
System.out.println("\t[" + cert.getIssuerDN().getName() + "]");
System.out.print("Do you trust this certificate (y/n)? ");
System.out.flush();
BufferedReader console = new BufferedReader(new
InputStreamReader(System.in));
if (Character.toLowerCase(console.readLine().charAt(0)) != 'y')
return;
PrintWriter out = new PrintWriter(sslsock.getOutputStream());
out.print("GET " + fileName + " HTTP/1.0\r\n\r\n");
out.flush();
BufferedReader in = new BufferedReader(new
InputStreamReader(sslsock.getInputStream()));
String line;
while ((line = in.readLine()) != null)
System.out.println(line);
sslsock.close();
}
}
Exception in thread "main" java.net.ConnectException: Connection timed
out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(Unknown Source)
at
com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(Unknown
Source)
at SSL.SSLTest.main(SSLTest.java:20)
- 5
- SEGV on jdk 1.5.0 @ amd64
Hi!
I have experienced two crashes pof the in the last 24 hours. This is on
freebsd-6.0-release @ amd64 with latest jdk-1.5.0p2_2
Hope this info can shed som light on this? Need more info? Just mail me.
/Palle
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x0000000800fed63c, pid=28464, tid=0x87b000
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM
(1.5.0-p2-girgen_24_nov_2005_21_38 mixed mode)
# Problematic frame:
# V [libjvm.so+0x68f63c]
#
# An error report file with more information is saved as
/tmp/hs_err_pid28464.log
#
# If you would like to submit a bug report, please write
# a letter to email***@***.com mailing list
#
- 5
- JMX, way to know if NotificationEmitter is alive?Hi, I'm facing a JMX problem,
I'm working in an aplication that uses JMX to send update messages
from a MBeanServer to several consoles.
The architecture is: a MBeanServer that emits JMX Notifications and
several Java-Web-Start-based console's applications that are
NotificationListeners, registered as listeners of the MBean that emits
the Notifications at the server side.
I want to know if there is a way from the different consoles to check
if the NotificationEmitter is alive and sending Notifications.
Any idea?
(please, don't answer that the way to know that the server is down is
that you don't receive more Notifications)
thanks,
Kun
- 10
- Help building applicationHello,
I am fairly new to Java. I recently switched from C++ to Java for a
project I am working on. I was looking for a decent HTML parser when I came
across the htmlparser 1.5 project on Sourceforge.net. I understand the
logic, but I am having build problems with my own classes. If I put my class
in the jar file along with all the other parser classes, everything works
well, but I prefer not to do it that was. When I have a separate .class file
and try to run it through the JVM I get the following error:
"java.lang.NoClassDefFoundError: AdamParser (wrong name:
org/htmlparser/AdamParser)". All I want to do is test my ideas the simplest
way possible. I was hoping some more experienced Java programmer could help
me.
TIA,
Adam
- 11
- Simultaneous keypresses in Pong gameHi,
i have created a Pong game Application where two players control their
pads using the keyboard. the problem is that one player is using the
action keys
VK_UP and VK_DOWN in keyPressed() and the other, characters 'w' and
's' in keyTyped(). when both players hit a key simultaneously and keep
it pressed then only one of the two pads move. on the other hand if
both hit their keys fast then everything works ok. i declared both
keyPressed and keyTyped as "synchronized" but it doesn't seem to work.
what can i do in order to process them simultaneously? there is a run
method in my application as well.
thank you
- 11
- Linking hibernate ejb3 persistence unitsI know the EJB3 spec supports linking beans belonging to separate
persistence units at deploytime, but I'm not sure if the Hibernate
implementation supports this. Does anyone know how to do this? Any
good documentation or examples?
Thanks in advance
- 11
- import & jars; adding TestPlugIn.java to JamochaMUD.jarhere are the errors:
---------on FC2 linux------------------------
[thufir@ plugins]$ pwd
/home/thufir/anecho/JamochaMUD/plugins
[thufir@ plugins]$ /usr/java/jdk1.5.0/bin/javac TestPlugIn.java
TestPlugIn.java:3: cannot find symbol
symbol : class JMConfig
location: package anecho.JamochaMUD
import anecho.JamochaMUD.JMConfig;
^
TestPlugIn.java:4: cannot find symbol
symbol : class MuSocket
location: package anecho.JamochaMUD
import anecho.JamochaMUD.MuSocket;
^
TestPlugIn.java:8: cannot find symbol
symbol: class PlugInterface
public class TestPlugIn implements PlugInterface {
^
TestPlugIn.java:10: cannot find symbol
symbol : class JMConfig
location: class anecho.JamochaMUD.plugins.TestPlugIn
JMConfig settings;
^
TestPlugIn.java:12: cannot find symbol
symbol : class JMConfig
location: class anecho.JamochaMUD.plugins.TestPlugIn
public void setSettings(JMConfig mainSettings) {
^
TestPlugIn.java:43: cannot find symbol
symbol : class MuSocket
location: class anecho.JamochaMUD.plugins.TestPlugIn
public String PlugMain(String jamochaString, MuSocket mu) {
^
6 errors
TestPlugIn.java is just cut-and-pasted from
<http://jamochamud.anecho.mb.ca>. (see plugin documentation)
just looking at this error:
TestPlugIn.java:3: cannot find symbol
symbol : class JMConfig
location: package anecho.JamochaMUD
import anecho.JamochaMUD.JMConfig;
the anecho/plugin directory was created by JamochaMUD.jar. do I need to
un-jar everything in order for this import statement to work, or can I
leave the JamochaMUD.jar intact and simply work from TestPlugIn.java in
../anecho/plugin ?
thanks,
Thufir Hawat
- 11
- Returning an objectHi, I am after some advice regarding returning an object called for in
one class and constructed in another.
The class that constructs the object has around ten methods that if
successful will all be called during creation of the object however
each method could throw an exception due to IO errors so I was
wondering how do you code something like this.
The calling class currently calls a single method in the creation
class which in turn makes calls to another method and so on until the
object is built, this is fine if all goes well but how do you deal
with an exception.
If an exception is thrown the object will not be built and the calling
class will have no object to deal with.
I guess you can use boolean return values for each method in the
creation class and return null or another sensible value to the caller
if something goes wrong but this seems clunky.
Any advice would be appreciated.
Thanks,
M.
- 12
- Good JDO tutorial ?I'm trying to learn JDO and am having a tought time getting started.
I'm using Eclipse and have downloaded the Triactive JDO. (It seemed
rated pretty well and it's free)
I'm using SQL Server
I'd prefer not to use enhancement because it doesn't sound like the
right approach, but I guess I could try it if the tutorial was good
Can someone point me in the right direction? I don't mind trying a
different JDO (as long as it is free). But I want to go against sql server.
Chip
- 12
- Java apps + autodesk AutocadHi !
I am writing a java application to launch autocad executable (done!) and
send commands (open file, save file) to this autocad executable instance....
anybody here can help me with any links?
thanks in advance
- 15
- Everyone agrees that Java's date/time handling is terrible......but are there any alternatives? I have had a look around for replacement
libraries, but I cannot find anything that meets my needs. Most of the
available choices simplify the issues (for example, ignoring time of day,
ignoring timezones, or assuming the Gregorian calendar), or provide
functionality that will not be used (such as working with dates +/-100,000
years from now). I am searching for something that will manage dates/times
at various timezones around the world, and can convert points in time into
various local calendars.
Are there any projects under way that will provide a better implementation
of Sun's Date and Calendar classes to handle dates, times of day, timezones,
daylight savings times, and calendars?
Many thanks,
Greg Hawkes <email***@***.com>
(Remove ".despam" to reply, please)
|
| Author |
Message |
watts

|
Posted: 2006-5-10 20:25:00 |
Top |
java-programmer, openoffice.org-2.0 build error
This is a multipart MIME message.
Is there resolution to overcome this?
hs_err_pid22565.log is attached.
Thanks.
Bob
email***@***.com
|
| |
|
| |
 |
watts

|
Posted: 2006-5-10 20:26:00 |
Top |
java-programmer >> openoffice.org-2.0 build error
This is a multipart MIME message.
--==_Exmh_-11016217920
Content-Type: text/plain; charset=us-ascii
Is there resolution to overcome this?
hs_err_pid22565.log is attached.
Thanks.
Bob
email***@***.com
--==_Exmh_-11016217920
Content-Type: text/plain ; name="hs_err_pid22565.log"; charset=us-ascii
Content-Description: hs_err_pid22565.log
Content-Disposition: attachment; filename="hs_err_pid22565.log"
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGBUS (0xa) at pc=0x28713595, pid=22565, tid=0x805c000
#
# Java VM: Java HotSpot(TM) Server VM (diablo-1.5.0_06-b00 mixed mode)
# Problematic frame:
# V [libjvm.so+0x589595]
#
--------------- T H R E A D ---------------
Current thread (0x0805ce00): JavaThread "main" [_thread_in_vm_trans, id=134594560]
siginfo:si_signo=10, si_errno=0, si_code=12, si_addr=0x288eb380
Registers:
EAX=0x288c8b08, EBX=0x288b2e74, ECX=0x288eb000, EDX=0x288c8b10
ESP=0xbfbf9790, EBP=0xbfbf9858, ESI=0x00000380, EDI=0x288caa54
EIP=0x28713595, EFLAGS=0x00010202
Top of Stack: (sp=0xbfbf9790)
0xbfbf9790: 0000001c 08054498 bfbf97b8 280a26fd
0xbfbf97a0: 280ad4b4 08056000 bfbf97d8 280ab089
0xbfbf97b0: 2807c050 bfbf97f8 00000000 00000000
0xbfbf97c0: 00000000 bfbf9800 00000000 00000000
0xbfbf97d0: 080636ec 080636e8 0000000f 08062a00
0xbfbf97e0: 00000000 00000000 00000004 0805ce00
0xbfbf97f0: 080636c0 08063680 bfbf9808 2809d8cc
0xbfbf9800: 0805ce00 08063680 bfbf9838 28711897
Instructions: (pc=0x28713595)
0x28713585: 75 94 d3 ee 8b 38 8b 0a 21 fe 8b bb 40 71 00 00
0x28713595: c7 04 31 01 00 00 00 8b 17 85 d2 0f 84 cf fc ff
Stack: [0xbfbc0000,0xbfc00000), sp=0xbfbf9790, free space=229k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x589595]
V [libjvm.so+0x688d9a]
V [libjvm.so+0x5b08d9]
V [libjvm.so+0x3a656c]
V [libjvm.so+0x60176b]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v ~RuntimeStub::_new_Java
J java.lang.String.substring(II)Ljava/lang/String;
J sun.net.www.protocol.jar.Handler.parseURL(Ljava/net/URL;Ljava/lang/String;II)V
J java.net.URL.<init>(Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)V
J sun.misc.URLClassPath.getResource(Ljava/lang/String;Z)Lsun/misc/Resource;
v ~I2CAdapter
j java.net.URLClassLoader$1.run()Ljava/lang/Object;+26
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13
j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+43
j java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
j java.lang.ClassLoader.loadClassInternal(Ljava/lang/String;)Ljava/lang/Class;+2
v ~StubRoutines::call_stub
j com.sun.tools.javac.comp.Attr.<init>(Lcom/sun/tools/javac/util/Context;)V+89
j com.sun.tools.javac.comp.Attr.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/comp/Attr;+20
j com.sun.tools.javac.comp.Annotate.<init>(Lcom/sun/tools/javac/util/Context;)V+30
j com.sun.tools.javac.comp.Annotate.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/comp/Annotate;+20
j com.sun.tools.javac.jvm.ClassReader.<init>(Lcom/sun/tools/javac/util/Context;Z)V+137
j com.sun.tools.javac.jvm.ClassReader.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/jvm/ClassReader;+21
j com.sun.tools.javac.main.JavaCompiler.<init>(Lcom/sun/tools/javac/util/Context;)V+46
j com.sun.tools.javac.main.JavaCompiler.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/JavaCompiler;+20
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)I+310
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;)I+9
j com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111
j org.apache.tools.ant.taskdefs.compilers.Javac13.execute()Z+62
j org.apache.tools.ant.taskdefs.Javac.compile()V+154
j org.apache.tools.ant.taskdefs.Javac.execute()V+124
j org.apache.tools.ant.UnknownElement.execute()V+58
j org.apache.tools.ant.Task.perform()V+22
j org.apache.tools.ant.Target.execute()V+43
j org.apache.tools.ant.Target.performTasks()V+11
j org.apache.tools.ant.Project.executeSortedTargets(Ljava/util/Vector;)V+138
j org.apache.tools.ant.Project.executeTarget(Ljava/lang/String;)V+27
j org.apache.tools.ant.helper.DefaultExecutor.executeTargets(Lorg/apache/tools/ant/Project;[Ljava/lang/String;)V+13
j org.apache.tools.ant.Project.executeTargets(Ljava/util/Vector;)V+19
j org.apache.tools.ant.Main.runBuild(Ljava/lang/ClassLoader;)V+404
j org.apache.tools.ant.Main.startAnt([Ljava/lang/String;Ljava/util/Properties;Ljava/lang/ClassLoader;)V+88
j org.apache.tools.ant.launch.Launcher.run([Ljava/lang/String;)V+784
j org.apache.tools.ant.launch.Launcher.main([Ljava/lang/String;)V+10
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x081c7800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=136083968]
0x081c7400 JavaThread "CompilerThread1" daemon [_thread_blocked, id=136082944]
0x081c7000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=136081920]
0x081acc00 JavaThread "AdapterThread" daemon [_thread_blocked, id=135974400]
0x081ac800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=135973376]
0x081ac400 JavaThread "Finalizer" daemon [_thread_blocked, id=135972352]
0x081ac000 JavaThread "Reference Handler" daemon [_thread_blocked, id=135971328]
=>0x0805ce00 JavaThread "main" [_thread_in_vm_trans, id=134594560]
Other Threads:
0x0813cb00 VMThread [id=134647296]
0x08056a00 WatcherThread [id=136084992]
VM state:synchronizing (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x08063440/0x08063480] Safepoint_lock - owner thread: 0x0813cb00
[0x08063500/0x08063540] Threads_lock - owner thread: 0x0813cb00
[0x08053720/0x08063b00] Heap_lock - owner thread: 0x0805ce00
Heap
PSYoungGen total 11072K, used 11067K [0x66c10000, 0x677b0000, 0x6d680000)
eden space 10240K, 100% used [0x66c10000,0x67610000,0x67610000)
from space 832K, 99% used [0x676e0000,0x677aee88,0x677b0000)
to space 832K, 0% used [0x67610000,0x67610000,0x676e0000)
PSOldGen total 54528K, used 158K [0x31880000, 0x34dc0000, 0x66c10000)
object space 54528K, 0% used [0x31880000,0x318a7980,0x34dc0000)
PSPermGen total 16384K, used 7107K [0x2d880000, 0x2e880000, 0x31880000)
object space 16384K, 43% used [0x2d880000,0x2df70e80,0x2e880000)
Dynamic libraries:
0x08048000 /usr/local/diablo-jdk1.5.0/bin/java
0x2807d000 /lib/libz.so.3
0x2808d000 /usr/lib/libpthread.so.2
0x280b2000 /lib/libc.so.6
0x2818a000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/server/libjvm.so
0x288d4000 /lib/libm.so.4
0x288ec000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/native_threads/libhpi.so
0x288fd000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libverify.so
0x2890a000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libjava.so
0x28929000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libzip.so
0x28052000 /libexec/ld-elf.so.1
VM Arguments:
jvm_args: -Dant.home=/usr/local/ant
java_command: org.apache.tools.ant.launch.Launcher -lib .:../../../../unxfbsd.pro/class:/usr/local/diablo-jdk1.5.0/jre/lib/rt.jar:.:/usr/local/ant/lib/xercesImpl.jar:/usr/local/ant/lib/xml-apis.jar:/usr/local/ant/lib/ant.jar:/usr/local/diablo-jdk1.5.0/lib/tools.jar -Dprj=../../../.. -Dprjname=ooo_beanshell -Ddebug=off -Doptimize=on -Dtarget=jarall -Dsolar.update=on -Dout=../../../../unxfbsd.pro -Dinpath=unxfbsd.pro -Dproext=.pro -Dsolar.bin=/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solver/680/unxfbsd.pro/bin -Dsolar.jar=/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solver/680/unxfbsd.pro/bin -Dsolar.doc=/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solver/680/unxfbsd.pro/doc -Dcommon.jar=/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solver/680/unxfbsd.pro/bin -Dcommon.doc= -f build.xml -emacs
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=/usr/local/diablo-jdk1.5.0
CLASSPATH=.:../../../../unxfbsd.pro/class:/usr/local/diablo-jdk1.5.0/jre/lib/rt.jar:.:/usr/local/ant/lib/xercesImpl.jar:/usr/local/ant/lib/xml-apis.jar:/usr/local/ant/lib/ant.jar:/usr/local/diablo-jdk1.5.0/lib/tools.jar
PATH=/usr/local/ant/bin:/usr/local/diablo-jdk1.5.0/bin:.:/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solver/680/unxfbsd.pro/bin:/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solenv/unxfbsd/bin:/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solenv/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
LD_LIBRARY_PATH=/usr/local/diablo-jdk1.5.0/jre/lib/i386/server:/usr/local/diablo-jdk1.5.0/jre/lib/i386:/usr/local/diablo-jdk1.5.0/jre/../lib/i386:.:/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solenv/unxfbsd.pro/lib:/usr/local/diablo-jdk1.5.0/jre/lib/i386:/usr/local/diablo-jdk1.5.0/jre/lib/i386/xawt:/usr/local/diablo-jdk1.5.0/jre/lib/i386/client:/usr/local/diablo-jdk1.5.0/jre/lib/i386/native_threads:../lib:/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solver/680/unxfbsd.pro/lib:
SHELL=/bin/tcsh
HOSTTYPE=FreeBSD
OSTYPE=FreeBSD
ARCH=i386
MACHTYPE=i386
OS=FREEBSD
Signal Handlers:
SIGSEGV: [libjvm.so+0x682400], sa_mask[0]=0xffffffff, sa_flags=0x00000002
SIGBUS: [libjvm.so+0x682400], sa_mask[0]=0xffffffff, sa_flags=0x00000002
SIGFPE: [libjvm.so+0x5a2e70], sa_mask[0]=0xffffffff, sa_flags=0x00000042
SIGPIPE: [libjvm.so+0x5a2e70], sa_mask[0]=0xffffffff, sa_flags=0x00000042
SIGILL: [libjvm.so+0x5a2e70], sa_mask[0]=0xffffffff, sa_flags=0x00000042
SIGUSR1: [libjvm.so+0x5a2f40], sa_mask[0]=0x00000000, sa_flags=0x00000040
SIGUSR2: [libjvm.so+0x5a2e70], sa_mask[0]=0xffffffff, sa_flags=0x00000042
SIGHUP: [libjvm.so+0x5a1720], sa_mask[0]=0xffffffff, sa_flags=0x00000002
SIGINT: [libjvm.so+0x5a1720], sa_mask[0]=0xffffffff, sa_flags=0x00000002
SIGQUIT: [libjvm.so+0x5a1720], sa_mask[0]=0xffffffff, sa_flags=0x00000002
SIGTERM: [libjvm.so+0x5a1720], sa_mask[0]=0xffffffff, sa_flags=0x00000002
--------------- S Y S T E M ---------------
OS:FreeBSD
uname:FreeBSD 6.0-RELEASE-p7 FreeBSD 6.0-RELEASE-p7 #1: Fri May 5 17:10:57 CDT 2006 email***@***.com:/usr/src/sys/i386/compile/SMP i386
rlimit: STACK 65536k, CORE infinity, NOFILE 11095
CPU:total 4 family 47, cmov, cx8, fxsr, mmx, ht
Memory: 4k page, physical 3921916k
vm_info: Java HotSpot(TM) Server VM (diablo-1.5.0_06-b00) for freebsd-x86, built on Feb 16 2006 23:15:39 by truk with gcc 3.4.4 [FreeBSD] 20050518
--==_Exmh_-11016217920
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
--==_Exmh_-11016217920--
|
| |
|
| |
 |
Panagiotis Astithas

|
Posted: 2006-5-10 20:45:00 |
Top |
java-programmer >> openoffice.org-2.0 build error
email***@***.com wrote:
> Is there resolution to overcome this?
http://tinyurl.com/hzbyb
Cheers,
Panagiotis
|
| |
|
| |
 |
past

|
Posted: 2006-5-10 20:45:00 |
Top |
java-programmer >> openoffice.org-2.0 build error
email***@***.com wrote:
> Is there resolution to overcome this?
http://tinyurl.com/hzbyb
Cheers,
Panagiotis
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- <<Whats this? >>Help ButtonDear All
In most windows based applications, we can find a button with icon like
[Arrow and Question mark]
It is always on the help menu
When selected the Cursor is changed to that icon, and any thing clicked
will pop-up a small yellow help tip
How can this be done with java?
Thanks ;
Essam
- 2
- Threading In Java BeansHello, I was trying to find some information regarding Concurrency in
J2EE. In my application I simply put a lock on the session and the
accessor/mutator methods inside the bean. Is this the proper way of
ensuring data consistency in a large scale web site. Any opinions or
links would be appreciated.
thanks
- 3
- Mobile phones, J2ME and Java Enabled Phone
Regarding Mobile Phone and j2me or Java enabled phone I have two
query.
1)I need help on finding a mobile phone that support j2me.
2)How can I download a J2ME application to a mobile phone that support
J2ME or Is a Java Enabled?
Any help is appreciated.
-Reda Mokrane
- 4
- Launching a browser -- help!I've found several good examples out there on how to launch a web
browser
from a Java application, using the Runtime exec() command. However,
what
I'd like to do is configure the browser that's launched, as one would
in
an html link with the javascript onclick="window.open(
'http://www.mysite.com', 'mywindow',
'width=500,height=500,scrollbars=no,resizable=no')"
Is there any way to set, for example, the width and height on the
browser
I launch? There doesn't seem to be any command line parameters for
the
browser I'm launching, and besides, those would be platform-specific.
I
suspect it will require some javascript trickery -- but I only know
how
to specify those parameters on links, not on the page I'm am newly
invoking...
Please help!
--Mark
- 5
- java/53790: Let tomcat41ctl start java -server
>Number: 53790
>Category: java
>Synopsis: Let tomcat41ctl start java -server
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-java
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 26 09:40:00 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Ernst de Haan
>Release: FreeBSD 4.8-STABLE i386
>Organization:
FreeBSD Project
>Environment:
System: FreeBSD zaphod.euronet.nl 4.8-STABLE FreeBSD 4.8-STABLE #16: Mon Jun 16 14:38:13 CEST 2003 email***@***.com:/usr/obj/usr/src/sys/ZAPHOD i386
>Description:
Wojtek Sobczuk is requesting the following:
i believe that tomcat41ctl should start tomcat using: java -server, and
not java -client (which is the default).
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
- 6
- Applet paint problem (only on IE)I've written an animated, double buffered graphical applet for JDK 1.1.8 (It
has to run without the user having to download a new JRE) that is run in a
table cell on a web page. It uses threads for the animation, with a delay
based on the speed of the animation.
The problem is that on IE, the image does not display until it regains
focus, ie the page is scrolled down, then up, or a second window obscures it
and is then removed. According to the Java console, it has started fine.
It works as it should on FireFox and Opera, and works in IE when it is the
only thing on the page. I have tried everything I can think of (removing the
delay, extra repaints, trying every kind of embedding into the web page,
etc, even trying to get keyboard focus) but to no avail.
Does anyone know what the problem might be?
Thanks,
Greg
- 7
- loop through all controls on a panel without hardcodingHello,
In other environments (Delphi and .NET have things like ComponentCount
and FindControl) I've used prior to Java, I could automatically find
all the controls (or only the controls of a certain type, like
checkboxes for example) on a form by passing that form off to some
built in methods which know how to iterate through all the controls
contained within that form.
I haven't been able to find an equivalent feature in Java. In my Java
app, if I have 5 checkboxes on a panel, I would prefer to pass just
the panel to my method for processing (and have checkbox state
determined there) rather than myMethod (cb1, cb2, cb3, cb4, cb5).
How is this done in Java?
Thanks!
- 8
- Maven: Calling ANT scripts before buildHi all,
I have this little problem in maven. I like to call an ANT script which
does some JAXB compiling before my compile goal is executed.
does anyone know how to achieve this? I have looked into the docs, and
I don't quite get it, I fear ... :-) .
Thanks in advance & greetings,
Axel.
- 9
- Design pattern for 1 Producer/multiple Consumers?I'm doing a simple Producer/Consumer thing based on the example in the Sun
docs, where the Consumer does a wait until there is something to consume,
then it consumes it and does a notify, and the Producer does a wait until
there is nothing to consume and then adds it and does a notify. But now I
need a bunch of Consumers. Is there a standard design pattern for this,
or am I going to have to figure it out myself?
--
Paul Tomblin <email***@***.com> http://blog.xcski.com/
Do you have a point, or are you saving it for a special occasion?
-- David P. Murphy
- 10
- Locator2 and SAX parsersHello:
I'm using the org.xml.sax JAVA API to manage a XML file.
I want to know if it exists a SAX parser ( SAX driver ) that supports
Locator2 interface (in org.xml.sax.ext package ).
My objetive is to get the encoding property of a XML file, and that
interface has a getEncoding() method.
Anyone SAX parsers that I've probed don't supports this interface (xerces,
piccolo, oracle , aelfred, ... )
I would like to know if somebody has used this JAVA interface (Locator2).
Thaaaaaanks
- 11
- Spidering and strippingIs it a difficult task to develop a Java agent that spiders a web site,
copies the text, and strips the HTML tags?
Thanks.
- 12
- Change so that I can print .txt or .rtfHi All,
I have tested this program below using a .gif and it works
successfully.
I want to change it so that I can print a notepad.txt or wordpad.rtf.
TIA,
bH
import java.io.*;
import javax.print.*;
import javax.print.attribute.*;
import javax.print.attribute.standard.*;
import javax.print.event.*;
public class BasicPrint {
public static void main(String[] args) {
try {
// Open the image file
InputStream is = new BufferedInputStream(
new FileInputStream("BIGbggrn01.gif"));
// Find the default service
DocFlavor flavor = DocFlavor.INPUT_STREAM.GIF;
PrintService service =
PrintServiceLookup.lookupDefaultPrintService();
// Create the print job
DocPrintJob job = service.createPrintJob();
Doc doc = new SimpleDoc(is, flavor, null);
// Monitor print job events; for the implementation of
PrintJobWatcher,
PrintJobWatcher pjDone = new PrintJobWatcher(job);
// Print it
job.print(doc, null);
// Wait for the print job to be done
pjDone.waitForDone();
// It is now safe to close the input stream
is.close();
} catch (PrintException e) {
} catch (IOException e) {
}
}
}
class PrintJobWatcher {
// true iff it is safe to close the print job's input stream
boolean done = false;
PrintJobWatcher(DocPrintJob job) {
// Add a listener to the print job
job.addPrintJobListener(new PrintJobAdapter() {
public void printJobCanceled(PrintJobEvent pje) {
allDone();
}
public void printJobCompleted(PrintJobEvent pje) {
allDone();
}
public void printJobFailed(PrintJobEvent pje) {
allDone();
}
public void printJobNoMoreEvents(PrintJobEvent pje) {
allDone();
}
void allDone() {
synchronized (PrintJobWatcher.this) {
done = true;
PrintJobWatcher.this.notify();
}
}
});
}
public synchronized void waitForDone() {
try {
while (!done) {
wait();
}
} catch (InterruptedException e) {
}
}
}
- 13
- [ANT] apply-task and relative attribute (gettext-like internationalisation/localisation)Hello,
We are currently trying to internationalise Jmol with gettext. Therefor I
wrote an ant-build-script to generate everything necessary to allow the
typical use of gettext. You will find it here:
http://cvs.sourceforge.net/viewcvs.py/jmol/Jmol/build-i18n.xml?rev=1.7&view=auto
or http://pastebin.com/291187
But I have a minor problem. At the moment xgettext gets all files relative
to the src-directory (${basedir}/src), which leads to such .po(t)-file
location-entries:
#: org/jmol/applet/Jmol.java:118
but I would like to have entries relative to the directory, where the .pot
and .po files reside (${basedir}/src/org/jmol/translation/Jmol):
#: ../../../jmol/applet/Jmol.java:118
Is there anyone with an idea, how this can be realized (I wasn't
successful in my last tries)? You can also reach me via IRC
(irc.freenode.net, #cdk) or ICQ (#148295333) for a direct discussion
and/or work on the file at pastebin.com. Of course, I will also send all
discussion results to the group.
BTW: Ant is version 1.6.2.
Regards, Daniel
--
GnuPG-ID 4F981411 ~~ http://www.wgdd.de/
Usenet-FAQ http://www.afaik.de/usenet/faq/ & http://got.to/quote
de.sci.chemie http://www.dsc-faq.de/ & http://www.chemie-webverzeichnis.de/
de.comp.security.*-FAQs http://www.linkblock.de
- 14
- Text on the screen , java3dhey mates, im really newbie with java3d, im learning this api, and
doing somes test, but i have my first question, i want to put some
text on the screen, i know its exist a Text2D class, but its interact
with the virtualuniverse , i want only put flat text on the screen,
with some data, maybe the fps , coordenates , etc
i was trying to use the getGraphics of Canvas3D and use drawString but
didnt work, i did the same thing with Frame also with Applet, i got
the graphics and used drawString, but nothing
how can i do to be able to do this? could you give me somes examples?
i hope you can help me:D
PD: sorry my bad english , i from venezuela :$
- 15
- Create own data structure from DOM?Hi again!
I successfully parsed my XML file into a DOM and traversed it in level-
order. I did that to gather information about component number and
level of each component node in the tree, because I need to work with
that information a little later.
The original XML file looks a little like this (the attribute index
letters represent the level-order "numbering"):
<Component ind="A">
<Component ind="B">
<Component ind="D"/>
<Component ind="E"/>
</Component>
<Component ind="C">
<Component ind="F"/>
</Component>
</Component>
What I'm trying to do now is to create instances of each component. I
have a Component class carrying all information I need - except one:
Who's my father component?
What should I do to tell every component instance of it's father node
without creating more than one instance of each component?
I thought of two and a half possibilities yet, but I really hope you
can help me here or give me some new ideas:
a) put every component node (from DOM) onto a stack and pop one by one
by creating component instances and create another component instance
of node.getParent(). but then I have a lot of component instances
doubled or tripled or even more... that ain't really efficient.
Stack:
F
E
D
C
B
A
b) create instances while traversing the DOM and add each instance to
a array list. But then I have the problem of not knowing the array
index of the father component.
Array:
A B C D E F
c) create multiple lists with array[0] carrying the father node
followed by it's child nodes (array[i])
Array 1:
A B C
Array 2:
B D E
Array 3:
C F
Thank you in advance!
/Chris
|
|
|