Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

eclipse invalid name on this platform

Tags:

java

windows

I am not able to create a class with name 'Aux' getting error message invalid name on this platform.

OS: windows 8
Eclispe : Version: Juno Service Release 2 Build id: 20130225-0426

why is this restriction. Is Aux a system folder ?

like image 953
upog Avatar asked Nov 02 '13 16:11

upog


1 Answers

Some of the names like:

CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9

are reserved name in Windows and cannot be used. So that's why you are getting that error. You need to change the name.

Refer this MSDN Library for more information. Refer "Naming Conventions" section specifically to know the valid/invaild names of Windows platform.

like image 61
Pradeep Simha Avatar answered Oct 15 '22 11:10

Pradeep Simha