|
|
Did you bother to read my previous answer? No-one is going to send you anything; Google is your friend here, make use of it.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Could i get an aplication to format a drive and create partition in java please?
|
|
|
|
|
Perhaps; but you will have to use Google to find it.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
|
|
i want to learn java programme, how do i start, can anybody help me out?
|
|
|
|
|
- install Eclipse IDE. It's free and while guide you through coding.
- install JDK (you probably already have done that)
- buy a good Book. Yes, they might cost some. But a book is great, because you can check out things without knowing exact "keywords".
and take a look here: http://docs.oracle.com/javase/tutorial/[^]
I would suggest to start with Console-Programs. They might look odd and making a GUI seems to be the goal, but to concentrate on the code and how things are made you should spare that out for the first time.
|
|
|
|
|
Java is a sweet language o. You can start by getting some simple materials on the course. Just put in your mind that Java is all about Classes, Objects and Methods.
|
|
|
|
|
Hi,
I need a java code for Genetic algorithm for resource allocation problem.
Any helpful hint will be greatly appreciated. Thank you.
|
|
|
|
|
If your question begins "I need", "I want", or "How do I", then you should first try some basic research using Google.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Let me ask a well known search engine[^] that question ...
If searching for your exact question title turns up research that you should have done already, then you're going to receive a downvote for sure.
|
|
|
|
|
|
Apache Commons Math 3.0 provides a library of genetic Algortithms you can use.
|
|
|
|
|
|
Hi...
I m Haythem, sorry, but i m new here, i don't know how to ask, so i make it short, i wanna build my own firewall with java ( for windows ) fo my school project, and i don't how to start, any idea?? and thanks....
|
|
|
|
|
A firewall with Java...
Well, simple said: this is impossible.
Java programs are running in a Java Runtime Environment (JRE). That is kind of like a "container", which makes it pretty independent, but also limits it's possibilities.
A firewall needs to filter ALL sockets, all connections to the "outer world". Java would need some connection to the system resources that are capable to do so. But unfortunately is this not standard in Java and only to be reached by using some special libraries like JNI and so, which are also limited in it's possibilities.
But to give you a hook for a good project:
Take a look here: http://mindprod.com/project/projects.html[^]
and also talk to your teacher. The project should not be too big, so you can accomplish it in time.
|
|
|
|
|
Can anyone know how to import owl files on eclipse???
|
|
|
|
|
Probably help if you defined "owl" and "import".
But in terms of the java keyword 'import' it isn't used with "files". So if that is at all related then it is impossible.
|
|
|
|
|
i already import owl files in eclipse but i want to call this file in eclipse through code?? (i want to access ontology in eclipse)
|
|
|
|
|
|
Hello,
I have a java application written using the Eclipse IDE and when I run it from within the IDE all works as expected. However, if I run the same application from the command line then it fails while executing:
java.lang.OutOfMemoryError: Java heap space
at com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl.createChunk(DeferredDocumentImpl.java:1932)
at com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl.ensureCapacity(DeferredDocumentImpl.java:1825)
at com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl.createNode(DeferredDocumentImpl.java:1842)
at com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl.createDeferredAttribute(DeferredDocumentImpl.java:503)
at com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl.setDeferredAttribute(DeferredDocumentImpl.java:421)
at com.sun.org.apache.xerces.internal.parsers.AbstractDOMParser.startElement(AbstractDOMParser.java:1075)
at com.sun.org.apache.xerces.internal.parsers.AbstractDOMParser.emptyElement(AbstractDOMParser.java:1103)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1320)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2732)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:819)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:748)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288
The XML file is 14MB in size. Can you one shed some light on this?
--
Moo
|
|
|
|
|
Rather then re-type it, just read this[^].
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
Thank you for the reply but I of course should have mentioned that I have tried this. Not the VisualVM but increasing the usable memory. I can allocate a max of 320m but anything more and I get :
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
But when it does start in this case with 320m I get
#
# A fatal error has been detected by the Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 198896 bytes for Chunk::new. Out of swap space?
#
# Internal Error (allocation.cpp:272), pid=25971, tid=8792264704
# Error: Chunk::new
#
# JRE version: 7.0
# Java VM: OpenJDK 64-Bit Server VM (20.0-b03 mixed mode bsd-amd64 compressed oops)
# An error report file with more information is saved as:
So I am still a bit confused, but I downloaded the VisualVM and I'll see what it can tell me. The machine is SMP running OpenBSD v5 and has 6GB of memory and 5.9G of available.
--
Moo
|
|
|
|
|
Bill.Moo wrote: I can allocate a max of 320m but anything more and I get ...64-Bit Server VM...OpenBSD v5 and has 6GB
Not sure what the original problem is but the above suggests something is really wrong with your platform and/or however you are attempting to run that.
|
|
|
|