[freenet-support] Re: "Could not find the Main class" error

2005-09-26 Thread Bob
sweet-things at ...  writes:

> 
> 
> Hello,
>  
> Same errors ...
>  
> When Launching Freenet:
> 
>  
> The strange thing is that it is still present in the bar ...
> 
--snip--

Sorry, the freenet.jar in the snapshots dir was corrupt (see
http://article.gmane.org/gmane.network.freenet.support/6602). Toad will probably
have fixed it by the time you read this, download
http://freenetproject.org/snapshots/freenet.jar over the top of your existing
freenet.jar and try it again.

Bob





[freenet-support] Re: "Could not find the Main class" error

2005-09-26 Thread Bob
[EMAIL PROTECTED] <[EMAIL PROTECTED]> writes:

> 
> 
> Hello,
>  
> Same errors ...
>  
> When Launching Freenet:
> 
>  
> The strange thing is that it is still present in the bar ...
> 
--snip--

Sorry, the freenet.jar in the snapshots dir was corrupt (see
http://article.gmane.org/gmane.network.freenet.support/6602). Toad will probably
have fixed it by the time you read this, download
http://freenetproject.org/snapshots/freenet.jar over the top of your existing
freenet.jar and try it again.

Bob


___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


[freenet-support] Re: "Could not find the Main class" error

2005-09-25 Thread sweet-thi...@zoom.co.uk
Hello,

Same errors ...

When Launching Freenet:


The strange thing is that it is still present in the bar ...


When launching Configure from the task bar:


When typing: java -Xmx128M -cp freenet.jar freenet.node.Main
E:\Program Files\Freenet> java -Xmx128M -cp freenet.jar freenet.node.Main
Exception in thread "main" java.lang.NoClassDefFoundError: freenet/node/Main

When Launching:java -Xmx128M -cp freenet.jar;freenet-ext.jar;%CLASSPAT
H% freenet.node.Main 

E:\Program Files\Freenet> java -Xmx128M -cp 
freenet.jar;freenet-ext.jar;%CLASSPAT
H% freenet.node.Main
Exception in thread "main" java.lang.NoClassDefFoundError: freenet/node/Main


Any more ideas ?
-- next part --
An HTML attachment was scrubbed...
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: error 1.jpg
Type: image/jpeg
Size: 13041 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: bar1.jpg
Type: image/jpeg
Size: 1668 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: error 2.jpg
Type: image/jpeg
Size: 7869 bytes
Desc: not available
URL: 



[freenet-support] Re: "Could not find the Main class" error

2005-09-25 Thread [EMAIL PROTECTED]



Hello,
 
Same errors ...
 
When Launching Freenet:

 
The strange thing is that it is still present in the bar ...

 
When launching Configure from the task 
bar:

 
When typing: java -Xmx128M -cp freenet.jar freenet.node.Main
E:\Program Files\Freenet> 
java -Xmx128M -cp freenet.jar freenet.node.Main
Exception in thread "main" java.lang.NoClassDefFoundError: freenet/node/Main
 
When Launching:java -Xmx128M -cp freenet.jar;freenet-ext.jar;%CLASSPAT
H% freenet.node.Main 
 
E:\Program Files\Freenet> 
java -Xmx128M -cp freenet.jar;freenet-ext.jar;%CLASSPAT
H% freenet.node.Main
Exception in thread "main" java.lang.NoClassDefFoundError: freenet/node/Main
 
 
Any more ideas ?
 
 
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

[freenet-support] Re: "Could not find the Main class" error

2005-09-21 Thread Bob
freenetwork at ...  writes:

> 
> >6. Enter "java -Xmx128M -cp freenet.jar freenet.node.Main" without the 
> >quotes.
> 
> make that  "java -Xmx128M -cp freenet.jar;freenet-ext.jar;%CLASSPATH%
freenet.node.Main"
>

Yeah, do this instead. I wrongly thought that freenet-ext.jar got explicitly
loaded by freenet.jar if it existed.

Bob





[freenet-support] Re: "Could not find the Main class" error

2005-09-21 Thread Bob
[EMAIL PROTECTED] <[EMAIL PROTECTED]> writes:

> 
> >6. Enter "java -Xmx128M -cp freenet.jar freenet.node.Main" without the 
> >quotes.
> 
> make that  "java -Xmx128M -cp freenet.jar;freenet-ext.jar;%CLASSPATH%
freenet.node.Main"
>

Yeah, do this instead. I wrongly thought that freenet-ext.jar got explicitly
loaded by freenet.jar if it existed.

Bob


___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


[freenet-support] Re: "Could not find the Main class" error

2005-09-21 Thread freenetw...@web.de
>6. Enter "java -Xmx128M -cp freenet.jar freenet.node.Main" without the quotes.

make that  "java -Xmx128M -cp freenet.jar;freenet-ext.jar;%CLASSPATH% 
freenet.node.Main"






[freenet-support] Re: "Could not find the Main class" error

2005-09-21 Thread Bob
Jim Q.  writes:

> I have tried upgrading Java 4.2 to 5 but that did not help. Now I have 
> installed Java 4.1

Well ... the version of Java generally speaking shouldn't be a problem as long
as it's recent (1.4.1 isn't generally recommended.) There was a recent issue
with the bundled webinstaller using an old java, but many people successfully
run freenet with Java 5.0.

Also there is a file "Flaunch.ini" written by the installer on setup into the
main directory, that tells freenet where java is. If you change your version of
Java after it's installed you may need to edit this file to point at the new one
(or reinstall freenet in which case the installer should do it for you.) It
looks something like this : 

 [Freenet Launcher]
 JavaExec=C:\Program Files\Java\j2re1.5.0_04\bin\java.exe
 Javaw=C:\Program Files\Java\j2re1.5.0_04\bin\javaw.exe
 JavaMem=default
 Priority=0
 PriorityClass=64

If it's currently wrong search for "java.exe" and "javaw.exe" and update the
JavaExec / Javaw lines as appropriate.

> but same error "Could not find the Main Class" keeps 
> popping up when Freenet.exe createconfig command is executed.

Basically this error implies that Java *is working* but it can't find the class
to run in freenet.jar for some reason. So either that class isn't in the jar
(which is why I suggested a corrupt jar), or it is but it can't even find
freenet.jar .

Did you download the jars manually? If so, where - are you sure you put them in
the right place?

Some stuff you can try :

1. Open a command prompt (cmd.exe on NT/w2k/XP, command.com on 9x)
2. Type "java -version", you should get some java info. If so Java is working.
3. Search for freenet.jar and note where it is
4. Check that freenet-ext.jar is in the same directory
5. Change to the directory where freenet.jar is in the command prompt. (A quick
way to do this on NT/w2k/XP : select the whole path in explorer's address bar,
ctrl-c to copy it, type [cd "] without the brackets, right click on the command
prompt to paste it, type another " and return.)
6. Enter "java -Xmx128M -cp freenet.jar freenet.node.Main" without the quotes.
Hopefully this should start freenet after a while, although because you're not
doing it the official windows way you won't get the systray bunny etcetera. You
should be able to tell if it's working if you don't get any error messages and
your freenet.log file starts growing, and eventually by being able to open
http://127.0.0.1:8888 .

Hope that helps,
Bob

> >From: Bob 
> >Reply-To: support at ...
> >To: support at ...
> >Subject: [freenet-support] Re: "Could not find the Main class" error
> >Date: Mon, 19 Sep 2005 12:07:53 + (UTC)
> >
> >Jim Q.  ...> writes:
> >
> > > Hi,
> > > I had problem installing Freenet because it will fail to download 
> >software
> > > during installation. Matthew helped me with that so I copied some of the
> > > software it was having difficulty with in the installation directory but 
> >now
> > > at the end of the installation I get the following error: "Java Virtual
> > > Machine Launcher: Could Not Find the Main Class. Program will exit." BUt 
> >the
> > > program continues its installation and is installed but whenever I try 
> >to
> > > start the program I get the above mentioend JVM Launcher error. I 
> >upgraded
> > > my JVM to the latest thinking that it was perhaps my JVM error.
> > > Thanks,
> > > Jim
--snip--





Re: [freenet-support] Re: "Could not find the Main class" error

2005-09-21 Thread [EMAIL PROTECTED]
>6. Enter "java -Xmx128M -cp freenet.jar freenet.node.Main" without the quotes.

make that  "java -Xmx128M -cp freenet.jar;freenet-ext.jar;%CLASSPATH% 
freenet.node.Main"



___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


[freenet-support] Re: "Could not find the Main class" error

2005-09-21 Thread Bob
Jim Q. <[EMAIL PROTECTED]> writes:

> I have tried upgrading Java 4.2 to 5 but that did not help. Now I have 
> installed Java 4.1

Well ... the version of Java generally speaking shouldn't be a problem as long
as it's recent (1.4.1 isn't generally recommended.) There was a recent issue
with the bundled webinstaller using an old java, but many people successfully
run freenet with Java 5.0.

Also there is a file "Flaunch.ini" written by the installer on setup into the
main directory, that tells freenet where java is. If you change your version of
Java after it's installed you may need to edit this file to point at the new one
(or reinstall freenet in which case the installer should do it for you.) It
looks something like this : 

 [Freenet Launcher]
 JavaExec=C:\Program Files\Java\j2re1.5.0_04\bin\java.exe
 Javaw=C:\Program Files\Java\j2re1.5.0_04\bin\javaw.exe
 JavaMem=default
 Priority=0
 PriorityClass=64

If it's currently wrong search for "java.exe" and "javaw.exe" and update the
JavaExec / Javaw lines as appropriate.

> but same error "Could not find the Main Class" keeps 
> popping up when Freenet.exe createconfig command is executed.

Basically this error implies that Java *is working* but it can't find the class
to run in freenet.jar for some reason. So either that class isn't in the jar
(which is why I suggested a corrupt jar), or it is but it can't even find
freenet.jar .

Did you download the jars manually? If so, where - are you sure you put them in
the right place?

Some stuff you can try :

1. Open a command prompt (cmd.exe on NT/w2k/XP, command.com on 9x)
2. Type "java -version", you should get some java info. If so Java is working.
3. Search for freenet.jar and note where it is
4. Check that freenet-ext.jar is in the same directory
5. Change to the directory where freenet.jar is in the command prompt. (A quick
way to do this on NT/w2k/XP : select the whole path in explorer's address bar,
ctrl-c to copy it, type [cd "] without the brackets, right click on the command
prompt to paste it, type another " and return.)
6. Enter "java -Xmx128M -cp freenet.jar freenet.node.Main" without the quotes.
Hopefully this should start freenet after a while, although because you're not
doing it the official windows way you won't get the systray bunny etcetera. You
should be able to tell if it's working if you don't get any error messages and
your freenet.log file starts growing, and eventually by being able to open
http://127.0.0.1:8888 .

Hope that helps,
Bob

> >From: Bob <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: [freenet-support] Re: "Could not find the Main class" error
> >Date: Mon, 19 Sep 2005 12:07:53 + (UTC)
> >
> >Jim Q.  ...> writes:
> >
> > > Hi,
> > > I had problem installing Freenet because it will fail to download 
> >software
> > > during installation. Matthew helped me with that so I copied some of the
> > > software it was having difficulty with in the installation directory but 
> >now
> > > at the end of the installation I get the following error: "Java Virtual
> > > Machine Launcher: Could Not Find the Main Class. Program will exit." BUt 
> >the
> > > program continues its installation and is installed but whenever I try 
> >to
> > > start the program I get the above mentioend JVM Launcher error. I 
> >upgraded
> > > my JVM to the latest thinking that it was perhaps my JVM error.
> > > Thanks,
> > > Jim
--snip--


___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


[freenet-support] Re: "Could not find the Main class" error

2005-09-20 Thread Jim Q.

I have tried upgrading Java 4.2 to 5 but that did not help. Now I have 
installed Java 4.1 but same error "Could not find the Main Class" keeps 
popping up when Freenet.exe createconfig command is executed.

>From: Bob 
>Reply-To: support at freenetproject.org
>To: support at freenetproject.org
>Subject: [freenet-support] Re: "Could not find the Main class" error
>Date: Mon, 19 Sep 2005 12:07:53 + (UTC)
>
>Jim Q.  writes:
>
> > Hi,
> > I had problem installing Freenet because it will fail to download 
>software
> > during installation. Matthew helped me with that so I copied some of the
> > software it was having difficulty with in the installation directory but 
>now
> > at the end of the installation I get the following error: "Java Virtual
> > Machine Launcher: Could Not Find the Main Class. Program will exit." BUt 
>the
> > program continues its installation and is installed but whenever I try 
>to
> > start the program I get the above mentioend JVM Launcher error. I 
>upgraded
> > my JVM to the latest thinking that it was perhaps my JVM error.
> > Thanks,
> > Jim
>
>Hmm, odd. The most likely cause is a corrupt freenet.jar, try comparing the
>sizes / re-downloading it. Or you are trying to use 0.7's alpha jar which 
>IIRC
>has a different main class, but this would be hard to do by accident since 
>they
>aren't even hosted on freenetproject.org :)
>
>Failing that, what does the end of freenet.log say when this happens?
>
>Bob
>
>
>___
>Support mailing list
>Support at freenetproject.org
>http://news.gmane.org/gmane.network.freenet.support
>Unsubscribe at 
>http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
>Or mailto:support-request at freenetproject.org?subject=unsubscribe





[freenet-support] Re: "Could not find the Main class" error

2005-09-20 Thread Jim Q.
Bob,
Thanks for gettiing back to me. I have re-downloaded all .jar files but it 
fails after it downloads freenet.exe. Once it executes freenet.exe to create 
default.ini, it fails at mergeconfig command. THat is where I get the "Could 
not find the main class" error.
Thanks
Regards,
Jim


>From: Bob 
>Reply-To: support at freenetproject.org
>To: support at freenetproject.org
>Subject: [freenet-support] Re: "Could not find the Main class" error
>Date: Mon, 19 Sep 2005 12:07:53 + (UTC)
>
>Jim Q.  writes:
>
> > Hi,
> > I had problem installing Freenet because it will fail to download 
>software
> > during installation. Matthew helped me with that so I copied some of the
> > software it was having difficulty with in the installation directory but 
>now
> > at the end of the installation I get the following error: "Java Virtual
> > Machine Launcher: Could Not Find the Main Class. Program will exit." BUt 
>the
> > program continues its installation and is installed but whenever I try 
>to
> > start the program I get the above mentioend JVM Launcher error. I 
>upgraded
> > my JVM to the latest thinking that it was perhaps my JVM error.
> > Thanks,
> > Jim
>
>Hmm, odd. The most likely cause is a corrupt freenet.jar, try comparing the
>sizes / re-downloading it. Or you are trying to use 0.7's alpha jar which 
>IIRC
>has a different main class, but this would be hard to do by accident since 
>they
>aren't even hosted on freenetproject.org :)
>
>Failing that, what does the end of freenet.log say when this happens?
>
>Bob
>
>
>___
>Support mailing list
>Support at freenetproject.org
>http://news.gmane.org/gmane.network.freenet.support
>Unsubscribe at 
>http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
>Or mailto:support-request at freenetproject.org?subject=unsubscribe





RE: [freenet-support] Re: "Could not find the Main class" error

2005-09-20 Thread Jim Q.


I have tried upgrading Java 4.2 to 5 but that did not help. Now I have 
installed Java 4.1 but same error "Could not find the Main Class" keeps 
popping up when Freenet.exe createconfig command is executed.



From: Bob <[EMAIL PROTECTED]>
Reply-To: support@freenetproject.org
To: support@freenetproject.org
Subject: [freenet-support] Re: "Could not find the Main class" error
Date: Mon, 19 Sep 2005 12:07:53 + (UTC)

Jim Q. <[EMAIL PROTECTED]> writes:

> Hi,
> I had problem installing Freenet because it will fail to download 
software

> during installation. Matthew helped me with that so I copied some of the
> software it was having difficulty with in the installation directory but 
now

> at the end of the installation I get the following error: "Java Virtual
> Machine Launcher: Could Not Find the Main Class. Program will exit." BUt 
the
> program continues its installation and is installed but whenever I try 
to
> start the program I get the above mentioend JVM Launcher error. I 
upgraded

> my JVM to the latest thinking that it was perhaps my JVM error.
> Thanks,
> Jim

Hmm, odd. The most likely cause is a corrupt freenet.jar, try comparing the
sizes / re-downloading it. Or you are trying to use 0.7's alpha jar which 
IIRC
has a different main class, but this would be hard to do by accident since 
they

aren't even hosted on freenetproject.org :)

Failing that, what does the end of freenet.log say when this happens?

Bob


___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at 
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support

Or mailto:[EMAIL PROTECTED]



___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


RE: [freenet-support] Re: "Could not find the Main class" error

2005-09-20 Thread Jim Q.

Bob,
Thanks for gettiing back to me. I have re-downloaded all .jar files but it 
fails after it downloads freenet.exe. Once it executes freenet.exe to create 
default.ini, it fails at mergeconfig command. THat is where I get the "Could 
not find the main class" error.

Thanks
Regards,
Jim



From: Bob <[EMAIL PROTECTED]>
Reply-To: support@freenetproject.org
To: support@freenetproject.org
Subject: [freenet-support] Re: "Could not find the Main class" error
Date: Mon, 19 Sep 2005 12:07:53 + (UTC)

Jim Q. <[EMAIL PROTECTED]> writes:

> Hi,
> I had problem installing Freenet because it will fail to download 
software

> during installation. Matthew helped me with that so I copied some of the
> software it was having difficulty with in the installation directory but 
now

> at the end of the installation I get the following error: "Java Virtual
> Machine Launcher: Could Not Find the Main Class. Program will exit." BUt 
the
> program continues its installation and is installed but whenever I try 
to
> start the program I get the above mentioend JVM Launcher error. I 
upgraded

> my JVM to the latest thinking that it was perhaps my JVM error.
> Thanks,
> Jim

Hmm, odd. The most likely cause is a corrupt freenet.jar, try comparing the
sizes / re-downloading it. Or you are trying to use 0.7's alpha jar which 
IIRC
has a different main class, but this would be hard to do by accident since 
they

aren't even hosted on freenetproject.org :)

Failing that, what does the end of freenet.log say when this happens?

Bob


___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at 
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support

Or mailto:[EMAIL PROTECTED]



___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]


[freenet-support] Re: "Could not find the Main class" error

2005-09-19 Thread Bob
Jim Q.  writes:

> Hi,
> I had problem installing Freenet because it will fail to download software 
> during installation. Matthew helped me with that so I copied some of the 
> software it was having difficulty with in the installation directory but now 
> at the end of the installation I get the following error: "Java Virtual 
> Machine Launcher: Could Not Find the Main Class. Program will exit." BUt the 
> program continues its installation and is installed but whenever I try to 
> start the program I get the above mentioend JVM Launcher error. I upgraded 
> my JVM to the latest thinking that it was perhaps my JVM error.
> Thanks,
> Jim

Hmm, odd. The most likely cause is a corrupt freenet.jar, try comparing the
sizes / re-downloading it. Or you are trying to use 0.7's alpha jar which IIRC
has a different main class, but this would be hard to do by accident since they
aren't even hosted on freenetproject.org :)

Failing that, what does the end of freenet.log say when this happens?

Bob





[freenet-support] Re: "Could not find the Main class" error

2005-09-19 Thread Bob
Jim Q. <[EMAIL PROTECTED]> writes:

> Hi,
> I had problem installing Freenet because it will fail to download software 
> during installation. Matthew helped me with that so I copied some of the 
> software it was having difficulty with in the installation directory but now 
> at the end of the installation I get the following error: "Java Virtual 
> Machine Launcher: Could Not Find the Main Class. Program will exit." BUt the 
> program continues its installation and is installed but whenever I try to 
> start the program I get the above mentioend JVM Launcher error. I upgraded 
> my JVM to the latest thinking that it was perhaps my JVM error.
> Thanks,
> Jim

Hmm, odd. The most likely cause is a corrupt freenet.jar, try comparing the
sizes / re-downloading it. Or you are trying to use 0.7's alpha jar which IIRC
has a different main class, but this would be hard to do by accident since they
aren't even hosted on freenetproject.org :)

Failing that, what does the end of freenet.log say when this happens?

Bob


___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]