|
|
Hi am a student interested in developing an data analysis application and offer that as SaaS in cloud...
I Would like to develop it in java platform to enable multi-tenancy and scalability of the application..
Am expecting your kind help and suggestion about this project..
Thank U...
Regards,
Sangita S
|
|
|
|
|
See my answer to the question below; take a look at the information here[^].
It's time for a new signature.
|
|
|
|
|
I am last year diploma enginerring college so i want to make project in java on the based on the sms so can tell me how we can make code in sms plz
|
|
|
|
|
You need to go and do some research first on how to access SMS systems via Java. Take a look here[^] at some of the reference materials and tutorials.
It's time for a new signature.
|
|
|
|
|
you hav to break down, what you need to do, and then search bits and pieces on google, do hardwork of assembling and testing. then its yours!
♫ 99 little bugs in the code,
99 bugs in the code
We fix a bug, compile it again
101 little bugs in the code ♫
|
|
|
|
|
hi...i wish 2 create a registration module using java and access as backend,the scenario is :students from 500 colleges participate in a event tat has 4 activities,which the user chooses..but only 8 per college is allowed ...how to tackle 500 colleges..do i hav to create a separate count for each college?
warm regards...
sam
|
|
|
|
|
That would seem to be the sensible way to do it; otherwis how would you tell when the count for a single college gets to 8?
It's time for a new signature.
|
|
|
|
|
That's a wish, not a programming problem..
♫ 99 little bugs in the code,
99 bugs in the code
We fix a bug, compile it again
101 little bugs in the code ♫
|
|
|
|
|
Hello Friends
I am crating one applet based application.Now I want to run that on another system where jre is not available.So,can I use jre that Installed on my system by copying to another one and How can I use then that copied jre?
Or is there any other way to bundle jre with application so that when I try to run that application on any other system where no jre then this bundled jre get in use to run my application.
In actual I want to run my applet when My jre is at some different location other than installed one.
Any Help will be appreciated.
Thanks & Regards
Yogesh
modified on Friday, July 30, 2010 2:38 AM
|
|
|
|
|
I don't think this is possible. Any java app or applet needs to be able to find the registered JRE on the machine where the app/applet is to be run.
It's time for a new signature.
|
|
|
|
|
Is this an applet or an application?
If it is an application then you can simply include the JRE in a directory along with your application distribution and then run the application from that. The advantage of this is that you know which version of the JRE your application will run against, rather than being at the mercy of whichever random JRE happens to be installed as the default on the target machine. There is no need for any installation process or registration, you can copy the JRE directory and then point your application at this and away you go.
An applet is a different matter. If you want to run the applet from within a browser, then that browser must have a Java plug-in of the correct version installed and enabled. There is no way the applet can do this automatically. Normally, I would expect the browser to prompt the user with a message, something like "A required plug-in is missing for this page". In this case, the JRE does have to be properly installed and registered, and you cannot simply copy it over to the other machine.
|
|
|
|
|
Hi every body!
I'm Tu.I come form VietNam.
I need you help me wirte code a application monitor.
The first,this application can telnet in server by an ipaddress and port.
Then by execute commnad MML to managenment server.
Thanks you very must!
|
|
|
|
|
Sorry but we do not write code to order. Take a look at the articles here[^] and the tutorials here[^].
It's time for a new signature.
|
|
|
|
|
a simple google is your answer
♫ 99 little bugs in the code,
99 bugs in the code
We fix a bug, compile it again
101 little bugs in the code ♫
|
|
|
|
|
Hi all ,
I have the class file (HelloWorld.class) calls a native method, and the native library (Hello-World.dll) implements the native method.
While running the HelloWorld class I am getting following error:
Exception in thread "main" java.lang.UnsupportedClassVersionError: HelloWorld (Unsupported major.minor version 50.0)
Is this error releted to Java version?
I am using JDK 1.6.
|
|
|
|
|
The most likely cause is that the HelloWorld class was compiled to version 1.6 but you are trying to run it with a 1.5 JVM. Although Java is backwards compatible (a 1.6 JVM will run 1.5 code) it does not work the other way round.
|
|
|
|
|
|
Hi all,
Iam getting run time error in following function in jni.h:
return functions->FindClass(this, name);
Following is the FindClass() function call fron my cpp file:
cls = (env)->FindClass(servParams[i].lib);
Plz help , I am new to JNI Programming.
|
|
|
|
|
What is the actual error code or message that you receive? Also check the values of the various parameters you send to your functions. I also do not see the connection between the above two statements, the first accepts two parameters and the second passes only one.
It's time for a new signature.
|
|
|
|
|
Actually in jni.h following is the definition of FindClass
jclass FindClass(const char *name) {
return functions->FindClass(this, name); }
Following is the Error message I am getting at 'FindClass(this, name)':
Unhandled exception at 0x60edf3a0 (xxx.dll) in yyy.exe: 0xC0000005: Access violation reading location 0x00000000.
|
|
|
|
|
OK so trying to read memory address 0 indicates you have an uninitialized pointer. Check your code to see where your pointers are set up. More specifically check the code where you are calling FindClass() and ensure that your name parameter actually points to something.
It's time for a new signature.
|
|
|
|
|
Hey Richard,
Here in 'FindClass(this, name)' name parameter is pointing to some value but 'this' pointer is pointing to 0x00000000.
Plzz help........
|
|
|
|
|
ravi120486 wrote: Plzz help.
You will need to show some of your code, both Java and C for me to have any possibility of seeing how you are getting to this point.
BTW please don't rely to your own messages as I don't get a notification of the update.
It's time for a new signature.
|
|
|
|
|
I am not posting the entire code,Tell me if its sufficient
Following is my Code:
int MyAPI(Parameters* Params, int i) {
.
.
.
JNIEnv *env;
JavaVM *jvm;
JavaVMInitArgs vm_args;
char clspath[400]="-Djava.class.path=";
resCheckVM = JNI_GetCreatedJavaVMs(&jvm, bufLen, &nVMs);
if( resCheckVM < 0 || nVMs < 1 )
{
.
.
.
JNI_GetDefaultJavaVMInitArgs(&vm_args);
fflush(stdout);
res = JNI_CreateJavaVM(&jvm,(void**)&env,&vm_args);
if (res < 0)
fprintf(stderr, "Failed to Create JVM.\n");
}
else
{
fflush(stdout);
res = (jvm)->AttachCurrentThread((void**)&env, NULL);
if (res < 0)
fprintf(stderr, "Failed attaching current thread to JVM.\n");
}
cls = (env)->FindClass(Params[i].lib);
if (cls == 0)
{
fprintf(stderr, "Can't find Prog class \n",Params[i].lib);
return 1;
}
{
fprintf(stderr, "Can't find function \n");
return 1;
}
.
.
.
return 0;
}
Here I am getting this message "Failed to Create JVM."
Then a run time error at FindClass(Params[i].lib).
|
|
|
|