Java HotSpot Virtual Machine
- " ' ; ' expected " error
- Mon, 24 Sep 2007 19:46:00 GMT
- I am trying to get a clock application to work but when ever I run this code it comes up with a' ; ' expectedon line nine. Line nine is function UpdateClock() {and I have no idea what is wrong with the program. I keep on trying to get it to work but whenever I touch anything else more errors ...
- " Pointer implicitly converted to integral value in assignment" warning
- Sun, 23 Sep 2007 17:01:00 GMT
- Hi allSimple thing but I don't know how to do it. From my java program I pass an objectto a native method , then I get the values in the object, then assign them to local cariables and then call a subroutine with those parameters.It gives " Pointer implicitly converted to integral value in ...
- "\n" character in Java is not interpretated by C program
- Fri, 21 Sep 2007 09:13:00 GMT
- Hi,I have opened a socket connection to a server listening at some Port.The process running at this port is a C-function which requires data to be passed as String sandwiched between ".thatisjava.com.BEGMSG.thatisjava.com.\n and .thatisjava.com.ENDMSG.thatisjava.com.\n"I am passing the data as String = ".thatisjava.com.BEGMSG.thatisjava.com.\n"and writing to socket output stream.But ...
- "_imp__JNI_GetDefaultJava..." undefined reference
- Thu, 20 Sep 2007 10:34:00 GMT
- I get link error when i compile the invoke.c example from the tutorial.In jdk1.4 there is no javai.lib file.Tutorial:"cl -I<where jni.h is> -MT invoke.c -link <where javai.lib is>\javai.lib"I set the lib folder to <jdk>\lib. There is only jvm.lib and jawt.lib.Is the tutorial ...
- "accessibility.properties" file does not work in J2SDK1.4.2
- Sun, 23 Sep 2007 04:02:00 GMT
- Hi,What is the file that is equivalent to "accessibility.properties" in J2SDK1.4.2 . I tried adding "assistive_technologies=EventTest" to "accessibility.properties" file by creating a new file in my J2SDK/JRE/lib folder of my JDK1.4.2 . but the JRE is not loading this class by default. But the ...
- "An Exception in Native code outside VM " Error in Java HotSpot(TM) Client
- Thu, 29 Nov 2007 09:04:00 GMT
- Hi AllWhen ruuning an application, the application suddenly close logging the following entries in a log file. We are having backend at the SQL server 2000 and I want to know whether this is a bug with HotSpot VM or with our application code.Since the whole application closes all of a sudden, ...
- "An unexpected error has been detected by HotSpot Virtual Machine: "
- Tue, 29 Jan 2008 23:09:00 GMT
- ## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x74346183, pid=3252, tid=2956## Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode, sharing)# Problematic frame:# C [ODBC32.dll+0x26183]## An error report file with ...
- "ASSERT FAILED" when java.exe ends
- Wed, 19 Sep 2007 21:42:00 GMT
- What kind of error message is this: ASSERT FAILED:Executable: java.exe PID 218 Tid b04 Module kswdmcap.ax, 4 objects left active at line blablablablablaThis happens when my java class ends from where I called a c++ method (that controls the windows media encoder sdk). It return without an error ...
- "borrowing" sun native methods.
- Thu, 20 Sep 2007 22:46:00 GMT
- Is it possible to declare native methods that are offered by sun.For instance, Double class has a public static native long doubleToLongBits(double value) method. Is there a way to declare this same native method as private in a class that I wrote myself, say, ...
- "C" question for Java nerds
- Fri, 21 Sep 2007 09:20:00 GMT
- Hi there..My question is simple..do we have any kind of API in C language that allows us to measure time? Any kind of function by the use of which I can measure the time at pointA and then measure the time at a later pointB?...
- "can`t find libjava.so" when I install Oracle9iDB to Red Hat Linux7.2
- Thu, 20 Sep 2007 15:30:00 GMT
- Hi, allI am new to Linux and want to install Oracle9iDB to my Red Hat Linux7.2. I logon to Linux as user oracle and after mount to the cdrom, to follow the Oracle installation guide, I run the command as following:oracle$ /mnt/cdrom/runInstallerI got the following error message:Initializing ...
- "Can't connect to VM"
- Wed, 14 Nov 2007 17:10:00 GMT
- Just installed Eclipse 3.2.1. I imported a project and built it with no problems.However, When I attempt to run it, I get this error in a dlg box:Can't connect to VMI am not trying to connect to a VM remotely. I don't think I have a firewall running. No message in the console#java -version ...
- "Can't find dependent libraries" Query
- Wed, 19 Sep 2007 14:13:00 GMT
- I created a sample.dll using VC++ which inturn uses java libraries. Iwas getting 'file.obj : error LNK2001: unresolved external symbol__imp__JAWT_GetAWT.thatisjava.com.8' link error while creating sample.dll even afterproviding jawt.dll path. So used jre/lib/jawt.lib to create thesample.dll. I am using ...
- "Could not create the Java virtual machine"
- Mon, 24 Sep 2007 03:47:00 GMT
- Here's my problem. Months ago I removed my Java Virtual Machine and every Java program in my add/remove programs list. I was having trouble with a fantasy football website called www.sportsline.com/fantasy. It has a Java heavy page that refreshes live scores from the football games on Sunday. ...
- "Destroying" a classloader
- Thu, 20 Sep 2007 09:54:00 GMT
- A lot of the literature and documentation I've read on classloaders talks about "destroying" a classloader when you want to reload its classes, but so far I've not found a definitive explanation for what it means to "destroy" a class loader. Can someone explain this to me? What if objects ...
- "error on page" message
- Sat, 22 Sep 2007 06:02:00 GMT
- I am getting an "error on page" message when I try to access any link based on javascript. I am running Windows 2000 and using IE6. Why is this happening.Thanks,Jeff ...
- "Exception in thread "main" java.lang.NoClassDefFound Error" in XP
- Sat, 22 Sep 2007 05:48:00 GMT
- I was creating programs just fine for awhile. Then, for some unknown reason, I start getting the runtime error message, "Exception in thread "main" java.lang.NoClassDefFound Error." I set my PATH in the following manner:Start | Control Panel | Performance and Maintenance | System | Advanced | ...
- "EXCEPTION_ACCESS_VIOLATION" Exception while making Native Call
- Sat, 22 Sep 2007 13:40:00 GMT
- Hi,I am using the following C++ code to make a call back to jave methods./********************************/static void recordException(JNIEnv *env,/* Java envirionment */jobject obj,/* Handle of the original java object */DalString errorMsg,/* Message sent by the caller */int errorCode/* Error ...
- "Fatal exception occurred. Program will exit"
- Wed, 14 Nov 2007 14:04:00 GMT
- I get this JVM error whenever I open a .jar file created with Blue-j. Anyone know whats wrong?...
- "Hook previously registered": shutdown hook removal synchronization problem
- Sat, 22 Sep 2007 03:22:00 GMT
- Hi,I have an app in which I am doing the following:private final ShutdownHook sdh=new ShutdownHook();myMethod(){synchronized(sdh){Runtime.getRuntime().addShutdownHook(sdh)}//do stuffsynchronized(sdh){Runtime.getRuntime().removeShutdownHook(sdh)}} I usually run this code in a loop, with each ...
- "Interfaces Are Slow" - Myth or Reality?
- Mon, 24 Sep 2007 00:21:00 GMT
- I抳e become involved in a friendly debate over the statement that 揑nterfaces Are Slow? Supposedly, they are slower than a concrete or even an abstract class due to the additional layer of indirection. However, I would like to believe that this is over-exaggerated, or at least that the JVM is ...
- "Java Virtual Machine Launcher-could not find the main class"
- Sat, 22 Sep 2007 18:41:00 GMT
- My system is working very slowly, especially during start-up.During the start-up, a small pop-up appears that reads: "Java Virtual Machine Launchercould not find the main class. Program will exit"Would this cause slow operation? How do I fix this?My system is Windows XP Professional, version ...
- "java.lang.UnsatisfiedLinkError" happen when I use java.exe in command line
- Sun, 23 Sep 2007 02:44:00 GMT
- When I use Eclipse 3.01 to run the program it has any problem.But If I use the command line "java -classpath D:\Java_prj\Java\NativeMethod\out com.bruce.nativemethod.HelloNative",a error message will appear below:java.lang.UnsatisfiedLinkError: no ./out/com/bruce/nativemethod/ in ...
- "Lock Computer" under Windows XP professional
- Sun, 23 Sep 2007 23:48:00 GMT
- hi,My Swing app needs to be notified when a user "Locks" the computer using CTRL+ALT+DEL combination and then clicking the "Lock Computer" button. I need to know even if the computer gets automatically locked via the screen saver. Can I do this at all ?...
- "Monitor Enter" & "Monitor Exit" events using JVMTI?
- Sat, 22 Sep 2007 14:21:00 GMT
- Is there any way I can record when a thread acquires or releases an object monitor using JVMTI?There is a "Monitor Contended Entered" event in JVMTI but it's only sent after a contention - I want to be notified whenever a monitor is entered. ...
- "nogc" option...
- Tue, 25 Sep 2007 01:52:00 GMT
- Hello,After 6 years programming and leading Java developper teams...I think major problem remaing in the JVM is...the garbage collector.It's not a problem of implementation, but just a bad strategy !We think in our team that we can seriously improve the global performance of our applications, ...
- "Platform's default charset"
- Fri, 21 Sep 2007 18:54:00 GMT
- Hi,Is it possible to change the "platform's default charset" as used by java.lang.String.getBytes() etc? It seems to have changed from JDK 1.4.0 to 1.4.1 and above. I'm using Linux.Setting the property "file.encoding" makes no difference.-- Chris...
- "Recursion too deep; the stack overflowed" while loading a Native library?
- Fri, 21 Sep 2007 11:36:00 GMT
- I'm currently very confused as to why this might be happening. I'm working on a JNI interface to some legacy C code. My first step was to prototype all of the needed functions and ensure that I'd the basic framework working. In other words, I stubbed my JNI code without making any calls into ...
- "segmentation fault" after JNI_CreateJavaVM
- Wed, 19 Sep 2007 17:41:00 GMT
- "segmentation fault" after JNI_CreateJavaVM in JNI when I try to call java in c++. Who knows how to do with it?I have look through all the material that i can find,but the question still remains .My platform is linux redhat 7.3,J2sdk 1.4.1.Anybody has the same experience? any comments are ...
- "structConverter" tool
- Thu, 20 Sep 2007 09:30:00 GMT
- Hello all,I have a JNI application which uses a lot of C++ structures.On the other day I got to know that there are some helping tools which may simplify my work to greater extent. In this regard I was searching for "structConverter" tool.I was unable to find the tool or code which can help me, ...
- "Java HotSpot Virtual Machine" Related Questions
- "error on page" message
- I am getting an "error on page" message when I try to access any link based on javascript. I am running Windows 2000 and using IE6. Why is this happening.Thanks,Jeff ...
- "Monitor Enter" & "Monitor Exit" events using JVMTI?
- Is there any way I can record when a thread acquires or releases an object monitor using JVMTI?There is a "Monitor Contended Entered" event in JVMTI but it's only sent after a contention - I want to be notified whenever a monitor is entered. ...
- "Can't connect to VM"
- Just installed Eclipse 3.2.1. I imported a project and built it with no problems.However, When I attempt to run it, I get this error in a dlg box:Can't connect to VMI am not trying to connect to a VM remotely. I don't think I have a firewall running. No message in the console#java -version ...
- "Can't find dependent libraries" Query
- I created a sample.dll using VC++ which inturn uses java libraries. Iwas getting 'file.obj : error LNK2001: unresolved external symbol__imp__JAWT_GetAWT.thatisjava.com.8' link error while creating sample.dll even afterproviding jawt.dll path. So used jre/lib/jawt.lib to create thesample.dll. I am using ...
- " Pointer implicitly converted to integral value in assignment" warning
- Hi allSimple thing but I don't know how to do it. From my java program I pass an objectto a native method , then I get the values in the object, then assign them to local cariables and then call a subroutine with those parameters.It gives " Pointer implicitly converted to integral value in ...
- "Exception in thread "main" java.lang.NoClassDefFound Error" in XP
- I was creating programs just fine for awhile. Then, for some unknown reason, I start getting the runtime error message, "Exception in thread "main" java.lang.NoClassDefFound Error." I set my PATH in the following manner:Start | Control Panel | Performance and Maintenance | System | Advanced | ...
- "EXCEPTION_ACCESS_VIOLATION" Exception while making Native Call
- Hi,I am using the following C++ code to make a call back to jave methods./********************************/static void recordException(JNIEnv *env,/* Java envirionment */jobject obj,/* Handle of the original java object */DalString errorMsg,/* Message sent by the caller */int errorCode/* Error ...
- "An unexpected error has been detected by HotSpot Virtual Machine: "
- ## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x74346183, pid=3252, tid=2956## Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode, sharing)# Problematic frame:# C [ODBC32.dll+0x26183]## An error report file with ...
- "Java Virtual Machine Launcher-could not find the main class"
- My system is working very slowly, especially during start-up.During the start-up, a small pop-up appears that reads: "Java Virtual Machine Launchercould not find the main class. Program will exit"Would this cause slow operation? How do I fix this?My system is Windows XP Professional, version ...