• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Maven Plugin for Eclipse Helios

 
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,

Does any one configured maven in eclipse helios successfully.

I tried many different url for downloading plugins, it always fails.

If, you have done it successfully, can you please help me.

Thanks,
Bennet Xavier.
 
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I downloaded the apache-maven-3.0.3.zip and extracted it (Ex. C:\).

Right click My Computer --> Properties --> Advanced --> Environment Variables

Click on New under the System variables

Double click the Path system variable and click on Edit

Variable name: Path and Variable value: <existing value>; C:\apache-maven-3.0.3\bin

Press OK --> OK to exit
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Natalie,

Thanks for your reply.

This will setup only maven in my system.

I wanted to enable maven plugin in eclipse, so that i can create maven project in eclipse easily.

I tried downloading plugins from different paths. But, no use.

Thanks In Advance,
Bennet Xavier.
 
Natalie Kopple
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you try:

Eclipse --> Help --> Eclipse Marketplace ... --> look for the Maven Integration for Eclipse --> press the Install button
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Natalie,

I was trying with helio 3.6.2

I just started using 3.6.1, it works fine.

In 3.6.2, i am not able to see marketplace itself.

Thank you very much for your time.
Bennet Xavier.
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

But eclipse 3.6.1 for 64 bit in 64 bit OS, its not working.
eclipse 3.6.1 for 32 bit in 32 bit OS, its working.

Any idea about this.

Thanks In Advance,
Bennet.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I running 64 bit Eclipse (both 3.6 and 3.7) on 64-bit Windows, and the m2e plugin (which provides Maven support) installed and works just fine. I installed m2e from the Eclipse marketplace. The plugin itself does not have any non-Java components so it should just work with both 32-bit and 64-bit versions of Eclipse.

Exactly what is not working? It would help if you detailed exactly what you are doing and what problems you are seeing.

Also, how did you go from 3.6.1 to 3.6.2? By doing an upgrade within Eclipse? I have found that upgrades tend to fail on me way too often so I avoid them. Instead, I grab the new version and install it in a new location.
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Mine is 64 bit OS and in my office its 32 bit.

64 bit eclipse in my system, cant download anything, not only this, even gwt also.

when i tried 32 bit eclipse in my system, it works fine.

System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 23 Stepping 10 GenuineIntel ~2200 Mhz
BIOS Version: American Megatrends Inc. R4060Y0, 24-08-2009

I dont know, 64 bit fails.

Thanks In Advance,
Bennet.
 
Bartender
Posts: 1051
5
Hibernate Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


I dont know, 64 bit fails.


This is not a very helpful description. What exactly fails? And what (if any) error messages do you get?
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Go back and reread my post!

The problem is that I cannot come to you and watch over your shoulder as you do things. If I could do that, I could help you. But since I cannot do that, you have to describe in detail what it is you are doing and what you are seeing. If you cannot do that, then I cannot help you.
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Peter and James,

Thanks for your time,

Let me explain clearly, I downloaded eclipse 3.6.1 (64 bit) for 64 bit OS (My Machine) and tried Help -> Install New Software and pasted the http://m2eclipse.sonatype.org/sites/m2e/

It was showing error, Permission Denied in a pop window.

I tried the same URL with eclipse 3.6.1 (32 bit) in 64 bit OS (My Machine), it was working properly, i got all the things properly downloaded and working fine.

I really, don't know why the 64 bit version if eclipse fails in My Machine, which has 64 bit windows 7.

"I don't know, 64 bit fails." (I meant the 64 bit eclipse fails in my machine).

I am in office now, I will paste the screen shot (with error pop up window) once i reach my room.

Thanks In Advance,
Bennet.
 
James Boswell
Bartender
Posts: 1051
5
Hibernate Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bennet

Just to be clear - you have tried both 32 and 64 bit versions of eclipse on the same 64 bit machine.
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Yes, you are right.

I tried all this in 64 bit machine.

Thanks,
Bennet
 
James Boswell
Bartender
Posts: 1051
5
Hibernate Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bennet

Instead of using the update site, have you tried downloading the m2e plugin using the eclipse Marketplace tool?
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi James,

I tried that also, when i paste the link, it pops up with the error permission denied.

To check whether the eclipse works fine or not, i tried the GWT link for configuring, it was giving same message "permission denied"...

I tried, copying all the plugins and features, which are downloaded in 32 bit eclipse(which is working in my machine). then eclipse stopped opening.

Thanks,
James.

 
James Boswell
Bartender
Posts: 1051
5
Hibernate Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bennet

What OS are you using? And under which directory is eclipse installed?
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi James,

I am using Windows 7 Home premium, C:\home\bennet\tech\IDE\eclipse-jee-helios-SR1-win32-x86_64\eclipse i have installed eclipse 3.6.1 (64 bit).

Please find the attached file with errors for maven and GWT.

Thanks,
Bennet.



Error.jpg
[Thumbnail for Error.jpg]
Eclipse Error
Eclipse_GWT_Error.jpg
[Thumbnail for Eclipse_GWT_Error.jpg]
Error While Configuring GWT.
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When you originally wrote about permission errors, I imagined file permission errors. But these are web site permission errors. To prevent such misunderstandings in the future, always post the exact text of the error message(s).

For some reason, you are being blocked from accessing the web sites for the plugins. Here are some things to look into:

a) Can you access the URLs given in the error messages using a browser?

b) Is there are firewall blocking your access? This can happen in a corporate environment.

c) Are you using a proxy server to access the internet?
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

If that is the reason, then eclipse 3.6.1 (32 bit) shouldn't work properly.

But, it downloads all the plugins and features without any problem.

I can see all the links in browser.
No fire wall.
No proxy server.

Thanks,
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Then there is an issue with the 64-bit JVM that you are using to run Eclipse. Either that, or there is an issue with the 64-bit Windows winsock DLL (which the JVM uses to perform internet access). You could try running the 64-bit version of IE and see if that will let you access the URLs. If you can, that eliminates the winsock DLL as the issue.

Please post the results of "java -version" for both your 32-bit and 64-bit JVMs.

You should also run Process Explorer from sysinternals and check which DLLs are being loaded for each JVM. Perhaps something there will tell us what the issue is. If you are not sure, you could post the DLL list and I could compare with mine.
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Peter,

I don't have 32 bit java, I use only 64 bit java in my machine.

I am able to access the url from borwser (IE8)
Please find the details attached.




Thank You Very Much...
Bennet.

JVM_Version.jpg
[Thumbnail for JVM_Version.jpg]
JVM_VERSION
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I don't have 32 bit java, I use only 64 bit java in my machine.


Then how could this work when you use a 32-bit Eclipse??? 32-bit Eclipse will not work with a 64-bit JVM!

Your list of DLLs looks fairly similar to mine, and I don't see any that cause me alarm. But here are some that might of interest:

c:\Program Files\WIDCOMM\Bluetooth Software\btmmhook.dll - I don't have this one

C:\Windows\system32\mswsock.dll - mine is larger:
0x00000000fd2b0000 0x55000 6.1.7601.17514 C:\Windows\system32\mswsock.dll

You don't have this winsock DLL:
0x00000000fb1d0000 0x9000 6.1.7600.16385 C:\Windows\system32\WSOCK32.dll

I don't have TortoiseSVN installed, thus I don't have the TortoiseSVN DLLs. I have no idea if that makes a difference or not.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic