I am trying to establish a chatting application between a server and a client, but the application could not run because of this line of code : message = (String) input.readObject();
because at first, inputStream is null ! any one can help please ?
I'm working on designing a group of Java programs that I hope to turn into a Java-based OS someday. Until I get a kernel working, I want to just run them on top of Ubuntu.
I have installed ServiceMix on my machine, and am trying to start it. The startup script is called start.sh. When I did ./start.sh, it gave me a Permission Denied message. So I used sudo ./start.sh, which starts the server fine.
However, it seems to be using Java 7, when I would like to use Java 6 (for various reasons).
After installing tomcat6 on CentOS 6.3, I am unable to start tomcat6 server.
root@host [/var/log/tomcat6]# service tomcat6 start
Starting tomcat6: [ OK ]
Although it says OK, I cant access http://mydomain.com:8080.
catalina.out
Exception in thread "main" java.lang.NullPointerException
at java.lang.VMClassLoader.defineClass(libgcj.so.10)
at java
I'm working on designing a group of Java programs that I hope to turn into a Java-based OS someday. Until I get a kernel working, I want to just run them on top of a Linux system (I'm using Ubuntu, if that matters).
I am developing android application for video streaming using existing source of SPYDROID application.Link
This application have its own http server.What i need to authenticate user before accessing url of server.
The server code is :-
package net.majorkernelpanic.http;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileN
Hi guys, i am coding new game in Java w/ LWJGL and everything is fine, but when a exit application, Java (OpenJDK and Oracle, i tried both of them) crash in this:
Code:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f76d4814c58, pid=5950, tid=140148374587136
#
# JRE version: 7.0_07-b10
# Java VM: Java HotSpot(TM) 64-Bit Server VM (2
I'm setting up Android Development Environment on my Macbook Air running OS X 10.8 Mountain Lion.
I have installed JDK for mac by downloading from oracle website.
Then I run java -version which shows java version "1.7.0_13"
Then I downloaded ADT bundle for MAC from http://developer.android.com/sdk/index.html
Then I ran eclipse and it shows a install dialog to install java.
I was tring to install eclipse on ubuntu. What I did: I unzipped the tar archive of eclipse. I tried to start eclipse from the command line - like this - ./eclipse. It works. But then I tried to create a desktop icon with: gnome-desktop-item-edit ~/Desktop --create-new. In a new icon I showed the path to the eclipse executable which I could launch from the command line.