aspose file tools*
The moose likes JBoss/WildFly and the fly likes JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss" Watch "JBoss" New topic
Author

JBoss

Mahi Ranga
Ranch Hand

Joined: Jan 27, 2011
Posts: 35
Hi,

When I execute the run.bat - I get this error:
******************

ERROR:-
---------
Could not locate C:\j2sdk1.4.2_12\bin\lib\tools.jar. Unexpected results may occur.
Make sure that JAVA_HOME points to a JDK and not a JRE.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10210
    
166

Mahi,

Welcome to JavaRanch

Please use a meaningful subject while creating a topic.

ERROR:-
---------
Could not locate C:\j2sdk1.4.2_12\bin\lib\tools.jar. Unexpected results may occur.
Make sure that JAVA_HOME points to a JDK and not a JRE.


What is the output of:



It should point to C:/j2sdk1.4.2_12 assuming that's where your JDK is installed.

[My Blog] [JavaRanch Journal]
Mahi Ranga
Ranch Hand

Joined: Jan 27, 2011
Posts: 35
my %JAVA_HOME% is :C:\j2sdk1.4.2_12,
but i am using windows 7 ,when i installed java by default it's taken program files(xsm) folder.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

So you need to change your JAVA_HOME variable.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Mahi Ranga
Ranch Hand

Joined: Jan 27, 2011
Posts: 35
if you don't mine can you please tell me JAVA_HOME configuration.
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Mahi Ranga wrote:if you don't mine can you please tell me JAVA_HOME configuration.


http://www.coderanch.com/how-to/java/how-to-create-java-program#SettingJavahomeAndPath


Regards, Rene Larsen
Dropbox Invite
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss